Executing Application from RAM

For performance reasons, you can copy an application from ROM to RAM and execute it from RAM. The following procedure outlines this process.

  1. Link your application with code located in RAM.
  2. Generate an S-Record File.
  3. Modify the startup code to copy the application code.
  4. 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: