10-28
DSP56309UM/D MOTOROLA
On-Chip Emulation Module
OnCE Module Examples
10.12.7
Returning from Debug to Normal Mode (Same Program)
In this case, you have finished examining the current state of the machine, changed some
of the registers, and wish to return and continue execution of the same program from the
point where it stopped. Therefore, you must restore the pipeline of the machine and
enable normal instruction execution. The sequence of actions to do so is listed below:
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
Returning from Debug to Normal Mode (New Program)
In this case, you have finished examining the current state of the machine, changed some
of the registers, and wish to start the execution of a new program (the GOTO command).
Therefore, you must force a Òchange-of-flowÓ to the starting address of the new program
($xxxx). The sequence of actions to do so is listed below:
1. Select shift-DR. Shift in the ÒWrite PDB with no-GO no-EXÓ. Pass through
update-DR.
1. Select shift-DR. Shift in the 24-bit Ò$0AF080Ó which is the opcode of the JUMP
instruction. Pass through update-DR to actually write the instruction latch.
2. Select shift-DR. Shift in the ÒWrite PDB-GO-TO with GO and EXÓ. Pass through
update-DR.
3. Select shift-DR. Shift in the 16 bit of Ò$xxxxÓ. Pass through update-DR to actually
write the PDB. At this time the ODEC releases the chip from debug mode and the
execution is started from the address $xxxx.
Note:
If the device enters debug mode during a DO LOOP, REP instruction, or other
special cases such as interrupt processing, STOP, WAIT, or conditional
branching, you must first reset the DSP56300 and then proceed with the
execution of the new program.
Содержание DSP56309
Страница 25: ...xxii DSP56309UM D MOTOROLA Figure D 25 Port E Registers PCRE PRRE PDRE D 39 ...
Страница 30: ...MOTOROLA DSP56309UM D 1 1 SECTION 1 DSP56309 OVERVIEW ...
Страница 47: ...1 18 DSP56309UM D MOTOROLA DSP56309 Overview DSP56309 Architecture Overview ...
Страница 48: ...MOTOROLA DSP56309UM D 2 1 SECTION 2 SIGNAL CONNECTION DESCRIPTIONS ...
Страница 85: ...2 38 DSP56309UM D MOTOROLA Signal Connection Descriptions OnCE JTAG Interface ...
Страница 86: ...MOTOROLA DSP56309UM D 3 1 SECTION 3 MEMORY CONFIGURATION ...
Страница 104: ...MOTOROLA DSP56309UM D 4 1 SECTION 4 CORE CONFIGURATION ...
Страница 124: ...MOTOROLA DSP56309UM D 5 1 SECTION 5 GENERAL PURPOSE I O ...
Страница 125: ...5 2 DSP56309UM D MOTOROLA General Purpose I O 5 1 INTRODUCTION 5 3 5 2 PROGRAMMING MODEL 5 3 ...
Страница 128: ...MOTOROLA DSP56309UM D 6 1 SECTION 6 HOST INTERFACE HI08 ...
Страница 166: ...MOTOROLA DSP56309UM D 7 1 SECTION 7 ENHANCED SYNCHRONOUS SERIAL INTERFACE ESSI ...
Страница 212: ...MOTOROLA DSP56309UM D 8 1 SECTION 8 SERIAL COMMUNICATION INTERFACE SCI ...
Страница 241: ...8 30 DSP56309UM D MOTOROLA Serial Communication Interface SCI GPIO Signals and Registers ...
Страница 242: ...MOTOROLA DSP56309UM D 9 1 SECTION 9 TRIPLE TIMER MODULE ...
Страница 269: ...9 28 DSP56309UM D MOTOROLA Triple Timer Module Timer Operational Modes ...
Страница 270: ...MOTOROLA DSP56309UM D 10 1 SECTION 10 ON CHIP EMULATION MODULE ...
Страница 302: ...MOTOROLA DSP56309UM D 11 1 SECTION 11 JTAG PORT ...
Страница 369: ...C 22 DSP56309UM D MOTOROLA DSP56309 BSDL Listing ...
Страница 370: ...MOTOROLA DSP56309UM D D 1 APPENDIX D PROGRAMMING REFERENCE ...
Страница 405: ......
Страница 409: ......