| ARM Technical Support Knowledge Articles | |
Applies to: C251 C Compiler
Information in this article applies to:
I wish to copy some C functions to RAM from Flash memory so they can be executed there while I erase my Flash. How can this be achieved? Reassigning a function pointer does not work.
The only way to achieve this is with the following steps:
#pragma SRC
Reassigning a function pointer will simply make the pointer point to a new area of memory. The function will not be copied.
Article last edited on: 2005-07-15 12:19:40
Did you find this article helpful? Yes No
How can we improve this article?