
3-28
DINK32 PowerPC Debugger User’s Manual
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Download
3.18 Download
The “download” command captures data from S-record files taken from either the keyboard
or host serial ports. The received data is stored in the memory locations specified by the
input file. The “download” command comes in two forms: a “flash” version for Excimer
version (which has minimal SRAM) downloads into flash, and a “RAM” version for all
other platforms, which downloads into SDRAM.
The first argument must be “-fl” to select the Excimer/Flash download, or “-nw” to select
network download. Otherwise the RAM download is assumed.
NOTE: To cancel a download at the terminal, type in 'S9' and ENTER/return to terminate
the S-record downloads. For binary downloads, wait for the timeout.
Arguments (RAM/SP/MVP/YK version)
:
-nw
use network download via TFTP protocol.
-k
Read S-record files from the keyboard. Use a smart terminal program to
send files to DINK.
-h
Read S-record files from the host port. The host must be ready to send
S-record files upon reception of a newline. Use “tm” to setup the host
first.
-q
Select quiet mode, no indication of download progress is supplied.
-fx
Enables XON/XOFF (software) flow control for downloading at higher
speeds. Not usually needed.
-v
Verifies a previous download, printing an error message for each
difference found.
-o offset Adds a hexadecimal offset to the address of the each S-Record lines, to
relocate code.
-b
Download using 8-bit binary data in lieu of S-records. The srec2bin
program in METDINK2/demos/utilities/srec2bin can translate S-record
files to contiguous binary streams. Binary downloads do not have address
information, so the “-o offset” option is almost always needed.
Command
download
Abbreviation
dl
Syntax
dl -fl [-e] [-o offset]
dl {-k|-h|} [-q][-fx]]-v][-b][-o offset]
dl {-nw}
Excimer/Maximer
Sandpoint, MVP
Sandpoint, MVP
Builds
All
Boards
All
Processors
All
F
Freescale Semiconductor, Inc.
n
.