Chapter 3. Using the Monitor/Debug Firmware
3-33
Commands
SET
Set Configurations
Usage:
SET <option value>
The SET command allows the setting of user-configurable options within dBUG. With no
arguments, SET displays the options and values available. The SHOW command displays the
settings in the appropriate format. The standard set of options is listed below.
•
baud - This is the baud rate for the first serial port on the board. All communications
between dBUG and the user occur using either 9600 or 19200 bps, eight data bits, no parity,
and one stop bit, 8N1, with no flow control.
•
speed - This is the clock speed of the processor. Changing the speed parameter will
automatically configure the part’s wait states as well as the wait cycles on the external flash.
The default is 56MHz. The only clock speeds supported in dBUG are 40 and 56 MHz .
•
base - This is the default radix for use in converting a number from its ASCII text
representation to the internal quantity used by dBUG. The default is hexadecimal (base 16),
and other choices are binary (base 2), octal (base 8), and decimal (base 10).
•
client - This is the network Internet Protocol (IP) address of the board. For network
communications, the client IP is required to be set to a unique value, usually assigned by
your local network administrator.
•
server - This is the network IP address of the machine which contains files accessible via
TFTP. Your local network administrator will have this information and can assist in
properly configuring a TFTP server if one does not exist.
•
gateway - This is the network IP address of the gateway for your local subnetwork. If the
client IP address and server IP address are not on the same subnetwork, then this option
must be properly set. Your local network administrator will have this information.
•
netmask - This is the network address mask to determine if use of a gateway is required.
This field must be properly set. Your local network administrator will have this
information.
•
filename - This is the default filename to be used for network download if no name is
provided to the DN command.
•
filetype - This is the default file type to be used for network download if no type is provided
to the DN command. Valid values are: “srecord”, “coff”, and “elf”.
•
ethaddr - This is the ethernet address (a.k.a hardware address) for the evaluation board. This
should be set to a unique value, and the most significant nibble should always be even.
Examples:
To set the baud rate of the board to be 19200, the command is:
set
baud 19200
To set the clock speed of the processor to be 40MHz, the command is:
set
speed 40
NOTE:
See the SHOW command for a display containing the correct formatting of these
options.
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..