STM32F7 Ethernet on bare metal without Cubemx
Hi Team,
I am Using STM32F7 nucleo board, I created project using ST CUBEIDE version 1.16.0.
Note: NOT USING CUBEMX and RTOS
I have taken a ref code for low level eth functions ethernetif.c and lwip.c.
I Enabled Enable DHCP, Http and SSI it is working fine I am able to interact my webpage.
Now I want to work on TCP and ping, I enabled LWIP_ICMP and LWIP_TCP, Disabled DHCP.
But Ping NOT working (timeout err ).
I have taken care of
1.Proper pin assignment.
2.Configuring PHY properly. (as I m able to get Eth cable linkup/down notify).
3.Disable DHCP and activate ICMP.
I have gone thr icmp.c the code flow whenever i ping
-> ethernetif_input-> ethernet_input->icmp_input -- checks type and switch to ICMP_ECHO--> Ip4_outputif()-->ip4_outputif_src-->netif_output-->low_level_output--> HAL_ETH_Transmit
i debuged icmp.c it was not going to 1.icmp_dest_unreach 2.icmp_time_exceeded
I have attached my files,
Please correct me where it goes wrong and reason behinds.
Thank you
