cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32F767 Nucleo Ethernet does not always start

arainho
Associate II
Posted on September 18, 2016 at 03:00

Hi All,

I have noticed that the Stm32F767 Nucleo does not always start Ethernet reliably. For testing I used one of the example on the STM32Cube_FW_F7_V1.4.0 for the STM32F746ZG-Nucleo base of LWIP. 

I set up a DOS windows to ping the board, and from every 10 resets or power ups of the board, about half of them fail to respond to the pings.

I am evaluating the Stm32F767 and Lan8720A and I am a bit disappointed at this reliability issue.

I also wrote a small program using Keil Rtos and also have the same problem. 

The link leds are both on and the activity led blinks but no ping response.

 Looking at the Ethernet MMC register just the receive crc error register increments.

Any ideas on how to debug this?

#ethernet
20 REPLIES 20
Christopher Pappas
Senior II
Posted on September 18, 2016 at 03:29

If you are not using a DHCP server, you might need to set the ''USE DHCP'' define (in main.h) to false. Otherwise, the app will try waiting for a DHPC lease for about 45 second before it gives up and uses the static address defined in main.h.

arainho
Associate II
Posted on September 18, 2016 at 04:17

I have DHCP disabled. The proplem is that the start up is unreliable. If I power the board up 10 times, I will get about a third of the time no ping back, the other 3/4 times I do get a ping back as expected.

I see another fellow has the same problem, see link below:

https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Ethernet%20receive%20failed&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&currentviews=27

Christopher Pappas
Senior II
Posted on September 18, 2016 at 05:52

I ran the LWIP application on my Nucleo-F767ZI and I experienced the same issue as you did. I'm gettingrandom ethernet failuresevery time I press the resetbutton.

Then I ran the same application on my Nucleo-F746ZG and there was no failure at all.

From: neves.alfredo

Posted: Sunday, September 18, 2016 4:17 AM

Subject: Stm32F767 Nucleo Ethernet does not always start

I have DHCP disabled. The proplem is that the start up is unreliable. If I power the board up 10 times, I will get about a third of the time no ping back, the other 3/4 times I do get a ping back as expected.

I see another fellow has the same problem, see link below:

https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=https%3a//my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Ethernet%20receive%20failed&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&currentviews=27

Uwe Bonnes
Principal III
Posted on September 18, 2016 at 12:54

I have the same behaviour. Ethernet starts reliable on Nucleo-F746 and only random on Nucleo-F767.

thierry2399
Associate II
Posted on September 19, 2016 at 13:44

Hi,

 

 I would like to share the below post/discussion with you : 

 Forum Name : Microcontrollers

 

 URL : 

/4e4d657

Uwe Bonnes
Principal III
Posted on September 20, 2016 at 11:58

Thanks!

Please provide update on that issue, when there are any findings...

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

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.

vaidasmikalajunas
Associate II
Posted on September 24, 2016 at 17:02

We already made 2 different PCB designs with STM32F767 and all processors acts the same with ethernet LWIP stack - it works with debugger (100/100 times) and does not work at all without debugger - when we power up board, ethernet does not work. After pulling reset pin down it starts working - it looks like BOD (or power on reset) does not work at all, but we have changed to different BOD levels with no luck... also tried bigger capacitors on reset pin (to increase RC constant - holding for a big longer in reset while voltage on Vdd is rising) - the same situation...

vaidasmikalajunas
Associate II
Posted on September 26, 2016 at 20:08

Any news ?