ARM Technical Support Knowledge Articles

MOVING CODE FROM FLASH TO RAM FOR EXECUTION

Applies to: C166 C Compiler

Answer


Information in this article applies to:


QUESTION

I'm using a C16x device with FLASH memory. I need to copy program code to RAM for execution when I reload the FLASH. Is there a way to do this?

ANSWER

Yes.

Refer to Application Note 138: In-system FLASH Programming with C16x/ST10 which describes how to do this. Be sure to use the RENAMECLASS directive in your C code that you want to relocate.

MORE INFORMATION

SEE ALSO

Article last edited on: 2005-07-15 13:15:57

Rate this article

[Bad]
|
|
[Good]
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