cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet receive failed

thierry2399
Associate II
Posted on August 17, 2016 at 12:22

Hi,

I'm working on nucleo-f767zi with ethernet communication (LwIP stack).

At startup (power-up or reset), randomly, the Ethernet module does not receive any frame.

In other startup, it works fine.

When it doesn't work, the register MMCRFCECR increases (received frames with CRC error counter).

Do you have any idea what could cause this issue?
7 REPLIES 7
arainho
Associate II
Posted on September 18, 2016 at 04:03

Hi, I am having the same problem. Did you find a solution?

Uwe Bonnes
Principal II
Posted on September 18, 2016 at 12:30

I have the same problem. The NutOS http example (trunk from https://sourceforge.net/p/ethernut/code/HEAD/tree/) works for F2/F4/F74 but only random on F76. An example compiled for the F74 Nucleo, not depending on Flash or RAM size, shows the same random behaviour when flashed to and run on F76 Nucleo.

I have not yet looked at the MMCRFCECR register value.

thierry2399
Associate II
Posted on September 19, 2016 at 12:08

Hi,

No, I don't have found solution.

For now, I have bypassed by resetting automatically if there are problem.

Like this :

if(gnetif.dhcp->autoip_coop_state && (heth.Instance->MMCRFCECR >= gnetif.dhcp->tries))

 HAL_NVIC_SystemReset();

For me, this is not a possible final solution.

Uwe Bonnes
Principal II
Posted on September 19, 2016 at 13:34

Different people with different boards and different firmware noticed problems with ethernet and the F767.

Maybe some hardware bug is involved. Please also report in

https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex%5fmx%5fstm32%2fStm32F767%20Nucleo%20Ethernet%20does%20not%20always%20start&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506...

so that maybe some ST Representative notices and comments,

Thanks

Uwe Bonnes
Principal II
Posted on September 19, 2016 at 13:35

The thread I mean is in the STM32 Forum:

  • Stm32F767 Nucleo Ethernet does not always start

Amel NASRI
ST Employee
Posted on September 23, 2016 at 17:55

Hi, 

We acknowledge the Ethernet issue faced on STM32F767 devices.

This limitation is under investigation. We will keep you informed as soon as we have more details on this regard.

Sorry for any inconvenience this may create for you.

-STM32 Forums Moderator

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Amel NASRI
ST Employee
Posted on October 20, 2016 at 12:57

Hi,

The Ethernet limitations are described in

http://www.st.com/content/ccc/resource/technical/document/errata_sheet/group0/23/a6/11/0b/30/24/46/a5/DM00257543/files/DM00257543.pdf/jcr:content/translations/en.DM00257543.pdf

.

Please note that a new device revision will be available to fix these limitations.

For more details, please contact your FAE or distributor.

-STM32 Forums Moderator

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.