cancel
Showing results for 
Search instead for 
Did you mean: 

nucleo-f746ZG LWIP init Error - dont working PING

fatihelbl
Visitor

Hello,

I am experiencing an issue with LwIP on the NUCLEO-F746ZH board. I am using STM32CubeIDE 1.14.0 with the STM32F7 firmware package v1.17.3 (I also tried v1.17.0 and the latest CubeIDE version, but the errors still persist).

In the screenshots I shared, you can see my LWIP, ETH, FreeRTOS, and Cortex MPU settings. With these settings, I expect to be able to ping without adding any extra code, but unfortunately I encounter problems in the lwip_init function.

This issue has been mentioned before in the forums: when I configure the MPU as suggested (example file attached), the first configASSERT hits a breakpoint. If I try without any MPU configuration, it stops at the second configASSERT (as shown in the screenshot).

I tried many approaches but couldn’t solve it. Without RTOS, there is no problem and ping works fine, but with RTOS I face an issue related to semaphores. At this point, I am not sure what I am missing. I also attached my FreeRTOSConfig file.

Interestingly, the LWIP_HTTP_Server_Netconn_RTOS example works. I compared it and applied the same MPU_Config settings, and also defined the ETH memory regions in the flash.id file accordingly. However, when I generate code from CubeIDE, it never works.

Could you please help me figure out what I am missing?If I try without any MPU configurationIf I try without any MPU configurationeth.pnglwip_1.pnglwip_2.pnglwip_3.pnglwip_init .pngmpu_ayar.pngI configure the MPU as suggestedI configure the MPU as suggestedrtos.png

0 REPLIES 0