cancel
Showing results for 
Search instead for 
Did you mean: 

Cube IDE latest update Bug

msalem88
Associate II

There is a bug in the new cube ide version in the lwip vonfiguration for the STM32F7

 

LWIP_RAM_HEAP_POINTER (RAM Heap Pointer) 0x30004000

There is no such RAM location in the STM32F7. the correct value should be zero but better u guys check it.

 

by the way this option was not there for the F7 LWIP Key options settings in the previous cube ide version.

 

7 REPLIES 7
SofLit
ST Employee

Hello @msalem88 and welcome to the community,

CubeMx or CubeIDE? and which version?

How you did you reproduce the issue?

Do you have a project you can share?

Thanks.

 

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: This is NOT an online support (https://ols.st.com) but a collaborative space. So please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help/support.
msalem88
Associate II

Hi

cube ide.

create project with f746 dk and you will get it. 

 

Sorry i can not share my project

 

We cannot help you if you don't have more details

You can share your project by sending it in private for analysis if you don't want to share it in public. 

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: This is NOT an online support (https://ols.st.com) but a collaborative space. So please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help/support.

I dont need to send any thing, i just createrd new project using STM3F746 DK and i found the problem again in clean project. its up to u to fix it or not!!.

Maybe the problem in the new Firmware package of the F7 not in the cube ide it self. 

i guess i am the one who is helping you here not you helping me!!

zxu
Associate

New since 6.13 in `lwipopts.h`:

/*----- Default Value for F7/H7 devices: 0x30044000 -----*/
#define LWIP_RAM_HEAP_POINTER 0x30004000

 

First I don't know why the value in the comment doesn't match with the actual value, second with these two extra lines generated, it breaks my program as in `MX_LWIP_INIT()` would not return. I guess OP isn't wrong.

I wrote it worng, default value for F7 /H7, the funny thing is no such location in the internal RAM for F7 and thats why it break with u same as with me. 

MVele.1
Associate II

Hello,

I am encountering the same issue. The STM32CubeIDE 1.16.x project runs ok, but the migration to 1.17.x causes the hard fault exception.

MVele1_0-1737188698493.png

MVele1_1-1737188732477.png

I do not wonder because there has been introduced (in 1.17.x) a new macro 

MVele1_2-1737188868526.png

If the .ioc code is generated, this value is added to the lwipopts.h. The ref. manual for STM32F746 is saying that the address 0x30004000 is reserved and probably no heap is there.

I no wonder that the hard fault is generated because of accessing reserved memory 

MVele1_3-1737189166004.png

I only migrated project from 1.16 to 1.17, regenerated the code and built. 

Would be nice if you could write the error into https://wiki.st.com/stm32mcu/wiki/STM32CubeIDE:STM32CubeIDE_errata_1.17.x