Embedded Development Tools and Debuggers for XC2000, TriCore, PowerPC, ARM, Cortex, SH-2A » Support & Updates » FAQ » UDE Message FAQ » MSG: UDEDebugServer: halted by CPU exception
| Print |

MSG: UDEDebugServer: halted by CPU exception: ..
WARNING: TcCoreTargIntf: cannot set exception handling at start address: ..
WARNING: TcCoreTargIntf: exception handling at .. temporary disabled

Usually the program code should handle the TriCore exceptions/traps by correct initialisation of the BTV (Trap Vector Table Pointer) register and providing a trap vector table ...

If the program does not handle the traps it 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 (UDE implements the 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 UDE because of 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 temporary disabled 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 initialisation commands.
 

Events

4. Elektronik automotive congress
Development Platforms for ARM/Cortex, TriCore, PowerArchitecture

Read more ...

embedded world 2012
Eclipse based development platform for Qorivva microcontrollers, for Kinetis (Cortex-M4) applications

Read more ...

One-Day Crash Course
Multicore Debug Solution MCDS, TriCore Hardware und Treiber-Programming

Read more ...


News

Optimized debug
tools for the
new XMC4000
microcontroller
family
of Infineon
available now

Read more...
 

UDE 3.2:
Efficient multicore
control, unique
visualization
capabilities
and support for the
latest 32-bit SoCs
from different
manufacturers

Read more...
 

Complete debug
solution for the
Development
Device of the
new TriCore
Multicore
Architecture

Read more...
 
Optimized tools
for the new
TC1791, TC1793
and TC1798
AUDO MAX
microcontrollers
Read more...
 
netX controllers
and rcX RTOS
from Hilscher
now supported by UDE
Read more...
 
Dual-core debugging
of NXP's LPC4300
under the single user
interface of UDE
Read more...
 

Kinetis MCUs
from Freescale
based on Cortex-
M4 core supported
by UDE

Read more...
 

UDE version 3.0:
More visualization
capabilities, enhanced
Eclipse integration
and dedicated
support for a wide
range of MCUs

Read more...
 

Complete new
toolchain for
Power Architecture
SoCs
from
STMicroelectronics
and Freescale
based on Eclipse,
GNU and
Universal Debug Engine

Read more...
 
UAD3+ sets new standards in the field of high-end trace and multi-core / multi-target debugging
Read more...