The erase action enables you erase sectors from the flash device. You can also use the erase action to erase the entire flash memory without selecting sectors. The blank check action verifies if the specified areas have been erased from the flash device.
Note: Flash Programmer will not erase a bad sector in the NAND flash. After the erase action a list of bad sectors is reported (if any).
To add an erase/blank check action:
- Select the Erase / Blank Check action from the Add Action drop-down list.
The
Add Erase / Blank Check Action
dialog box appears.
Figure 1. Add Erase / Blank Check Action Dialog Box 
- Select a sector from the Sectors table and click the Add Erase Action button to add an erase operation on the selected sector.
Note: Press CTRL or SHIFT keys for selecting multiple sectors from the Sectors table.
- Click the Add Blank Check Action button to add a blank check operation on the selected sector.
- Check the Mass erase all devices check box to erase the entire flash memory for HCS08/RS08/CFv1/Kinetis.
Note: After checking the Erase All Sectors Using Chip Erase Command check box (for CFv2, DSC, Power Architecture), you need to add either erase or blank check action to erase all sectors. For S12Z use the Erase entry flash block.
- Click Done.
The
Add Erase / Blank Check Action
dialog box closes and the added erase / blank
check actions appear in the
Flash Programmer Actions
table in the
Flash Programmer Task
editor window.
Figure 2. Added Erase / Blank Check Actions 