Appendix E Flash Program Commands - Motorola Digital dna MSC8101ADS Manual

Table of Contents

Advertisement

Appendix E Flash Program Commands

The Flash program supports the commands listed in Table 4.
Command
print
<number><print>
dump
<address> <dump>
load_flash
<number><load_flash>
sec_erase
<number> <sec_erase>
program_word
<number1> <number2>
<program_word>
help
<help>
sec_addr
<number> <sec_address>
set_boot
<address><set_boot>
Freescale Semiconductor, Inc.
Table 4. Flash Program Commands
Syntax
Prints the number of the result of the last
operation.
Displays memory in increments of 16 bytes.
Terminate by typing "q". If any key other
than "q" is entered, the next 16 consecutive
locations are displayed.
Programs Flash memory.
Erases the sector specified by number.
Programs the data specified by number1 at
the address specified by number2 to Flash
memory.
Displays available commands.
Returns the Flash sector address specified
by number.
Address vector set_boot programs address
at boot table + vector. HRCW data is saved,
sector 0 is erased, boot_table is updated
and sector 0 is reprogrammed.
For More Information On This Product,
Go to: www.freescale.com
Running LEDblinker from Internal SRAM
Description
Examples
256 print :
Displays 00000100
10 sec_addr print :
Displays FC2800000
hfc280000 dump:
Displays 1 line of 16 memory
addresses.
0 load_flash:
Uses the address embedded in
the S-record to program Flash
memory. If invoked with any other
number, it uses that number as
the starting address in Flash
memory.
hfc280000 load_flash:
Starts the Flash programming at
location 0xFC280000
in Flash memory.
10 sec_erase:
Erases sector 10 in the Flash
memory.
DEADBEEF hfc280000:
Programs DEADBEEF to Flash
memory at 0xFC280000.
10 sec_addr print :
Prints FC280000
17

Advertisement

Table of Contents
loading

Table of Contents