2019-07-05 02:55 AM
Hello!
I am trying to run an Ethernet on STM32F4DISCOVERY board (with 407VG MCU) using a ETH BOARD module from Waveshare.
In the CubeMX, I added ETH with RMII, in the settings I entered the MAC and set the PHY Address to 1 (found in the datasheet for this module).
After that I adeed LWIP, turned off DHCP and set the mask and gateway of the router and entered a free IP, turned on UDP.
Next I generated a code for SystemWorkbench, added a gnetif structure to variables, and put functions (ethernetif_input and sys_check_timeouts) in a while(1).
Then I tried ping a board, but it doesn't work. Also in router settings I can't find any new device with specified MAC.
Already desperate, I still can not understand what the problem is ...
There are screenshots with my settings.