Displaying X Memory Area Starting At Address $Xxxx - Motorola DSP56305 User Manual

24-bit digital signal processor
Table of Contents

Advertisement

10.12.6 Displaying X Memory Area Starting at Address $xxxx

The DSP56300 must be in Debug mode and all actions described in Saving Pipeline
Information on page 10-25 must have been executed. Since R0 is used as pointer for the
memory, R0 is saved first. The sequence of actions is:
1. Select shift-DR. Shift in the "Write PDB with GO no-EX". Pass through
update-DR.
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).
MOTOROLA
DSP56305 User's Manual
On-Chip Emulation Module
Examples of Using the OnCE
10-27

Advertisement

Table of Contents
loading

Table of Contents