Note: This procedure assumes that the Target Tasks view is visible in the perspective. If it is not visible, perform the steps in the Working with Flash Programmer topic to open the Target Tasks view.
- Go to the Target Tasks view in either the C/C++ or Debug perspective.
- Right-click on this view and select Import. Alternatively, click the
icon on the Target Tasks view toolbar. The Open dialog box appears.
- Navigate to <CWInstallDir>/MCU/bin/plugins/support/TargetTask/Flash_Programmer/E200 and select the XML file for the board's microcontroller. For example, select MPC5643L_DPM_VLE.xml.
- Click Open.
The
MPC5643L_DPM_VLE task appears in the Target Tasks view.
- Double-click on the MPC5643L_DPM_VLE 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.
- Execute the target task. For more information, refer Execute Target Task.