Skip to main content
Graduate II
May 14, 2024
Solved

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

  • May 14, 2024
  • 4 replies
  • 3570 views

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

 

Thanks!

    This topic has been closed for replies.
    Best answer by mƎALLEm

    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.

     

    4 replies

    PasserbyAuthor
    Graduate II
    May 14, 2024
    mƎALLEmAnswer
    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.

     

    PasserbyAuthor
    Graduate II
    May 14, 2024

    Hello, @mƎALLEm 

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

     

    Thanks!

     

     

    Graduate II
    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
    Graduate II
    May 14, 2024

    Thank you!

    Visitor II
    May 14, 2024

    Hello @Passerby ,

     

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

    I am using Keil5 too.

    PasserbyAuthor
    Graduate II
    May 14, 2024

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

    微信截图_20240514170603.jpg

    微信截图_20240514170613.jpg

    Visitor II
    May 14, 2024

    Thanks

    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 ...