Skip to main content
Graduate
February 1, 2025
Solved

STM32F756 Ethernet and lwIP LWIP_RAM_HEAP_POINTER

  • February 1, 2025
  • 1 reply
  • 647 views

I am using the latest version of CubeIDE (1.17.0), a STM32F765 Nucleo board with Ethernet. I am configuring the project to run lwIP using the internal Ethernet MAC. I am using FreeRTOS (CMSIS V2). CubeMX configures this LWIP_RAM_HEAP_POINTER to a default value of 0x30004000 which is NOT a valid address in the processor. I have gone through the reference manual to find out that nothing is present on this address and it is a reserved address. This causes a hardfault whenever I execute the code. However, if I comment the definition of LWIP_RAM_HEAP_POINTER, in that case lwIP uses normal buffer declared in RAM as heap and my code runs without any problem. I am making a course on this, so I just wanted to confirm if this is a bug in CubeMX or what?

 

avinash_elec_0-1738381879008.png

 

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello,

    This issue has has already raised in this thread. Internal ticket number 199455 already opened.

    Thank you for your contribution.

    1 reply

    mƎALLEmAnswer
    Technical Moderator
    February 1, 2025

    Hello,

    This issue has has already raised in this thread. Internal ticket number 199455 already opened.

    Thank you for your contribution.