Going From Debug To Normal Mode In A Current Program; Going From Debug To Normal Mode In A New Program - Motorola DSP56305 User Manual

24-bit digital signal processor
Table of Contents

Advertisement

On-Chip Emulation Module
Examples of Using the OnCE
15. Select shift-DR. Shift out the OGDBR contents. Pass through update-DR. The
memory contents of address $xxxx has been read.
16. Select shift-DR. Shift in the "NO SELECT with GO no-EX". Pass through
update-DR. This re-executes 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.
Note:
Polling for status through the JTAG instruction register is preferable to
reading the OnCE status register through the DR path.

10.12.7 Going from Debug to Normal Mode in a Current Program

In this case, the user has finished examining the current state of the machine, changed
some of the registers, and wishes to return and continue execution of its program from
the point where it stopped. Therefore, the user must restore the pipeline of the machine
end enable normal instruction execution. The sequence of actions is:
1. Select shift-DR. Shift in the "Write PDB with no-GO no-EX". Pass through
update-DR.
2. Select shift-DR. Shift in the 24 bits of saved PIL (instruction latch value). Pass
through update-DR to actually write the Instruction Latch.
3. Select shift-DR. Shift in the "Write PDB with GO and EX". Pass through
update-DR.
4. Select shift-DR. Shift in the 24 bits of saved PDB. Pass through update-DR to
actually write the PDB. At the same time the internally saved value of the PAB is
driven back from the PABFR register onto the PAB, the ODEC releases the chip
from Debug mode and the normal flow of execution is continued.

10.12.8 Going from Debug to Normal Mode in a New Program

In this case, the user has finished examining the current state of the machine, changed
some of the registers, and wishes to start the execution of a new program (the GOTO
command). Therefore, the user must force a "change of flow" to the starting address of
the new program ($xxxx). The sequence of actions is:
1. Select shift-DR. Shift in the "Write PDB with no-GO no-EX". Pass through
update-DR.
10-28
DSP56305 User's Manual
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents