A-
1
Appendix A
A.1 Configuring dBUG for Network Downloads
dBUG has the ability to perform downloads over an Ethernet network using the Trivial File Transfer
Protocol, TFTP. Prior to using this feature, several parameters are required for network downloads to
occur. The information that is required and the steps for configuring dBUG are described below.
A1.1 Required Network Parameters
For performing network downloads, dBUG needs six parameters; four are network-related, and two are
download-related. The parameters are listed below, with the dBUG designation following in parenthesis.
All computers connected to an Ethernet network running the IP protocol need three network-specific
parameters. These parameters are:
•
Internet Protocol, IP, address for the computer (client IP),
•
IP address of the Gateway for non-local traffic (gateway IP), and
•
Network netmask for flagging traffic as local or non-local (netmask).
In addition, the dBUG network download command requires the following three parameters:
•
IP address of the TFTP server (server IP),
•
Name of the file to download (filename),
•
Type of the file to download (filetype of S-record, COFF, Elf, or Image).
Your local system administrator can assign a unique IP address for the board, and also provide you the IP
addresses of the gateway, netmask, and TFTP server. Fill out the lines below with this information.
Client IP:
___.___.___.___
(IP address of the board)
Server IP:
___.___.___.___
(IP address of the TFTP server)
Gateway:
___.___.___.___
(IP address of the gateway)
Netmask:
___.___.___.___
(Network netmask)
A.1.2 Configuring dBUG Network Parameters
Once the network parameters have been obtained, dBUG 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>
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 commands to dBUG are:
set client 123.45.68.15
set server 123.45.67.1