Import MCF5213 Program Flash Task

Note: This tutorial assumes that you have already built a ColdFire project with the name ColdFire_test. It also assumes that you have previously created other tasks, so that the Target Tasks view is visible. If it is not visible, perform the steps in the Working with Flash Programmer topic to open the Target Tasks view.

After you have connected an MCF5213-based evaluation board to the workstation with a USB cable:

  1. Go to the Target Tasks view in either the C/C++ or Debug perspective.
  2. Right-click on this view and select Import . Alternatively, click the Export icon on the Target Tasks view toolbar.

    The Open dialog box appears.

  3. Navigate to <CWInstallDir>/MCU/bin/plugins/support/TargetTask/Flash_Programmer/ColdFire and select the XML file for the board's microcontroller. For this tutorial, select MCF5213_INTFLASH.xml.
  4. Click Open .

    The MCF5213_INTFLASH task appears in the Target Tasks view.

  5. Double-click on the MCF5213_INTFLASH task to examine its contents.

    The <target> Flash Programmer Task editor window appears, and displays the memory settings and actions for the task. Notice the actions to erase, program, and verify the contents of flash memory in the Flash Programmer Actions group. These actions execute in the order as they are displayed in the table, from top to bottom.

    Figure 1. Memory Settings and Actions for the MCF5213_INTFLASH Task
    Memory Settings and Actions for the MCF5213_INTFLASH Task