The program action enables you to program the flash device and the verify action verifies the programmed flash device.
Note: The program action will abort and fail if it is performed in a bad block for NAND flashes.
To add a program/verify action:
- Select the Program / Verify action from the Add Action drop-down list.
The
Add Program / Verify
dialog box appears.
Figure 1. Add Program / Verify Action Dialog Box 
- Select the file to be written to the flash device.
- Check the Use File from Launch Configuration check box to use the file from the launch (run) configuration associated with the task.
- Specify the file name in the File text box. You can use Workspace, File System, or Variables buttons to select the desired file.
- Select the file type from the File Type drop-down list. You can select any one of the following file types:
- Auto - Detects the file type automatically.
- Abs/Elf - Specifies executable in ABS or ELF format.
- Srec - Specifies files in Motorola S-record format.
- Binary - Specifies binary files.
- Check the Erase sectors before program checkbox to erase sectors before program.
- Check the Verify after program checkbox to verify after the program.
- Check the Restricted To Addressin the Range check box to specify a memory range. The write action is permitted only in the specified address range. In the Start text box, specify the start address of the memory range sector and in the End text box, specify the end address of the memory range.
- Check the Apply Address Offset check box and set the memory address in the Address text box. Value is added to the start address of the file to be programmed or verified.
- Click the Add Program Action button to add a program action on the flash device.
- Click the Add Verify Action button to add a verify action on the flash device.
- Click Done.
The
Add Program/Verify Action
dialog box closes and the added program / verify
actions appear in the
Flash Programmer Actions
table in the
Flash Programmer Task
editor window.
Figure 2. Added Program/Verify Actions 