Home » On-Chip Trace
| Print |

On-Chip Trace - OCDS L2, MCDS, ETM, ETB and Triggered Transfers

In depth real-time debugging requires close interaction with the processor.  Tracing shall provide a chronological picture of a system's inner workings - before or after a critical event - mainly to help analyzing a faulty program. OCDS L2 was defined for this purpose and is available for the TriCore derivatives. The OCDS L2 unit of the TriCore derivatives supports the recording of a program's execution. In combination with the JTAG OCDS L1 unit it is possible to comfortably watch the
program flow in realtime. UDE, the universal debug engine, basically supports the OCDS unit through the Universal Access Device add-on.


OCDS L2 Instruction Trace

The OCDS L2 (On-chip Debug Support Level 2) unit of the TriCore derivatives supports the recording of a running program's trace. In combination with the JTAG OCDS L1 unit a comfortable watching of the program flows of the core, the PCP/PCP2 processor and the DMA processor in real-time are possible. UDE supports the OCDS unit by the Universal Access Device - Trace Board option.

60 Pin OCDS L2 High-speed Connector Pod

  • Proposed by Infineon to support connection to OCDS L2 port of TriCore 1.3 systems (TC11xx, TC17xx, TC19xx and future derivatives)
  • Connector system based on SAMTEC 60 pin highspeed connector QSH-030-01-F-D-A
  • Prepared to use for systems up to 180 MHz system clock
  • Supports 2,5V to 3,6V I/O ring voltage
OCDS L2 is supported by the TriCore TC1130, TC1161, TC1163, TC1166, TC1775, TC1762, TC1764, TC1766, TC1796, TC1920 and other derivatives.


ETM Instruction Trace

The Embedded Trace Macrocell (ETM) of ARM derivatives is used to capture processor states in real-time using a dedicated connection to the derivative.

UDE supports ETM as 4 bit or 8 bit trace port up to 170 MHz system clock. The program and data trace allows to record up to 1 MSamples. By compiling the trace data directly via the trace hardware this sample rate complies with a multitude of machine code instructions. Each sample is able to contain eight additional external hardware signals. Recording is synchronous to the system clock frequency. This ensures the optimal use of the trace memory and allows application specific time stamps. Start and stop of recording is comfortably controlled via triggers. The total performance of the ETM unit is available for trigger events. The comfortable trace window included in the user interface offers a direct link to the user from trace samples to the related source code, monitoring the runtime of the program based on the time stamps and comprehensive search functions. UDE supports the ETM unit by the Universal Access Device - Trace Board option.

38 Pin ETM High-speed Connector Pod

  • Proposed by ARM to support connection to ETM port of ARM systems (LPC21xx and further ARM7, ARM9, ARM11 derivatives)
  • Connector system based on 38 pin high-speed connector AMP-MICTOR
  • Supports 2,5V to 3,6V I/O ring voltage
ETM is supported by the Philips LPC2xxx, AT91RM9200, STR910 derivatives and other derivatives.


MCDS Instruction Trace

The Multi Core Debug System (MCDS) integrated on the Emulation Extension Chip (EEC) of Infineons TC1796ED and TC1766ED is a powerful trace and event generation module. This new full-featured emulator onsilicon opens a new age of debugging capabilities.It allows to observe and control the running system in a very purposeful way. Elaborated filter mechanisms and a high visibility to the system internals (cores and busses) are the key features of MCDS. To make use of them the MCDS has to be configured for each trace task using the Universal Emulation Configurator (UEC).

The Universal Emulation Configurator is the hardware-independent tool to describe measuring tasks for on-chip emulators and is comparable with development environments for the hardware draft.
With its assistance development engineers can also create configuration data for an on- chip emulator without large expenditure of time and this independently of the respective target hardware.
With the "Universal Emulation Configurator" the developer gets a top-notch configuration tool just right for demanding measuring tasks with on-chip emulators.

Major benefits of using the UEC are:

  • Functional description on basis of a state machine
  • Being independent from the respective target and emulator hardware
  • Fast and simple definition of complex measuring tasks
This is done by joining pre-defined subtasks from expandable libraries and defines parameters.

MCDS is supported by the TriCore family, including TC1766ED and TC1796ED derivatives.


ETB Instruction Trace

The Embedded Trace Buffer (ETB) extends the ETM unit of ARM derivatives by an embedded on-chip circular trace buffer. This simplifies the adaptation of external trace units because the high speed trace signaling does not need to transfer to the external unit. The trace buffer is managed and read via the JTAG communication channel.

ETB is supported by UDE with the Philips LPC3000 derivatives.


Triggered Transfers

The UDE TTF Recorder uses the Triggered Transfer feature of new Infineon microcontrollers. Triggered Transfer is part of the on-chip debug support implemented on these controllers. It allows transferring the value of a single memory location via the JTAG debug interface.

The transfer is triggered by a debug event of the onchip debug support (OCDS) unit. There are several types of debug events that can trigger the transfer depending on the actual type of controller. A typical use case provided by all supported controller types is to trigger on write accesses on a single variable and to transfer the new value of the variable.

The recording is done while the target system is in running state.


OCDS L2 and MCDS Trace Feature Comparison

The following table gives an overview about the OCDS L2 and MCDS trace features of the Infineon TriCore microcontrollers.

Feature list new MCDS known OCDS L2
Supported Chips TC1796ED, TC1766ED Any TriCore Derivative
TriCore Instruction Pointer Trace ok ok
DMA Trace ok ok
PCP Instruction Pointer Trace ok ok
PCP Channel (Priority) Trace ok  
Data Trace, Watch point Trace, Bus Trace ok  
TriCore-PCP mixed Instruction Pointer Trace ok  
Number of Ranges to be traced simultaneously 6 ranges 1 range
OCDSL1 Trigger Condition ok ok
Sequential Trigger Condition ok  
Reference-Clock (USB-Clock) based Time Stamps ok  
Time based Trigger Condition ok  
Tick based Time Stamps ok ok
Single shot Time Stamps for Time measurement ok  
Stopping TriCore and/or PCP on Trigger Condition ok Manual configuration
Emitting Signal on external Break pin on Trigger ok Manual configuration
Connector 16-Pin standard JTAG Connector 60-Pin OCDS L2 Connector with Trace pod
UDE-Tool Ordering Code UDE/UAD2 and UEC UDE/UAD2+-TC L2


Trademarks: ARM, EmbeddedICE, Embedded Trace Macrocell are trademarks of ARM Limited. TriCore is a trademark of Infineon Technologies.
 

News

Freescale’s Power
Architecture™
MPC5510
now
supported by UDE
UDE supports
Power Architecture™
MPC5510 from
Freescale with
unlimited multicore
debugging

Read more...
 
UDE supports new AUDO FUTURE family from Infineon
UDE supports new 32 bit microcontroller family AUDO FUTURE from Infineon:
TC1736, TC1767, TC1797 and emulation devices TC1767ED, TC1797ED
Read more...
 
UDE supports additional PowerPC family
pls have present at embedded world 2008 a new version of its Universal Debug Engine (UDE), tailored to the special features of AMCCs high-end PowerPC family 440.
Read more...
 
Infineon's new XE166 realtime signal controllers supported
At the same time as the market introduction of the XE166 real time signal controllers. pls introduces the Universal Debug Engine 2.2
Read more...
 
New major version of UDE 2.2
Highlights: ++ Full compatibility for Windows Vista ++ New additional front end with look and feel of Microsoft Visual Studio 2005 ++ ...
Read more...
 

Events

Visit us at the Embedded Systems Conference 2008
San Jose, CA, Booth #3020
Read more ...