Embedded Development Tools and Debuggers for XC2000, TriCore, PowerPC, ARM, Cortex, SH-2A » Support & Updates » Principles of Debugging
| Print |

Accessing the Target System the Way You Like ?

Overview about communication channels with the supported microcontrollers XC166, XC2000, TriCore, PowerPC, ARM, Cortex, SH-2A

Our debugging software escorts you either way. Please find the following overview about the different debug solutions and their support by the target access hardware. Typical variants for remote debug connection using the debugger Universal Debug Engine (UDE) regarding the available communication interfaces on the C16x, XC16x, ST10, TriCore, PowerPC, ARM7, ARM9, ARM11, XScale, SH-2A microcontroller hardware are:

Controller Peripheral Transfer rate1) Monitor UAD2 compact UAD2+ UAD2 UAD fast
-PC6x
Host
PC4)
Reference Board3) ASC RS232
57600 bps
 
ASC0/ASC1 RS232
up to 1 Mbps
   
ASC0/ASC1 TTL
up to 1 Mbps
       
SSC RS485
up to 2,5 Mbps
     
SSC TTL
up to 2,5 Mbps
       
3PIN
(SoftwareSSC)
RS485
variable
       
3PIN
(SoftwareSSC)
TTL
variable
       
3PIN
(Hardware3Pin)
TTL
variable
       
CAN CAN
up to 1 Mbps
   
DAP
(XC2000, TriCore)
 LVTTL
up to 50 MHz
 no          
JTAG OCDS
(XC166, XC2000, XE166)
LVTTL
up to 20 MHz
no    
JTAG OCDS, Nexus, H-UDI
(TriCore, PowerPC, XScale, SH-2A)
LVTTL
up to 50 MHz
no      
JTAG EmbeddedICE
(ARM7, ARM9, ARM11, Cortex)
LVTTL
up to 50 MHz
no       

Controller Peripheral Interface Monitor UAD2 compact UAD2+ UAD2 UAD fast
-PC6x
Host
PC4)
JTAG5)
Parallel Port
TTL no          

1) The transfer rate means the physical transfer frequency of the transmission medium and the controller peripheral.
4) Target communication via standard Host PC interfaces.
5) UDE demo version for Starterkit.

For a detailed description of the available communication interfaces please use the MCU and Tool Selection form.


Debugging via Monitor Solution

  • Available for ALL C16x, XC16x, ST10 and TriCore derivatives
  • Access to even the latest derivatives when emulators are not yet available
  • Supports communication to the host PC via different high-speed serial interfaces
  • Even if the application uses all of the serial ports, debugging is possible via generic port pins
  • Portable Monitor Toolkit for accessing proprietary target system hardware
  • Service Monitors for above mentioned communication path available - the ideal solution for on-site application parameter setup
  • ASC Bootstrap loader + ASC / SSC / CAN / 3Pin (depends from supported derivative) combines availability of special interfaces with the convenience of ROMless debug target systems
  • CAN Bootstrap loader (depends from supported derivative) makes the debugging of ROMless debug target systems faster (for ST10F276 available and for XC16x and TriCore in preparation)
  • Service Monitors for all interfaces available for integrating into the product. Especially useful for on-site control and parametering the application.

To be able to use the various communication interfaces, monitor programs are required for the target sytems. Two ways of generating and loading of the monitor code are available:

  1. ROM Monitor Solution: The monitor code may be derived and built from a monitor source library according to the user's demand. This monitor hex code can be flashed into the nonvolatile target memory, i.e. into FLASH or EPROM memory. After the "flashing" of the monitor code, the monitor will be executed directly after the power on.
  2. Bootstrap loader / RAM Monitor Solution: A configurable predefined monitor may be adapted to the used target hardware. This monitor will be downloaded via ASC Bootstrap loader or CAN Bootstrap loader into the target and executed before every debug session. The CAN Bootstrap loader is available for ST10F276 and other new devices only.

The following communication channels are available as ROM Monitor or as ASC Bootstrap loader / RAM Monitor:

  • Asynchronous serial RS232 interface via ASC0 Interfac.
  • Asynchronous serial TTL interface via ASC0 Interface.
  • Asynchronous serial RS485 interface via ASC0 Interface.
  • Synchronous serial RS485 interface via SSC Interface.
  • Synchronous serial TTL interface via SSC Interface.
  • 3Pin RS485 interface ( Software SSC via 3 Port Pins).
  • 3Pin TTL interface ( Software SSC via 3 Port Pins).
  • 3Pin TTL interface ( Hardware Interface via 3 Port Pins).
  • CAN serial interface. The CAN interface may be shared with the application.

The utilization of the target communication channel depends on the used interface solution. Within the Universal Debug Engine following devices are supported:

  • Universal Access Device 2+
  • Universal Access Device 2
  • Universal Access Device
  • fast-PC67C/PCI
  • fast-PC65C/PCMCIA

Debugging via JTAG OCDS L1

JTAG OCDS (On-Chip Debug Support) offers direct access to microcontrollers with an On-Chip Debug Support module (e.g. EGOLD, UTAH, XC166, XC2000, XE166 and the TriCore derivatives TC1130, TC1920, TC1796). JTAG OCDS provides a direct serial interface to the controller-internal functional units (registers, busses, control unit etc.). This way, debugging is performed without monitor software or emulators.

OCDS is the base of the latest generation of development environments with new features:

  • Event Triggering by the on-chip trigger unit, by software breakpoints or by the Break Input pin
  • Additional execution of data transfers
  • Complex trigger conditions
  • Symbolic conditions for enhanced definitions
  • Automatic selection and optimized usage of the on-chip resources
  • Task-specific breakpoints
  • Access to the entire address space of the controller without any external hard- or software resources
  • Hardware breakpoints for debugging in On-Chip FLASH or EPROM
  • Optimum support for single-chip applications.

JTAG OCDS is supported by the Universal Access Device and Universal Access Device 2 hardware add-on of the Universal Debug Engine.


Debugging via JTAG Nexus, EmbeddedICE, H-UDI

JTAG offers direct access to microcontrollers with an On-Chip Debug Support module (e.g. C166CBC, C166S V2, TriCore, PowerPC, ARM7, ARM9, ARM11, Cortex-M3, XScale, SH-2A). It provides a direct serial interface to the controller-internal functional units (registers, busses, control unit etc.). This way, debugging is performed without monitor software or emulators.

JTAG is supported by the Universal Access Device 2+ and Universal Access Device 2 hardware add-on of the Universal Debug Engine.


Debugging via DAP

This new debug interface was established by Infineon for the AUDO Future devices and other upcoming 16bit and 32bit-microcontrollers (e.g. TC1797, XC2000, XE166).
The new 2- or 3-wire Device Access Port DAP allows debug communication with higher transmission rates than existing JTAG based communication channels (up to 80 MHz).  The new board connector is a 0.05 inch double row 10 pins micro terminal with keying shroud, which saves board space on targets system side.

All features of the DAP are supported by the Universal Access Device 2.


TriCore and XC2000 Instruction Trace via MCDS

MCDS support is an add-in available for UDE and is used to capture processor states in real-time using an USB or JTAG connection to the derivative. This can only be done with the Multi Core Debug Support (MCDS) onchip trace features of special versions of TriCore TC1766ED, TC1767ED, TC1796ED, TC1797ED and XC2000ED derivatives.

MCDS is supported by the Universal Emulation Configurator add-on and by the Universal Access Device 2 hardware add-on of the Universal Debug Engine.


TriCore Instruction Trace via OCDS L2 Trace Add-On

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 is supported by the Universal Access Device - Trace Board option of the Universal Debug Engine.


ETM and Nexus Instruction Trace

Embedded Trace Macrocell (ETM) and Nexus trace support the recording of the running program's trace of the core, PCP, PCP2 and DMA activity, if available.  This allows the watching of the flow of the running program in real-time within the process environment. Timing measurements of critical sections are also possible. ETB is supported.

ETM and Nexus trace are supported by the Universal Access Device - Trace Board option.

Debugging via Emulator

With the Integrated Development Environment UDE an extensive emulator support is offered. Using the same GUI as for the monitor-based debugger, UDE offers a developer-friendly and easy-to-use solution.

Even when working on a project in workgroups a mixture of both, UDE monitor debug solutions as well as emulator solutions, is the best way to create a cost-efficient development environment with the priceless advantage of only having to learn and operate one single user interface instead of two or more.

  • Additionally to the monitor solution, a trace functionality is available
  • Debugging single-chip applications without external RAM
  • Complex breakpoints / triggering on events possible
  • Simulation memory available
  • Real-time execution for extremely time critical applications

Trademarks: TriCore is a trademark of Infineon Technologies. ARM, EmbeddedICE and Thumb are registered trademarks of ARM Limited. ARM7, ARM9 and Embedded Trace Macrocell, are trademarks of ARM Limited. ST is a registered trademark of companies belonging to the STMicroelectronics Group. All other brands or product names are the property of their respective holders.
 

Events

embedded
world 2010
Brand new UAD3+,
High End Trace,
Embedded Linux,
Task debugging
via CAN (PXROS-HR),
Universal Emulation
Configurator 2

Read more ...

One-Day Crash Course

Multicore Debug Solution MCDS, Universal Emulation Configurator und Debuggen mit UDE

Read more ...


News

UAD3+ sets new standards in the field of high-end trace and multi-core / multi-target debugging
Read more...
 
Optimized development environment for AUDO FUTURE and XC2000/XE166 in UDE 2.6 with UEC2 and emulation adapters
Read more...
 
UDE 2.6 supports new Cortex-M3 and Cortex-A8 based MCUs from NXP, Toshiba, STMicroelectronics and Texas Instruments
Read more...
 
UDE now supports VaST's Virtual Processor Models and Tools
Read more...
 

Convenient Eclipse
plug-in
for all
microcontroller
architectures
supported by UDE

Read more...
 
UDE now available also for Freescale’s
i.MX25 family
of multimedia
applications
processors
Read more...
 

UDE supports
Renesas'
powertrain
microcontroller
series SH725x

Read more...
 
Trace support for
PowerArchitecture
derivatives from
STMicroelectronics
and Freescale via
Nexus interface
Read more...
 

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

Read more...
 
Extensive support
for new Power
Architecture MCUs

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