cancel
Showing results for 
Search instead for 
Did you mean: 

Run code out of internal RAM

ken
Associate II
Posted on April 11, 2007 at 05:05

Run code out of internal RAM

5 REPLIES 5
ken
Associate II
Posted on May 17, 2011 at 09:41

Rave,

I was hoping to run out of internal RAM just because I have a Green Hills development system, including their probe, which allows me to run and debug out of RAM. In general this speeds development as I don't need to flash each time I make code changes.

Thanks for your help. I appreciate it very much.

ken
Associate II
Posted on May 17, 2011 at 09:41

Is there some way I can force the STR911 to execute out of RAM insted of flash at reset? Other proessors I have used have a register which can be used to accomplish this.

mohamed23
Associate II
Posted on May 17, 2011 at 09:41

Hi FriarTuck,

This option is not possible on STR91x because this is unuseful and this

may consume extra cycles and decrease the Interrupts system performance

since it has a Harvard Archtitecture with TCM- Coupled memory already linked to Flash Accelerator,

By the way, What is you purpose for RAM remapping at Reset ?

With regards, :-]

roger_lynx
Associate II
Posted on May 17, 2011 at 09:41

 

Rave: This option is not possible on STR91x because this is unuseful and this may consume extra cycles

Rave, I like your sense of humor. :-]

(I am not picking on the typo, though).

d_steffen
Associate II
Posted on May 17, 2011 at 09:41

You can load most of code to RAM, without the vector table and

the startup sequence, if your code + data <= 96 KByte or you

have external RAM.

If you have fixed vector adresses in RAM and your startup code is not

changed, then you need only one a download to the flash at the first time. All later downloads are going only to the RAM.

I do this, how long my application + data size will be less than 96 KByte.

Best regards