ARMCC: EXECUTING FUNCTIONS IN RAM
Information in this article applies to:
I convert code from the Keil CARM Compiler to the RealView Compiler. I need to implement in-system Flash programming on STR710, and since the device cannot execute code out of flash while I write to it, I need to execute the function from RAM.
With the CARM Compiler I have used the __ram attribute. How can I replace this in the RealView compiler? I have tried to use a linker scatter loading file, but this failed.
µVision allows you to locate modules to specific memory areas that are entered in the dialog Project - Options - Target. To do so, right click on a source file (or file group) and open the dialog Options - Properties. Then select the memory regions under Memory Assignment.
There is an example in the folder ARM\Examples\RAM_Function.
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Friday, June 27, 2008
of your data.