For performance reasons, you can copy an application from ROM to RAM and execute it from RAM. The following procedure outlines this process.
- Link your application with code located in RAM.
- Generate an S-Record File.
- Modify the startup code to copy the application code.
- Link the application with the S-Record File previously generated.
Note:
It is recommended that you generate a ROM library for your application. This allows you to debug your final application easily (including the copying of the code).
The following sections describe each step: