Keil Logo

Execute Program from internal SRAM

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
A.N najaf
Posted
25-Mar-2014 09:59 GMT
Toolset
ARM
New! Execute Program from internal SRAM

Hi to everyone
I have a question about execute my program from internal RAM during the firmware development process.
please help me if possible with a clear doc or example
thanks.

Read-Only
Author
Per Westermark
Posted
25-Mar-2014 10:44 GMT
Toolset
ARM
New! RE: Execute Program from internal SRAM

Just fill up about 10 gallons of gasoline and then ignite.

Oops - did you talk about a problem with an ARM processor? So why didn't you even manage to tell which exact processor? And why not tell a tiny bit more about your actual problem. What you want to do. What you have tried. Where you are stuck?

Anyway - have you scanned all possible Keil-supplied examples? Not sure what installation packages they may be included in, or which specific models that might have examples using RAM execution, but Keil have several examples where the code may be built and run in either RAM or in flash.

Read-Only
Author
A.N najaf
Posted
25-Mar-2014 13:57 GMT
Toolset
ARM
New! RE: Execute Program from internal SRAM

At first.Sorry for my question
I'am talking about a CM3 for instance a LPC1768/88
i wanna download my cod in SRAM and run my program from there without need to download on the internal flash.

thank you.

Read-Only
Author
Westonsupermare Pier
Posted
25-Mar-2014 15:55 GMT
Toolset
ARM
New! RE: Execute Program from internal SRAM

Change the Target memory configuration to reflect how you want the memory divided, and let the debugger use an initialization script instead of the flash algorithms to download the code onto the chip.

http://www.keil.com/support/docs/2996.htm

http://www.keil.com/support/docs/2915.htm

Try Google, I'm sure there are more answers/examples. The Keil uv4 tree has many .INI / RAM examples too.

Read-Only
Author
Andrew Neil
Posted
25-Mar-2014 22:08 GMT
Toolset
ARM
New! RE: i wanna download my cod in SRAM ... without need to download on the internal flash.

Any particular reason why you wanna (sic) do that?

Once configured, the download process would be (almost) identical - what advantage do you think you will gain?

Read-Only
Author
Westonsupermare Pier
Posted
25-Mar-2014 22:28 GMT
Toolset
ARM
New! Any particular reason why you wanna (sic) do that?

Apparently the programming style of the individuals cuts significantly into the 10-100K cycles of the Flash memory....

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.