cancel
Showing results for 
Search instead for 
Did you mean: 

Start a program in RAM?

sima
Associate II
Posted on August 18, 2009 at 13:08

Start a program in RAM?

3 REPLIES 3
sima
Associate II
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?

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

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

16-32micros
Associate III
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.