2022-10-25 07:16 AM
Hello,
I had a lot of troubles with Ethernet connection on this STM32F746ZG Nucleo-board.
So I decided to make it as simple as possible to make it working.
First step was to ping my board.
At this step, I discovered after too much time that we cannot ping the board when it's in debug mode.
But it works really well when it's in run mode.
My code is really simple, only added LWIP (with static IP and 10kB of mem) and ETH (on LAN78...)
And this in the main :
/* Read a received packet from the Ethernet buffers and send it
* to the lwIP for handling */
ethernetif_input(&gnetif);
/* Handle LwIP timeouts */
sys_check_timeouts();
Do you have any idea why ?
Cause I need to be in debug mode to troubleshoot further issue.
Thanks for your answer