| |||||
Technical Support Support Resources
Product Information | C251: COPYING FUNCTIONS TO RAM FOR EXECUTIONInformation in this article applies to:
QUESTIONI 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. ANSWERThe only way to achieve this is with the following steps:
Reassigning a function pointer will simply make the pointer point to a new area of memory. The function will not be copied. MORE INFORMATION
Last Reviewed: Friday, July 15, 2005 | ||||
| |||||