Flash Memory Tool Dialog Box: Erasing/Unlocking Tab

Erase or unlock blocks of the flash.

Menu

View > Flash Memory Tool

Toolbar

Flash Memory Tool

Board

In the Board field you can select the board configuration. A board configuration file (extension .fcf) specifies the settings that are used to burn a file into the flash of the target platform.

Flash

In the Flash field you can select one of the flashes on the selected board.

Block Selection

You can use the Block Selection radio buttons to specify which blocks of the flash memory should be erased. You can erase the flash in four different ways:

  • Checking the field All Blocks erases all blocks of the flash.

  • Checking the field All Data Blocks erases all data blocks of the flash.

  • Checking the field All Boot Blocks erases all boot blocks of the flash.

  • Checking the field Individual Blocks, you can specify a list with individually selected blocks of the flash to be erased.

In the last case, the specified blocks have to be separated by “,”. You can specify block ranges by using “-” between the first and the last block of the range. You must specify the blocks in ascending order. If you do not use the correct syntax for specifying blocks, the blocks are not erased and an error message is displayed.

Erase

Clicking the Erase button starts erasing the specified blocks from the flash. Before the flash memory is definitely erased, a confirmation dialog pops up.

A progress bar shows the status of the erasing process. Click Cancel to stop the erasing process.

Check

Clicking the Check button performs a check to verify that the blocks were successfully erased. If this check fails, a dialog box pops up that specifies the first address that was not successfully erased.

Unlock

If some blocks are locked, they can be unlocked using this button. Specify which blocks to unlock in the Block Selection part of the Erasing/Unlocking tab, then click the Unlock button.

Some Intel® flash memory chips have a special behavior regarding unlocking: The attempt to unlock any block will unlock all blocks together. If, for example, the blocks 0-10 are locked and you want to unlock block 0, 1, and 10, you have to unlock one block, like block 11, then lock the blocks 2-9.

Lock

Individual blocks can be locked; this means that the erasing process invoked by an application does not affect them. To lock blocks, specify which blocks to lock in the Block Selection part of the Erasing/Unlocking tab, then click the Lock button.

Close

Clicking the Close button closes the Flash Memory Tool dialog box.

Help

Clicking the Help button opens the online help.

Optimization Notice: 
For more complete information about compiler optimizations, see our Optimization Notice.