User`s guide

Debugging for DSP56800E
Command-Line Debugging
260
Targeting MC56F83xx/DSP5685x Controllers
-a = append to an existing file
-c = write if the file does not yet exist
If the file to which you are trying to save already exists, the save command does
not overwrite the file. Instead, the save command cancels and returns without
changing the file.
-o = overwrite an existing file
You can use the Tcl set command to assign a name to a particular block of memory.
You can then substitute that name instead of typing the specification for the memory
block repeatedly.
Examples
Table 8.26
shows examples of the save command.
step
Use the step debugging command to step through a program.
The debugger automatically executes the display debugging command each time
that you invoke the step command.
Prototype
st[ep] [li | in | into | out]
Table 8.26 Debugging Command Examples: save
Example Description
set addressBlock1 "p:10..`31"
set addressBlock2 "p:10000#20"
save -h $addressBlock1 $addressBlock2 hexfile -a
Dumps the contents of
two memory blocks to
a text file called
hexfile.lod in
append mode.
set addressBlock1 "p:10..`31"
set addressBlock2 "p:10000#20"
save -b $addressBlock1 $addressBlock2 binfile -o
Dumps the contents of
two memory blocks to
a binary text file called
binfile.lod in
overwrite mode.