Fixed bug #1218.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15553 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
141c1f6639
commit
b072d687cb
|
@ -352,6 +352,11 @@ void mac_lld_start(MACDriver *macp) {
|
|||
ETH->MACCR = ETH_MACCR_RE | ETH_MACCR_TE;
|
||||
#endif
|
||||
|
||||
/* MMC configuration:
|
||||
Disable all MMC interrupts.*/
|
||||
ETH->MMCRIMR = ETH_MMCRIMR_RFCEM | ETH_MMCRIMR_RFAEM | ETH_MMCRIMR_RGUFM;
|
||||
ETH->MMCTIMR = ETH_MMCTIMR_TGFSCM | ETH_MMCTIMR_TGFMSCM | ETH_MMCTIMR_TGFM;
|
||||
|
||||
/* DMA configuration:
|
||||
Descriptor chains pointers.*/
|
||||
ETH->DMARDLAR = (uint32_t)__eth_rd;
|
||||
|
|
|
@ -411,6 +411,11 @@ void mac_lld_start(MACDriver *macp) {
|
|||
ETH->MACCR |= ETH_MACCR_RE | ETH_MACCR_TE;
|
||||
#endif
|
||||
|
||||
/* MMC configuration:
|
||||
Disable all interrupts.*/
|
||||
ETH->MMCTIMR = (1<<27) | (1<<26) | (1<<21) | (1<<15) | (1<<14);
|
||||
ETH->MMCRIMR = (1<<27) | (1<<26) | (1<<17) | (1<<6) | (1<<5);
|
||||
|
||||
/* DMA general settings.*/
|
||||
ETH->DMASBMR = ETH_DMASBMR_AAL;
|
||||
ETH->DMACCR = ETH_DMACCR_DSL_0BIT;
|
||||
|
|
|
@ -151,6 +151,8 @@
|
|||
(backported to 20.3.5)(backported to 21.11.2).
|
||||
- FIX: Fixed wrong condition in STM32 sio_lld_read() function (bug #1219)
|
||||
(backported to 20.3.5)(backported to 21.11.2).
|
||||
- FIX: Fixed STM32 Ethernet driver causes system hang after 2^31 packets
|
||||
sent/received (bug #1218)(backported to 20.3.5)(backported to 21.11.2).
|
||||
- FIX: Fixed clock re-initialization problem in STM32 USARTv2 and USARTv3
|
||||
drivers (bug #1217)(backported to 21.11.2).
|
||||
- FIX: Fixed assertion on initialization of STM32H7xx (bug #1216)
|
||||
|
|
Loading…
Reference in New Issue