Home » Support » Principles of Debugging » Instruction Trace
| Print |

Instruction Trace Support - OCDS L2, MCDS, ETM, ETB

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. 

UDE supports different kinds of trace mechanism of microcontrollers: OCDS L2 and MCDS defined by Infineon, ETM and ETB defined by ARM.


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 execution. In combination with the JTAG OCDS L1 unit it is possible to comfortably watch the program flow of the core, the PCP/PCP2 processor and the DMA processor in realtime. 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 family, including TC1130, 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 LPC2xxx, AT91RM9200, STR910 derivatives and other derivatives.


MCDS Instruction Trace

The Multi Core Debug System (MCDS) integrated on the Emulation Extension Chip (EEC) of Infineon's TC1796ED and TC1766ED is a powerful trace and event generation module. This new full-featured emulator on-silicon marks the beginning of a new era of debugging capabilities. It allows observation and control of 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 be able 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 targetand emulator hardware
  • Fast and simple definition of complex measuring tasks.
All the above described is done by joining pre-defined subtasks from expandable libraries and defining 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.


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: TriCore is a trademark of Infineon Technologies. All other brands or product names are the property of their respective holders.
 

News

Extensive support
for new Power
Architecture MCUs

from Freescale and
STMicroelectronics:
MPC560/MPC563xx,
SPC560xx/SPC563xx
Read more...
 

Final release
of UDE 2.4
supports new debug
interfaces (DAP)
and microcontroller
families (Cortex-M3)

Read more...
 

New Add-on 'ARM9
Linux Support'
offers comfortable
user interface for
simultaneous ARM
Linux kernel and
application debugging

Read more...
 

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 ...