I want to download my application directly into a RAM target. How do I do it?

CAUTION:
This method is not applicable to the ColdFire V2-V4 targets.
Note: To download the application to RAM, you need to set up the linker configuration file.

You can let debugger program the flash as a part of the debug action. This method of flashing is especially useful for small size (less that 64 KB) applications.

All P&E connections (Multilink, Cyclone, OSJTAG, and OSBDM) in Microcontrollers can handle flash programming. For this, the P&E cable itself will perform the flash programming directly. The process followed is:

  1. The debugger downloads the application to the P&E connection cable.
  2. The P&E connection cable directly programs the target.

If you have your target in RAM, this feature of P&E connections lets debugger write the application bytes to the P&E connection, which are written directly to the target. This is because debugger can directly modify the RAM content.

To flash an application to the RAM target:

  1. Select Run > Debug Configurations .

    The Debug Configurations dialog box appears.

  2. Select Debugger > Download .

    The Download page appears in the Debug Configuration dialog box.

  3. Check the Perform Standard Download checkbox.

    As the P&E flash programming is performing the verify as well, you do not need to check the Verify checkboxes in the Perform Standard Download section.

    Figure 1. Download Page Configurations

    Download Page Configurations

  4. Click Debug .

So, just by debugging your project, you can flash your RAM targets.