User`s manual

Chapter 3. Using the Monitor/Debug Firmware 3-19
Commands
FL Erase/Program Flash
Usage: FL
FL (e)rase addr bytes
FL (w)rite dest src bytes
The FL command is used to erase the external flash, write to external flash, and display flash device
information. Erase and Write operations must be done in sector blocks. dBUG assumes that the user has
erased enough memory before writing to it. The destination address must be word (4byte) aligned and the
byte count must be in word (4byte) multiples. To download a .s19 file straight to flash, please see the DL
command.
Examples:
To view the flash device information, the command is:
fl
To erase 0x10000 bytes of flash starting at 0x00800000, the command is:
fl erase 800000 10000
To copy 0x40 bytes of data from internal SRAM (0x3FA000) to external flash at 0x00800000, the command
is:
fl write 800000 3fa000 0x40
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...