Freescale Semiconductor StarCore SC140 User Manual
Page 5

SC140 DSP Core Reference Manual
v
Control Registers
Exception and Mode Register (EMR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
Emulation and Debug (EOnCE)
Overview of the Combined JTAG and EOnCE Interface. . . . . . . . . . . . . . . . . . . . 4-2
Cascading Multiple SC140 EOnCE Modules in a SoC . . . . . . . . . . . . . . . . . . 4-2
Activating the EOnCE Through the JTAG Port . . . . . . . . . . . . . . . . . . . . . . . . 4-6
DEBUG_REQUEST and ENABLE_EONCE Commands. . . . . . . . . . . . . . . . 4-7
Reading/Writing EOnCE Registers Through JTAG. . . . . . . . . . . . . . . . . . . . . 4-7
Executing an Instruction while in Debug State . . . . . . . . . . . . . . . . . . . . . . . 4-12
EOnCE Enabling and Power Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16
Address Event Detection Channel (EDCA) . . . . . . . . . . . . . . . . . . . . . . . 4-22
Data Event Detection Channel (EDCD) . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24
Optional External Event Detection Address Channels . . . . . . . . . . . . . . . 4-25
Change of Flow and Interrupt Tracing . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28
Reading the Trace Buffer (TB_BUFF) . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-29
Trace Unit Programming Model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-29
Reading or Writing EOnCE Registers Using Core Software . . . . . . . . . . . . . 4-33