Chapter 4 Emulation and Debug (EOnCE)

The SC140 core provides board and chip-level testing capability through two on-chip modules:

Enhanced on-chip emulation (EOnCE) module

Joint test action group (JTAG) test access module These modules are accessed through the JTAG or EOnCE port.

The EOnCE module provides a means of non-intrusive interfacing with the SC140 core and its peripherals, enabling users to examine registers, memory, or on-chip peripherals. Special circuits and dedicated signals on the core are defined, which avoid sacrificing user-accessible on-chip resources. With respect to developing applications for the SC140, the EOnCE provides application developers the following:

Breakpoints on address ranges

Breakpoints on data bus values

Detection of events, which can initiate a number of different actions determined by a developer

Non-destructive access to the core and its peripherals

Various means of profiling

Program tracing

4.1 Debugging System

With the JTAG or EOnCE interface, the user can insert the SC140 core into a target system while retaining debug control. The EOnCE module is used in DSP devices that are based on the SC140 to debug application software in real time. EOnCE is a separate on-chip block that allows non-intrusive interaction with the core. It is accessible through the contents of the JTAG interface signals as well as from the software. The EOnCE module makes it possible to examine the contents of registers, memory, or on-chip peripherals in a special debug environment. This avoids sacrificing user-accessible on-chip resources to perform debugging.

The EOnCE module provides system-level debugging for real-time systems with the ability to:

Maintain a running log and trace when tasks and interrupts are executed.

Debug the operation of real-time operating systems (RTOS).

SC140 DSP Core Reference Manual

4-1

Page 111
Image 111
Freescale Semiconductor SC140 specifications Emulation and Debug EOnCE, Debugging System