After you have imported the task, it appears in the
Target Tasks
view, where you can execute it.
To import a pre-defined Flash Programmer task:
- From the CodeWarrior menu bar, select Window > Show View > Other.
The
Show View
dialog box appears.
- Expand the Debug tree control and select Target Tasks.
Figure 1. Show View Dialog Box 
- Click OK.
The
Target Tasks
view appears.
Figure 2. Target Tasks View 
- Right-click in the Target Tasks view and select Import . Alternatively, click the Import icon on the Target Tasks view toolbar.
The
Open
dialog box appears.
- Navigate to the pre-defined tasks folder at <CW MCU install>\MCU\bin\plugins\support\TargetTask\Flash_Programmer\ and select the desired .xml file for your hardware target. For example, select MCF5213_INTFLASH.xml from the ColdFire folder.
- Click Open.
The selected task appears in the
Target Tasks
view.
Figure 3. Pre-defined Task in Target Tasks View 
- Right-click on the task's name and select Execute.
The task's Flash Programmer actions execute in sequence. First, they erase the
hardware target's flash memory.
Note: When a predefined flash programmer task is imported, its Run Configuration is set as Active Debug Context. If the task is imported and there is no active debug session, then the Execute icon will be disabled. Associate the selected target task to a different Run Configuration to enable the Execute icon.
- Double-click on the task's name, to examine the task's stored Flash Programmer actions.
The <target>
Flash ProgrammerTask
editor window appears, and displays the
actions in the
Flash Programmer Actions
group.
Figure 4. <target> Flash Programmer Task Editor Window Displaying Stored Actions 
If you are working with special hardware that require a different sequence of Flash Programmer actions, you can create your own target tasks.