Skip to main content

[Arm] Can I attach to an Arm target without resetting the on-chip trace? - Knowledgebase / FAQs by core architecture / Arm - Lauterbach Support

[Arm] Can I attach to an Arm target without resetting the on-chip trace?

Authors list

Yes. If the on-chip trace has already been configured and started by the target application, you can attach to the target without resetting the trace unit or losing the existing trace contents.

Use the following command sequence:

Onchip.DISable
Onchip.Attach
SYStem.Mode Attach
Break

The Onchip.DISable command prevents TRACE32 from initializing or resetting the on-chip trace when attaching to the target.

After the connection has been established, the existing trace contents can be displayed with:

Trace.List

This is useful when analyzing trace data collected before the debugger was connected.

Helpful Unhelpful

2 of 2 people found this page helpful

Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image