µVISION DEBUGGER: RESTRICTIONS DEBUGGING ON TARGET HARDWARE
Information in this article applies to:
I'm using the µVision Debugger with an third-party hardware driver
to debug my programs on my target system. Are there any restrictions
that exist for this platform?
Yes. The µVision Simulator offers a lot of powerful features that
are not available when debugging on target hardware. Some of these
are available depending on the target system and the driver provided.
For example, some emulator drivers have none of these restrictions
while JTAG interfaces may have most of them.
The following features may not be available when debugging target
Memory Map: The memory map is configured by your target
hardware and the monitor software. It is impossible to use the
memory map dialog to change the memory layout of the physical
Trace Memory: Trace memory may not be available when
debugging on target hardware.
Call Stack: Your programs typically run at full speed on
target hardware. There is no way to locate each call (required to
create a call stack) without slowing your program execution
Performance Analyzer: Your programs typically run at
full speed on target hardware. There is no way to capture and
record each instruction executed without slowing your program
Code Coverage: Your programs typically run at full speed
on target hardware. There is no way to capture and record each
instruction executed without slowing your program execution
Step Out: If a Call Stack is not maintained it will be
impossible to Step Out of a function.
Periodic Window Update: The target hardware must send
data to the PC to update window contents. For this reason, the
periodic window update functionality only works if your target
hardware does this.
Breakpoints: Execution breakpoints are handled while
your program runs at full speed. Memory access and conditional
breakpoints, however, require comparison of multiple triggers which
may not be supported by your target.
Logic Analyzer: The target debugger must be able to
capture signals. Most systems do not support this feature due to
hardware restrictions. Using µVision with such a hardware, the
Logic Analyzer will be not available.
Note that this is only a partial list of the limitations of target
The following Discussion Forum threads may
provide information related to this topic.
Last Reviewed: Tuesday, June 20, 2006