STM32F407VE + LAN8720AI HTTPD hangs
Hello,
I am trying to make the HTTPD webserver working in a custom board using STM32F407VET6 and LAN8720AI.
I made some progress (see previous post). The state of the art is the following.
- ping works;
- TCP echo server works;
- HTTP ST example page works when pages are managed as in the "LwIP_HTTP_Server_Netconn_RTOS" example.
This example does not use the full LwIP code but pages are managed via a custom function.
When I try to use the LwIP code which is based on the following calls
MX_LWIP_Init();
httpd_init();
the interface goes up, ping works but as soon as I open the http page the network rx/tx system geos down.
The problem is that
netconn_write_partly();
never returns. I made a project using the NUCLEO-F439ZI board using CubeMX and everything works as expected.
When I generate the same code for my board (same clocks, same memory configuration, it changes the MCU and the LAN8720 driver), httpd does not work.
Microchip says that if the link is up and ping/socket works it is a firmware issue. On the other hands I don't know what else I could check.
Every idea will be highlty appreciated.
Attached the project. Thank you.
