10.13.2. Capturing trace by disconnecting and connecting the analyzer

To capture trace from a running target:

  1. Click Toggle Analyzer on the Analysis window toolbar to disconnect from the analyzer.

  2. Unload and reload the image:

    1. Right-click on the Load Image+Symbols entry in the Process Control view to display the context menu.

    2. Select Unload from the context menu. The image is unloaded.

    3. Right-click on the Load Image+Symbols entry in the Process Control view to display the context menu.

    4. Select Load from the context menu. The image is reloaded and the PC is reset to the image entry point (0x8000). The tracepoint is removed.

  3. Click Run on the Debug toolbar to start execution.

  4. Click Toggle Analyzer on the Analysis window toolbar to connect to the analyzer. This action does not have an impact on the performance of the program.

    Note

    You cannot use the ANALYZER,connect CLI command to connect to the analyzer when the target is running.

  5. After a short time, click Stop on the Debug toolbar to stop execution. The captured trace is displayed in the Trace tab of the Analysis window. Figure 10.65 shows an example.

    Figure 10.65. Captured trace from a running target

    Captured trace from a running target

    Note

    The captured trace depends on the location that execution has reached when you connect the analyzer and the point where you stop execution.

See also

Copyright © 2006-2009 ARM Limited. All rights reserved.ARM DUI 0322D
Non-Confidential