cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F7 internal SRAM Access

Vanishree Rao
Associate
Posted on May 12, 2017 at 05:36

Hello,

I am using STM32F746IG. This has 320KB RAM - 64KB DTCM + 240KB(SRAM1) + 16KB(SRAM2)

When my program uses 64KB, all the data is stored in DTCM and it all works fine. But when exceeds 64KB, data is stored in SRAM1(internal SRAM) and program no longer works. I have all code in flash (0x08010000). I assume access to internal SRAM is always enabled. Is there anything to be enabled, when RAM requirement is more than 64KB? 

2 REPLIES 2
AvaTar
Lead
Posted on May 12, 2017 at 08:58

But when exceeds 64KB, data is stored in SRAM1(internal SRAM) and program no longer works.

'no longer works' is too vague for an error description.

The RAM as a whole is not continuous, perhaps this is your problem. Evaluate the map file, or test where exactly it fails in the debugger.

Posted on May 12, 2017 at 11:09

E.g. DMA to area above the DTCM area need special care .