User`s guide

Debugging for DSP56800E
Command-Line Debugging
243Targeting MC56F83xx/DSP5685x Controllers
display
Use the display debugging command to:
Display the contents of a register or memory location
List all the register sets on a target
Add one or more register sets, registers, or memory locations to the default
display items
Remove one or more register sets, registers, or memory locations from the default
display items
The memory output radix is specified by the radix command.
When you display registers or memory locations, the display command returns the
values to Tcl. Consequently, you can embed the display command to Tcl as follows:
set r0 [display r0] ; puts $r0 ;
set r0M [display p:$r0 32bit] ; puts $r0M
set r0r1 [display r0..r1] ; puts $r0r1 ;
This command’s default memory display is 16-bits per unit; you can change that by
specifying unit size as 8bit, 16bit, 32bit, 64bit.
Prototype
d[isplay] [ regset ] |
[on all] |
[off all] |
[off id_number ] |
[on reg_group | reg_block | addr_group [8bit | 16bit | 32bit |
64bit]] |
[off reg_group | reg_block | addr_group [8bit | 16bit | 32bit |
disassemble p:0..20 Disassembles program memory address block 0
to 20.
disassemble p:$50#10 Disassembles 10 memory locations starting at
memory map hexadecimal 50.
Table 8.14 Debugging Command Examples: disassemble (continued)
Example Description