ARM Technical Support Knowledge Articles


Applies to: RealView C Compiler


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 ARMExamplesRAM_Function.


Article last edited on: 2008-06-27 07:00:35

Rate this article

Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential