![Freescale Semiconductor SC140 DSP Core Reference Manual Download Page 147](http://html1.mh-extra.com/html/freescale-semiconductor/sc140-dsp-core/sc140-dsp-core_reference-manual_2330564147.webp)
EOnCE Controller Registers
SC140 DSP Core Reference Manual
4-37
4.7.2 EOnCE Status Register (ESR)
The ESR is a 32-bit register. The status bits of the register indicate the status of the core as well as the
reason for entering debug state or for issuing a debug exception. All bits are read-only.
Debug reason bits are set to show what caused the core to enter debug state or execute a debug exception.
These bits are reset when the core leaves debug state or if the DIS bit in EMCR is reset by an interrupt
service routine. After entering debug state, the appropriate bit is set when a new event occurs that could
cause the core to enter debug state.
Figure 4-16
displays the bit configuration of the ESR.
GO
Bit 8
Go Command — If this bit is set, there are
two possible modes of execution:
• When used together with writing or
reading a register (except for
CORE_CMD), this register is first written
or read, and then the next instruction in
the pipeline is executed. When used
together with the NOREG register, only
the next instruction in the pipeline is
executed. In this single-step mode, the
core leaves debug state for one
instruction cycle in order to execute the
instruction. If the EX bit is also set, the
core continues normal operation after
executing the instruction.
• When used together with writing to the
CORE_CMD register, the instruction
written to the CORE_CMD register is
executed, and the core remains in debug
state. If the EX bit is set as well, debug
state is exited after the instruction is
executed.
0 = Inactive (no action taken)
1 = Execute one instruction
EX
Bit 7
Exit Command — If this bit is set, then after
executing any associated write or read
command, the core leaves debug state and
resumes normal operation. When used
together with the write or read NOREG
command, the exit command is executed
without writing or reading any register.
0 = Remain in debug state.
1 = Exit debug state.
REGSEL
Bits 6–0
Register Select — Define which register is
the source or destination for the read or write
operation. See Table 4-12 on page 4-31 for
the EOnCE register offsets.
BIT 31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
CORES
PCKILL
RCV
TRSMT TBFULL NOCHOF
REVNO
CORETP
DRTBFULL
TYPE
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
r
RESET
0
0
0
0
0
0
0
0
x
x
x
0
x
x
x
0
Table 4-13. ECR Description (Continued)
Name
Description
Settings
Summary of Contents for SC140 DSP Core
Page 12: ...xii SC140 DSP Core Reference Manual ...
Page 18: ...xviii SC140 DSP Core Reference Manual ...
Page 32: ...1 6 SC140 DSP Core Reference Manual Core Architecture Features ...
Page 180: ...4 70 SC140 DSP Core Reference Manual Trace Unit Registers ...
Page 250: ...6 70 SC140 DSP Core Reference Manual Programming Rules ...
Page 314: ...7 64 SC140 DSP Core Reference Manual NOP Definition ...
Page 463: ...DI SC140 DSP Core Reference Manual A 149 15 8 7 0 DI 1 1 4 1 0 0 1 1 1 1 1 0 1 1 1 1 1 0 1 ...
Page 478: ...A 164 SC140 DSP Core Reference Manual EI ...
Page 618: ...A 304 SC140 DSP Core Reference Manual MOVES 4F s15 sssssssssssssss Signed 15 bit offset ...
Page 638: ...A 324 SC140 DSP Core Reference Manual MPYR ...
Page 746: ...A 432 SC140 DSP Core Reference Manual ZXTA x ...
Page 758: ...I 10 Index ...
Page 759: ...SC140 DSP Core Reference Manual i ...
Page 760: ......