Skip to main content
Associate III
May 14, 2024
Solved

[RAM] STM32F103VCT6 has 48KB RAM , By modifying the upper limit in keil5, I was able to use 58k

Why ? Why can I use more than 48KB RAM?

 

Thanks!

This topic has been closed for replies.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
May 14, 2024

Hello,

Physically the RAM size is there but it's not tested in factory. So using more than 48KB in that device is not guaranteed. 

This is not an exception on this device and the subject does not cover only the RAM, it could be also the Flash.

Hope I answered your question.

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

14 replies

PasserbyAuthor
Associate III
May 14, 2024

@mƎALLEm  @Peter BENSCH  @STTwo-32  @Tesla DeLorean 

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
May 14, 2024

Hello,

Physically the RAM size is there but it's not tested in factory. So using more than 48KB in that device is not guaranteed. 

This is not an exception on this device and the subject does not cover only the RAM, it could be also the Flash.

Hope I answered your question.

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
PasserbyAuthor
Associate III
May 14, 2024

Hello, @mƎALLEm 

Does this mean that this part of the Ram is untested and not corrupted

 

Thanks!

 

 

Uwe Bonnes
Chief
May 14, 2024

As STM32F103VC is same die as STM32F103V(D|E), same amount of ram is etched into the die. How this additional resources are exposed ore not and tested or not is totaly up to STM.

PasserbyAuthor
Associate III
May 14, 2024

Thank you!

Associate III
May 14, 2024

Hello @Passerby ,

 

how did you modified the upper limit of RAM in Keil?

I am using Keil5 too.

PasserbyAuthor
Associate III
May 14, 2024

Options For Target -->Read/Write Memory Areas --> Size     , Change it to bigger

微信截图_20240514170603.jpg

微信截图_20240514170613.jpg

Associate III
May 14, 2024

Thanks

Andrew Neil
Super User
May 14, 2024

Note that this is standard practice throughout the semiconductor industry - it's not just ST or STM32 

 

And it can also apply to extra peripherals, etc ...

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.