
SDBUG Execution Environments
9-9
second parameter (
0
) disables the clock prescaler, and the third
parameter (
0
) is used as the clock divisor (divide by 2). (These are the
default settings for boards running at 100 MHz and above.) The second
command establishes the connection.
Refer to the
Corelis Software Development Kit User’s Manual
for
information on supported JTAG clock speeds.
The JTAG commands described in
Table 9.6
are used to select
information that is requested from the target using the JTAG connection.
The format for JTAG commands is:
(sdbug)
jtag
jtag-command
Table 9.6
SDBUG JTAG Commands
Command
Description
close
filename
Close file
filename
.
1
1. This command may also be invoked without the target name. See
Section 9.3.1, “Generic Target-
Specific Commands”
on page
9-11
for details.
help
List JTAG commands.
set_clk
val1 val2 val3
Sets the JTAG clock according to the JTAG interface in
question. With the Corelis JTAG interfaces, the values
are base clock occillator, prescaler enable, and clock
divisor, respectively.
For Macraigor Raven, it would be the speed value
followed by two zeros.
Generally speaking, fthe JTAG clock speed should be
approximately 1/10th to 1/20th of the ZSP clock speed.
raven_lpt
port
Tells the debugger to use LPT 1, 2, or 3 as the Raven
LPT port.
max_number_of_files
number
Specify the maximum number of files that can be
opened at the same time.
1
memory_download
filename addr size
Write
size
of items to memory
addr
from file
filename
.
addr
can be a label.
1
memory_upload
filename addr size
Read
size
of items from memory
addr
to file
filename
.
addr
can be a label.
1