I’m doing a project on STM32F429ii and LAN8720( http://ww1.microchip.com/downloads/en/DeviceDoc/00002165B.pdf ) PHY with FreeRTOS. It’ll serve a Webserver with continuous data fetch over AJAX and Modbus TCP.
I have a working version based on LwIP and Demo from ST but there are problems with long working continuous data fetch propably because of LwIP or ST’s ETH driver.
I’m now trying to set up the FreeRTOS+TCP stack instead of LwIP. I used this demo http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/TCP-IP_FAT_Examples_ST_STM32F407.html as a starting point but I have problems with make the TCP stack working with my hardware.
And here is the question: what should I change in NetworkInterface.c and HAL driver in this demo to make it working with my PHY? Unfortunately changing the defines (like PHY_BCR etc.) and GPIOs HAL_ETH_MspInit is not enough and it’s still not responding for pings.
Thanks for help,