A-2
M5271EVB User’s Manual
MOTOROLA
Configuring dBUG Network Parameters
A.2
Configuring dBUG Network Parameters
Once the network parameters have been obtained, the dBUG Rom Monitor must be
configured. The following commands are used to configure the network parameters.
set client <client IP>
set server <server IP>
set gateway <gateway IP>
set netmask <netmask>
set mac <addr>
For example, the TFTP server is named ‘santafe’ and has IP address 123.45.67.1. The
board is assigned the IP address of 123.45.68.15. The gateway IP address is 123.45.68.250,
and the netmask is 255.255.255.0. The MAC address is chosen arbitrarily and is unique.
The commands to dBUG are:
set client 123.45.68.15
set server 123.45.67.1
set gateway 123.45.68.250
set netmask 255.255.255.0
set mac 00:CF:52:82:EB:01
The last step is to inform dBUG of the name and type of the file to download. Prior to
giving the name of the file, keep in mind the following.
Most, if not all, TFTP servers will only permit access to files starting at a particular
sub-directory. (This is a security feature which prevents reading of arbitrary files by
unknown persons.) For example, SunOS uses the directory /tftp_boot as the default TFTP
directory. When specifying a filename to a SunOS TFTP server, all filenames are relative
to /tftp_boot. As a result, you normally will be required to copy the file to download into
the directory used by the TFTP server.
A default filename for network downloads is maintained by dBUG. To change the default
filename, use the command:
set filename <filename>
When using the Ethernet network for download, either S-record, COFF, ELF, or Image files
may be downloaded. A default filetype for network downloads is maintained by dBUG as
well. To change the default filetype, use the command:
set filetype <srecord|coff|elf|image>
Continuing with the above example, the compiler produces an executable COFF file,
‘a.out’. This file is copied to the /tftp_boot directory on the server with the command:
rcp a.out santafe:/tftp_boot/a.out
Change the default filename and filetype with the commands:
set filename a.out
set filetype coff
Содержание M5271EVB
Страница 1: ...M5271EVBUM Rev 1 0 6 2004 M5271EVB User s Manual Supports Devices MCF5271 MCF5270 ...
Страница 8: ...8 M5271EVB User s Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Страница 37: ...Chapter 2 Initialization and Setup 2 7 Installation and Setup Figure 2 5 Jumper Locations ...
Страница 84: ...A 4 M5271EVB User s Manual MOTOROLA Troubleshooting Network Problems ...
Страница 85: ...MOTOROLA Appendix B Schematics B 1 Appendix B Schematics B 1 M5271EVB Schematics ...
Страница 86: ...B 2 M5271EVB User s Manual MOTOROLA M5271EVB Schematics ...
Страница 100: ...B 16 M5271EVB User s Manual MOTOROLA M5271EVB Schematics ...