cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F756 Ethernet and lwIP LWIP_RAM_HEAP_POINTER

avinash_elec
Associate III

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

Hello,

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

Thank you for your contribution.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.

View solution in original post

1 REPLY 1
SofLit
ST Employee

Hello,

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

Thank you for your contribution.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.