MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
919
Preliminary—Subject to Change Without Notice
MDU continues executing until it finishes any ongoing operation even if microengine is in halt state,
except when the halted instruction is an END.
There are two kinds of halt state, depending on the previous microengine state when halted:
1.
halt_idle
, if the engine was not executing a thread when halted; the engine cannot leave halt_idle
to fetch instructions, so one cannot single-step or follow a program flow; it can, however, execute
forced instructions (see
Section 23.4.10.2.7, “Forced Microinstruction Execution
2.
halt_exec
, if the engine was executing a thread when halted. The engine can single-step and
continue a program flow from halt_exec.
When microengine exits halt state, any dependable action is suspended and, if exiting halt_exec, the
instruction pointed by the PC is fetched, while the instruction already fetched before halt is executed. Note
that both the PC and the prefetched instructions can be modified during halt state, with a forced execution
of a branch instruction (see
Section 23.4.10.2.7, “Forced Microinstruction Execution
23.4.10.2.3
Hardware Breakpoints
Microengine can enter halt state through a command from the Debug Interface, configuring a hardware
breakpoint. Hardware breakpoints can halt the microengine on specific conditions, listed below. These
conditions depend on NDEDI configuration (for more details see the
NDEDI Block Guide
).
•
CHAN register assignment (only by microcode, not by time slot transition).
•
SPRAM read and/or write to a given address and/or write data. The breakpoint is always qualified
by the SPRAM address, but the following variations are allowed:
— break on write only, read only, or read-and-write.
— break on higher-byte write data value, lower 24-bit write value, full word (32-bit) write value,
or regardless of data.. Break on read data is not supported.
•
PC (program counter) value.
•
Beginning of a thread with a Host Service Request pending.
•
Beginning of a thread with a Link Service Request pending.
•
Beginning of a thread with a Match Service Request pending.
•
Beginning of a thread with a Transition Service Request pending.
•
End of a thread.
•
Illegal instruction execution.
All these conditions can also be qualified by the value of the CHAN register.
On any of these conditions, halt of one microengine does not depend on the halt of the other, unless the
other engine is configured to do so, via Nexus Interface. Occurrence of any of these conditions halts the
microengine, i.e., the conditions are logically “ored” together, and they can be individually enabled.
While in halt state, the microengine can also execute any forced microinstruction not in the normal
program flow (see
Section 23.4.10.2.7, “Forced Microinstruction Execution
) or, if in halt_exec, in
single-step (see
Section 23.4.10.2.6, “Single-step Execution
There are situations when requests for stopping an engine, breakpoint and service can occur
simultaneously. Breakpoint requests always prevails over a stop request (ETPUECR bit MDIS=1 or SoC
Содержание MPC5632M
Страница 22: ...MPC563XM Reference Manual Rev 1 22 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 62: ...MPC563XM Reference Manual Rev 1 62 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 92: ...MPC563XM Reference Manual Rev 1 92 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 168: ...MPC563XM Reference Manual Rev 1 168 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 242: ...MPC563XM Reference Manual Rev 1 242 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 302: ...MPC563XM Reference Manual Rev 1 302 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 410: ...MPC563XM Reference Manual Rev 1 410 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 440: ...MPC563XM Reference Manual Rev 1 440 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 464: ...MPC563XM Reference Manual Rev 1 464 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 554: ...MPC563XM Reference Manual Rev 1 554 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 590: ...MPC563XM Reference Manual Rev 1 590 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 622: ...MPC563XM Reference Manual Rev 1 622 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 716: ...MPC563XM Reference Manual Rev 1 716 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1114: ...MPC563XM Reference Manual Rev 1 1114 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1144: ...MPC563XM Reference Manual Rev 1 1144 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1266: ...MPC563XM Reference Manual Rev 1 1266 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1316: ...MPC563XM Reference Manual Rev 1 1316 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1348: ...MPC563XM Reference Manual Rev 1 1348 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1362: ...MPC563XM Reference Manual Rev 1 1362 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1382: ...MPC563XM Reference Manual Rev 1 1382 Freescale Semiconductor Preliminary Subject to Change Without Notice ...