Home » Support » FAQ » UDE Messages » UDE with a TriCore target - in some cases the programs stops or/and one of the following messages
| Print |

I use UDE with a TriCore target. In some cases the programs stops or/and one of the following messages erupt in the command window:

  1. MSG: UDEDebugServer: holded by CPU exception: ..

  2. WARNING: TcCoreTargIntf: cannot set exception handling at start address: ..

  3. WARNING: TcCoreTargIntf: exception handling at .. temporary disabled

What is the background of this behavior ?

Usually the program code should handle the TriCore exceptions/traps by correct initialization of the BTV (Trap Vector Table Pointer) register and providing a trap vector table. If the program does not handle the traps the TriCore can crash unexpectedly by occurrence of a trap.

UDE supports the debugging of programs that does not implement the trap handling. Enable the UDE trap handling by the dialog 'TriCore Traps' from the menu 'Debug - Setup TriCore Traps' (per default enabled) and set the BTV register to a meaningful value.

The error/warning messages above occur under following circumstances (if UDE implements trap handler):
  1. If a real trap occurs, the TriCore program will be stopped and the first message will be shown.
  2. If the BTV register is pointing into the program location and the program oversteps the trap entry point, the program will be stopped by the UDE trap handling and the first message will be shown. Set the BTV register to point in a location outside of the program code.
  3. If the BTV register is pointing into read/only memory and the debugger tries to handle the traps, the second warning message will be occur because the debugger cannot map the trap routines. Set the BTV register to point in read/write memory.
  4. If the program was stopped at the trap entry code, the trap handling will be disabled temporary because of the impossible reentry into the trap handling code. The third warning will be occur.
Please note that the UDE exception/trap handling is enabled per default. The BTV register is setup via the initialization commands.
 

News

Trace support for
PowerArchitecture
derivatives from
STMicroelectronics
and Freescale via
Nexus interface
Read more...
 
UDE supports new
LPC32x0 32-bit
microcontroller
family from NXP
High-speed debug
access via JTAG,
more efficient
program/data trace
and Linux support.
Read more...
 
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...
 

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

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

Read more...
 

Events

Embedded Software Engineering Kongress 2008
Sindelfingen, Germany

Embedded World 2009
Nuremberg, Germany

Read more ...