Motorola DSP56309 User Manual page 296

24-bit digital signal processor
Table of Contents

Advertisement

2. Select shift-DR. Shift in the 24-bit opcode: ÒMOVE R0, X:OGDBÓ. Pass through
update-DR to actually write OPDBR and thus begin executing the MOVE
instruction.
3. Wait for DSP to reenter debug mode (wait for DE or poll core status).
4. Select shift-DR and shift in ÒREAD GDB REGISTERÓ. Pass through update-DR.
(This selects OGDBR as the data register for read.)
5. Select shift-DR. Shift out the OGDBR contents. Pass through update-DR. R0 is
now saved.
6. Select shift-DR. Shift in the ÒWrite PDB with no-GO no-EXÓ. Pass through
update-DR.
7. Select shift-DR. Shift in the 24 bit opcode: ÒMOVE #$xxxx,R0Ó. Pass through
update-DR to actually write OPDBR.
8. Select shift-DR. Shift in the ÒWrite PDB with GO no-EXÓ. Pass through
update-DR.
9. Select shift-DR. Shift in the second word of the 24 bit opcode: ÒMOVE #$xxxx,R0Ó
(the $xxxx field). Pass through update-DR to actually write OPDBR and execute
the instruction. R0 is loaded with the base address of the memory block to be
read.
10. Wait for DSP to reenter debug mode. (Wait for DE or poll core status.)
11. Select shift-DR. Shift in the ÒWrite PDB with GO no-EXÓ. Pass through
update-DR.
12. Select shift-DR. Shift in the 24-bit opcode: ÒMOVE X:(R0)+, X:OGDBÓ. Pass
through update-DR to actually write OPDBR and thus begin executing the MOVE
instruction.
13. Wait for DSP to reenter debug mode. (Wait for DE or poll core status.)
14. Select shift-DR and shift in ÒREAD GDB REGISTERÓ. Pass through update-DR.
(This selects OGDBR as the data register for read.)
15. Select shift-DR. Shift out the OGDBR contents. Pass through update-DR. The
memory contents of address $xxxx have been read.
16. Select shift-DR. Shift in the ÒNO SELECT with GO no-EXÓ. Pass through
update-DR. This reexecutes the same ÒMOVE X:(R0)+, X:OGDBÓ instruction.
17. Repeat from step 14 to complete the reading of the entire block. When finished,
restore the original value of R0.
MOTOROLA
DSP56309UM/D
On-Chip Emulation Module
OnCE Module Examples
10-27

Advertisement

Table of Contents
loading

Table of Contents