LwIP not completing the DORA-DHCP schedule
Added "DHCP" in the title to give the context.
Using an STM32H7S78-DK I try to set up the network to join an IPv4 network through DHCP.
I did set up the board using CubeMX, standard configuration, MPU activated.
FreeRTOS + LwIP
Removed all other interfaces I don't need.
Made sure the Ethernet clock shows 50MHz
The LED's on the RJ45 start to blink (Orange LED blinks with packets exchanged)
but I get no IP address.
digging in the possibilities I added a simple routine to monitor the DHCP advancements.
struct dhcp *dhcp_data = netif_dhcp_data(&gnetif);
if (dhcp_data != NULL) {
printf("[DHCP] State: %d, Retries: %d\r\n", dhcp_data->state, dhcp_data->tries);
}
this shows I get stuck in state 6: waiting for an ACK
-> what could be behind this?
can someone share an .ioc file that sets everything correctly in MX?
