Program/Verify actions

The Program action allows 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:

  1. Choose Program/Verify Action from the Add Action pop-up menu.

    The Add Program/Verify Action dialog appears.

  2. Select the file to be written to the flash device.
  3. Select the Use File from Launch Configuration checkbox to use the file from the launch (run) configuration associated with the task.
  4. Specify the file name in the File textbox. You can use Workspace, File System, or Variables buttons to select the desired file.
  5. Choose a file type from the File Type pop-up menu. You can select any one of the following file types:
    • Auto - Detects the file type automatically.
    • Elf - Specifies executable in ELF format.
    • Srec - Specifies files in Motorola S-record format.
    • Binary - Specifies binary files.
  6. Select the Erase sectors before program checkbox to erase sectors before program.
  7. [Optional] Select the Verify after program checkbox to verify after the program.
    Note: The Verify after program checkbox is available only with the processors supporting it.
  8. Select the Restricted To Address in this Range checkbox to specify a memory range. The write action is permitted only in the specified address range. In the Start textbox, specify the start address of the memory range sector and in the End textbox, specify the end address of the memory range.
  9. Select the Apply Address Offset checkbox and set the memory address in the Address textbox. Value is added to the start address of the file to be programmed or verified.
  10. Click the Add Program Action button to add a program action on the flash device.
  11. Click the Add Verify Action button to add a verify action on the flash device.
  12. Click Done.

    The Add Program/Verify Action dialog closes and the added program/verify actions appear in the Flash Programmer Actions table in the Flash Programmer Task editor window.