|ARM Technical Support Knowledge Articles|
Applies to: ULINK USB-JTAG Debugger
Information in this article applies to:
The Logic Analyzer does not update variables properly when using Serial-Wire Realtime Trace on a Cortex-M3 based device.
Logic Analyzer shows data values graphically based on the captured Trace Records and presents another visualization of part of the Trace data. Defined variables in Logic Analyzer also directly control the Trace setup for Data Read/Write events.
Serial-Wire Realtime Trace has some restrictions on the traced variables:
Traced variable must be updated via explicit write/read access.
It is not possible to trace variables which are changed via DMA. Variables must be read or written explicitly to generate a Trace Record.
Traced variable changes too often.
For each change of the variable a Trace Record is created. If the Trace Records are sent too fast to ULINK2, then Trace: HW Buffer Overrun is displayed in the µVision Status Bar.
A possible solution to overcome the Trace restrictions is to use dedicated global variables for trace. For example:
Request the files attached to this knowledgebase article.
Article last edited on: 2008-10-13 06:45:39
Did you find this article helpful? Yes No
How can we improve this article?