STM32CubeF4 icon indicating copy to clipboard operation
STM32CubeF4 copied to clipboard

lwIP project could not work in stm32cubeide

Open taehyun9203 opened this issue 1 year ago • 0 comments

Hello, I had a problem with the lwIP project not working on STM32CubeIDE using the Nucleo-F429ZI board.

The cause of the problem is that the default LWIP_RAM_HEAP_POINTER default value is 0x30044000, and if STM32IDE generates code with that value, it is accessing a non-existent memory area, resulting in a hard fault.

So the solution can be summarized in two ways. The first is to comment LWIP_RAM_HEAP_POINTER in lwipopts.h among the codes responsible for the lwip function (Figure 1). The second is to disable ICMP checksum-related features in the Ethernet Configuration window (Figure 2).

Figure 1 image

Figure 2 image

taehyun9203 avatar Oct 16 '23 11:10 taehyun9203