Chapter 3. Using the Monitor/Debug Firmware
3-17
Commands
DN
Download Network
Usage:DN <-c> <-e> <-i> <-s> <-o offset> <filename>
The DN command downloads code from the network. The DN command handle files
which are either S-record, COFF, ELF or Image formats. The DN command uses Trivial
File Transfer Protocol (TFTP) to transfer files from a network host.
In general, the type of file to be downloaded and the name of the file must be specified to
the DN command. The -c option indicates a COFF download, the -e option indicates an
ELF download, the -i option indicates an Image download, and the -s indicates an S-record
download. The -o option works only in conjunction with the -s option to indicate an
optional offset for S-record download. The filename is passed directly to the TFTP server
and therefore must be a valid filename on the server.
If neither of the -c, -e, -i, -s or filename options are specified, then a default filename and
filetype will be used. Default filename and filetype parameters are manipulated using the
SET and SHOW commands.
The DN command checks the destination download address for validity. If the destination
is an address outside the defined user space, then an error message is displayed and
downloading aborted.
For ELF and COFF files which contain symbolic debug information, the symbol tables are
extracted from the file during download and used by dBUG. Only global symbols are kept
in dBUG. The dBUG symbol table is not cleared prior to downloading, so it is the user’s
responsibility to clear the symbol table as necessary prior to downloading.
If an entry point address is specified in the S-record, COFF or ELF file, the program counter
is set accordingly.
Examples:
To download an S-record file with the name “srec.out”, the command is:
dn -s srec.out
To download a COFF file with the name “coff.out”, the command is:
dn -c coff.out
To download a file using the default filetype with the name “bench.out”, the command is:
dn bench.out
To download a file using the default filename and filetype, the command is:
dn
Summary of Contents for M5271EVB
Page 1: ...M5271EVBUM Rev 1 0 6 2004 M5271EVB User s Manual Supports Devices MCF5271 MCF5270 ...
Page 8: ...8 M5271EVB User s Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 37: ...Chapter 2 Initialization and Setup 2 7 Installation and Setup Figure 2 5 Jumper Locations ...
Page 84: ...A 4 M5271EVB User s Manual MOTOROLA Troubleshooting Network Problems ...
Page 85: ...MOTOROLA Appendix B Schematics B 1 Appendix B Schematics B 1 M5271EVB Schematics ...
Page 86: ...B 2 M5271EVB User s Manual MOTOROLA M5271EVB Schematics ...
Page 100: ...B 16 M5271EVB User s Manual MOTOROLA M5271EVB Schematics ...