Skip to main content
Freedom_Neo
Senior
February 16, 2022
Question

RAM size is wrong.

  • February 16, 2022
  • 6 replies
  • 2683 views

I am using below development tools

MCU: STM32H7B3IIT6

IDE: STM32CubeIDE Version: 1.8.0

GUI: TouchGFX Version: 4.18.1

I am using IS45S16800F-7CTLA1-TR SDRAM. I added CubeIDE interface. External SDRAM size 128Mb==16MB but Built analyzer shows 1024KB. Why does it not true?

0693W00000JQ3JMQA1.png

This topic has been closed for replies.

6 replies

Mike_ST
ST Technical Moderator
February 16, 2022

Hello,

This is the MCU's internal RAM that you are highlighting.

You have to define the additionnal memory region in your linker.

And setup the FMC controller before attempting access to it.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. 
Freedom_Neo
Senior
February 16, 2022

I set FMC setup parameters

0693W00000JQ3YTQA1.png0693W00000JQ3g3QAD.png

TDK
February 16, 2022

You need to add the external SDRAM region to your linker file if you want it to show up in "Memory Regions". But it doesn't really matter if it shows up there, it's still available to the chip once you configure it within your program.

"If you feel a post has answered your question, please click ""Accept as Solution""."