Debugger db62 (4) Development ToolsDebug Commands

Program memory operation

as Assemble mnemonic
pe Input program code
pf [<addr1> <addr2> <code>] Fill program area
pm [<addr1> <addr2> <addr3>] Copy program memory

Data memory operation

dd [<addr1> [<addr2>]] Dump data memory
de [<addr> <data1> [<data2> [..<data16>]]] Input data
df [<addr1> <addr2> <data>] Fill data area
dm [<addr1> <addr2> <addr3>] Copy data area

Register operation

rd Display register values
rs [<reg> <value> [<reg> <value>..]] Modify register values

Program execution

g [<addr>] Execute successively
gr Reset CPU and execute successively
s [<step(D)>] Step into
n [<step(D)>] Step over

CPU reset

rst Reset CPU

Break

bp [<addr1> [<addr2> [..<addr4>]]] Set PC breakpoint
bpc [<addr1> [<addr2> [..<addr4>]]] Clear PC breakpoint
bd [<addr> <data> {r|w|}] Set data break
bdc Clear data break
br [<reg> <value> [<reg> <value>..]] Set register break
brc Clear register break
bm [{pc|addr|data|opt|a|b|f|x|y|} <value>..] Set multiple break
bmc Clear multiple break
bl Display all break conditions
bac Clear all break conditions
be Set break enable mode
bsyn Set break disable (synchronous) mode

Program display

u [<addr>] Unassemble display
sc [<addr>] Source display
m [<addr>] Mix display

Symbol information

sy [{$<keyword>|#<keyword>}] [/a] List symbols

Load file

lf [<file name>] Load IEEE-695 format absolute object file
lo [<file name>] Load Intel-HEX format file

ROM access

rp Load program from ROM
vp Verify the contents of ROM with program memory
rom [{64|128|256|512}] Set ROM type

Trace

tc [{s|m|e}] Set trace condition
ta
[{all | <start1> <end1> [..<start4> <end4>]}]
Set trace area
tac [<start1> <end1> [..<start4> <end4>]] Clear trace area
tp Display current trace pointer
td [<num(D)>] Display trace information
ts [{pc|dr|dw} <addr>] Search trace information
tf [[<num1(D)> <num2(D)>] <file name>] Save trace information into file

Others

cv [<addr1> [<addr2>]] Display coverage information
cvc Clear coverage information
com [<file name> [<interval(D)>]] Load & execute command file
rec [<file name>] Record commands to a command file
log [<file name>] Turn log output on or off
ma Display map information
otf Turn on-the-fly display on or off
tim Set time or step measurement mode
chk Report results of ICE self diagnostic test
qQuit debugger
The parameters with (D) should be specified with a decimal number. For other parameters,
hexadecimal numbers can only be used.
A symbol can be used to specify an address as follows:
@<global symbol> or @<local symbol>@<source file name>