cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX bug? STM32L100C6U6A 4 kBytes RAM but linker script says 16 kBytes

MSipo
Senior II

I select a new project and select the STM32L100C6U6A. STM32CubeMX says it has 4 kBytes of RAM.

MSipo_1-1769502377849.png

I generate the project for EWARM.

But when I generate the project for EWARM it puts stm32l100xba_flash.icf file in the project and that files says RAM is 16384 bytes.

MSipo_2-1769502480108.png

And the datasheet for STM32L100C6U6A says 4 kByte.

MSipo_0-1769502297522.png

Is this a bug in STM32CubeMX?

My application still seems to run without errors. IAR reports 9511 bytes of readwrite data memory used.

Why does it still work? Is the datasheet wrong and this device is actually delivered with 16 kBytes RAM?

 

 

 

 

2 REPLIES 2
Ghofrane GSOURI
ST Employee

Hello @MSipo 

Your detailed explanation is much appreciated.

Issue has been escalated to the dedicated team under internal ticket number 226018 for further analysis and resolution.

THX

Ghofrane

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.

How can I track this ticket number? How do I get an explanation?

We have a finished product where this could become a problem as we use too much RAM (9511 bytes), but our testing has not showed any errors in function.

In an older thread I posted about a similar bug for STM32G030F6P6 flash and got a ticket number and never received any follow up information if it was ever fixed.https://community.st.com/t5/stm32cubemx-mcus/stm32g030f6p6-says-32kbytes-flash-but-linker-script-says-64kbyte/m-p/599015#M26215