B-2
MPC564EVB User’s Manual
Troubleshooting Network Problems
set gateway <gateway IP>
set netmask <netmask>
set ethaddr <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 ethaddr 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 ethaddr 00:CF:52:49:C3: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
Finally, perform the network download with the ‘dn’ command. The network download process
uses the configured IP addresses and the default filename and filetype for initiating a TFTP
download from the TFTP server.
B.3 Troubleshooting Network Problems
Most problems related to network downloads are a direct result of improper configuration. Verify
that all IP addresses configured into dBUG are correct. This is accomplished via the ‘show
’command.
Using an IP address already assigned to another machine will cause dBUG network download to
Summary of Contents for MPC564EVB
Page 1: ...MPC564EVBUM Rev 1 2 3 2003 MPC564EVB User s Manual ...
Page 6: ......
Page 10: ...Contents Paragraph Number Title Page Number iv MPC564EVB User s Manual MOTOROLA ...
Page 50: ...2 12 MPC564EVB User s Manual System Power up and Initial Operation ...
Page 92: ...3 42 MPC564EVB User s Manual System Call Functions ...
Page 98: ...B 4 MPC564EVB User s Manual Troubleshooting Network Problems ...