ARM Technical Support Knowledge Articles

LOGGING A TRACE RECORDING TO A FILE

Applies to: uVision Debugger

Answer


Information in this article applies to:


QUESTION

I would like to record the trace buffer to a file so that I can view it later. Can this be accomphlished with a uV debugger command?

ANSWER

No specific uV debugger command exists for that log feature. However, the copy to clipboard and find functionality for the Disassembly Window and output has been added in uVision2.30 . The trace buffer is combined with the disassembly window and therefore you can copy to clip board and then save the clipboard to a file using MSWordpad. Use the following procedure;

1)  In the debug with simulator mode.
2)  View  - Dissassembly window
3)  View - Debug Toolbar
4)  Start from cursur
5)  Set breakpoint
6)  From Debug Toolbar -  Enable Trace Recording
7)  From Debug Toolbar -  Run (till Breakpoint)
8)  From Debug Toolbar -  View Trace Recording
9)  Move cursor in Disassembly/Trace window and highlight the lines of the Trace buffer to copy.
10) Edit - Copy
11) Start MSWordpad
12) Contol V - to Paste into MSWordpad
13) Save MSWordpad as an ASCII Text file.

The Trace function is still only available in the simulator and not the target level debugger (MON51).

MORE INFORMATION

SEE ALSO

Article last edited on: 2005-05-27 09:03:55

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential