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.
After you have launched CodeWarrior and connected the DEMOS908QG8 board to the workstation using a USB cable:
- 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 Import icon on the Target Tasks view toolbar.
The
Open
dialog box appears.
- Navigate to <CWInstallDir>/MCU/bin/plugins/support/TargetTask/Flash_Programmer/HC08 and select the XML file for the board's microcontroller. For this tutorial, select MC9S08QG8.xml.
- Click Open.
The MC9S08QG8 task appears in the
Target Tasks
view.
- Double-click on the MC9S08QG8 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 MC9S08QG8 Task 