Freescale Semiconductor Microcontrollers User Manual

Page 711

Advertising
background image

Flash Programming

NVMC Commands

711

Microcontrollers Debugger Manual

FLASH INIT

<fileName>|AUTOID

loads the parameter file according to

fileName

(you can specify the path). If this command includes AUTOID, the MCUID

determines the parameter file (autocheck is checked in the NVMC dialog box).

FLASH RELEASE

releases the current FPP file loaded by the Flash programmer.

Therefore the Flash programmer address mapping is disabled and no non-volatile memory
is handled.

FLASH MEMMAP

maps the Flash programmer address filtering to route the code for block

programming.

FLASH MEMUNMAP

unmaps the Flash programmer address filtering. Programming is

therefore disabled as long as FLASH MEMMAP is not executed.

FLASH ENABLE

enables the specified modules. If no modules are specified, all available

blocks are enabled. This command ignores modules that cannot be enabled.

FLASH DISABLE

disables the specified modules. If no modules are specified, all

available blocks are disabled. This command ignores modules that cannot be disabled.

FLASH ERASE

erases the specified modules. If no modules are specified, all available

blocks are erased.

FLASH AEFSKIPERASING

specifies non-volatile memory blocks to protect from mass

erasing during application automated programming. Place the command in a Startup
command file. If no modules are specified, no blocks are erased.

NOTE

This command is compatible and replicated in the NVM Programming
Selection dialog box.

FLASH UNPROTECT

unprotects the specified modules. If no modules are specified, all

available blocks are unprotected. This command ignores modules that cannot be
unprotected.

FLASH PROTECT

protects the specified modules. If no modules are specified, all

available blocks are protected. This command ignores modules that cannot be protected.

FLASH SELECT

selects the specified modules for Flash programming. If no modules are

specified, all available blocks for Flash programming are selected.

FLASH UNSELECT

deselects the specified modules. If no modules are specified, all

available blocks are unselected. The unselected state protects against accidental Flash
programming.

FLASH ARM

prepares the NMVC utility for loading; as does a normal LOAD command.

The system executes the VPPON.CMD file specified in the Command Files user interface.
This command is required before loading FLASH.

FLASH DISARM

ends a load process. The system executes the VPPOFF.CMD file

specified in the Command Files user interface.

FLASH SAVECONTEX

backs up current SRAM content into a buffer.

Advertising