Skip to main content
Vanishree Rao
Visitor II
May 12, 2017
Question

STM32F7 internal SRAM Access

  • May 12, 2017
  • 1 reply
  • 691 views
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? 

    This topic has been closed for replies.

    1 reply

    AvaTar
    Senior III
    May 12, 2017
    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.

    Uwe Bonnes
    Chief
    May 12, 2017
    Posted on May 12, 2017 at 11:09

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