
Debug Support
e200z3 Power Architecture Core Reference Manual, Rev. 2
9-26
Freescale Semiconductor
Figure 9-8. CPU Scan Chain Register (CPUSCR)
9.5.8.1
Instruction Register (IR)
The instruction register provides a way to control the debug session by serving as a means of forcing in
selected instructions and causing them to be executed in a controlled manner by the debug control block.
The opcode of the next instruction to be executed when entering debug mode is contained in this register
when the scan-out of this chain begins. This value should be saved for later restoration if continuation of
the normal instruction stream is desired.
On scan-in, in preparation for exiting debug mode, this register is filled with an instruction opcode selected
by debug control software. By selecting appropriate instructions and controlling the execution of those
instructions, the results of execution may be used to examine or change memory locations and processor
registers. The debug control module external to the processor core controls execution by providing a
single-step capability. Once the debug session is complete and normal processing is to be resumed, this
register may be loaded with the value originally scanned out.
9.5.8.2
Control State Register (CTL)
The control state register (CTL), shown in
, stores the value of certain internal CPU state
variables before debug mode is entered. This register is affected by the operations performed during the
debug session and should normally be restored by the external command controller when returning to
TDO
TDI
TCK
MSR
WBBRUpper
32
32
0
31
0
31
PC
32
0
31
IR
32
0
31
CTL
32
0
31
WBBRLower
32
0
31
Содержание e200z3
Страница 1: ...e200z3 Power Architecture Core Reference Manual Supports e200z3 e200z335 e200z3coreRM Rev 2 06 2008 ...
Страница 32: ...e200z3 Power Architecture Core Reference Manual Rev 2 xii Freescale Semiconductor ...
Страница 50: ...Register Model e200z3 Power Architecture Core Reference Manual Rev 2 2 2 Freescale Semiconductor ...
Страница 238: ...Memory Management Unit e200z3 Power Architecture Core Reference Manual Rev 2 5 16 Freescale Semiconductor ...
Страница 332: ...Power Management e200z3 Power Architecture Core Reference Manual Rev 2 8 4 Freescale Semiconductor ...
Страница 424: ...Revision History e200z3 Power Architecture Core Reference Manual Rev 2 A 2 Freescale Semiconductor ...