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?

 

 

 

 

1 REPLY 1
Ghofrane GSOURI
ST Employee

Hello @MSipo 

I'm currently checking this behavior. I will get back to you asap.

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.