User`s guide

Debugging for DSP56800E
Command-Line Debugging
252
Targeting MC56F83xx/DSP5685x Controllers
hsst_write 2 0x1234 $cid
input
Use the input debugging command to map a target memory block to a host file.
When a target application reads the memory block, the application reads the contents
of the specified host file instead.
Prototype
i[nput]
[ id_num | address filename
[ -rd | -rf | -rh | -ru ]] |
[ off ]
Specify address when using the simulator to debug. Specify id_num when using
target hardware to debug.
Choose from the following options to indicate the format of the input file:
•Use -rd to indicate that the input file is a decimal file.
•Use -rf to indicate that the input file is a fractional file.
•Use -rh to indicate that the input file is a hexadecimal file.
•Use -ru to indicate that the input file is an unsigned decimal file.
Examples
Table 8.20
shows examples of the input command.
Table 8.20 Debugging Command Examples: input
Example Description
input p:$100 in.dat -RD
(This example is valid only for the
simulator.)
This example sets up the input feature so that the simulator
gets values from the in.dat file in decimal format (specified
by -RD) and places them in a memory block p:$100 when the
target application reads program memory location $100.
input off This example closes all input files and stops the input feature.
(The command is the same both when debugging with the
simulator or with target hardware.)