C M L - 5 4 8 5 U S E R M A N U A L V 1 . 0
0 6 / 2 2 / 0 5
21
Client IP:
___.___.___.___ (IP address of the board)
Server IP:
___.___.___.___
(IP address of the TFTP server)
Gateway:
___.___.___.___
(IP address of the gateway)
Netmask:
___.___.___.___
(Network netmask)
Configuring dBUG Network Parameters
Once the network parameters are known, the dBUG 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 an example, the TFTP server has IP address of 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 that the host TFTP server will require the file to be
transferred be in the TFTP server’s assigned base directory or a subdirectory from the base
directory (depends on security settings). See the TFTP server software setup configuration
and help file to locate or change this directory.
A default file name for network downloads is maintained by dBUG. To change the default file
name, 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 file type for network downloads is maintained by dBUG as well.
To change the default file type, use the command:
set filetype <S record | coff | elf | image>