Question
ethernet cannot ping but dhcp assigned an address
- December 20, 2023
- 4 replies
- 2120 views
I have a custom board that used to work with an older version of CubeMx-generated code, but with recent changes, my board no longer works.
I made modifications in ethernetif.c to accommodate the known bug. but the board no longer responds to ping from a workstation.
In my ethernetif.c files I am hitting breakpoints in HAL_ETH_RxCpltCallback when trying to ping and I am hitting breakpoints in HAL_ETH_TxCpltCallback when trying to send data with HAL_ETH_Transmit_IT(&heth, &TxConfig). I think this may not be an actual code issue, but a configuration one.
Has anyone had a similar issue where you get assigned an IP address (DHCP) but cannot ping it?
