Skip to main content
sima
Associate III
August 18, 2009
Question

Start a program in RAM?

  • August 18, 2009
  • 3 replies
  • 889 views
Posted on August 18, 2009 at 13:08

Start a program in RAM?

    This topic has been closed for replies.

    3 replies

    obtronix
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:20

    It's going to run quite a bit slower then when running in FLASH

    sima
    simaAuthor
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:20

    I have an application in FLASH. I want it to be able to download a program to SRAM and then execute it.

    What traps or pitfalls do I have to think about?

    I have previously made a bootloader that calls a main program in FLASH memory.

    Do I call a program in SRAM the same way?

    16-32micros
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:20

    Hi sima, obtronix,

    Thanks for the comments, Note also to remap the interrupts into RAM if you them in your application. Running program from RAM is useful for user boot-loader applications or to program the Internal flash as well.

    Cheers,

    ST1.