# Collect clock dumps using JTAG

Source: [https://docs.qualcomm.com/doc/80-88500-3/topic/106_Collect_clock_dumps_using_JTAG.html](https://docs.qualcomm.com/doc/80-88500-3/topic/106_Collect_clock_dumps_using_JTAG.html)

1. Open any TRACE32 window (AOP is recommended).
2. Type <kbd class="ph userinput">sys.m.a</kbd> to attach TRACE32 to the device under test.
3. Load the .elf file and set breakpoint if needed.
4. Recreate the use case scenario.
5. Break TRACE32 using one of the following methods:
    - Click Pause in the TRACE32 user interface.
    - Press F8.
    - User-defined breakpoint.
    - Type the following
            command.

            do <GLUE_BUILD>\common\core\tools\tools\systemdrivers\clock\<target id>
            \testclock.cmm
            Copy to clipboard
6. To obtain a dump of all clocks, type all in the pop-up window. The clock dump is printed
        in the message area of TRACE32.

**Parent Topic:** [Collect clock dumps](https://docs.qualcomm.com/doc/80-88500-3/topic/105_Collect_clock_dumps_.html)

Last Published: Sep 26, 2023

[Previous Topic
Collect clock dumps](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/105_Collect_clock_dumps_.md) [Next Topic
Collect clock dumps using the ADB shell](https://docs.qualcomm.com/bundle/publicresource/80-88500-3/topics/107_Collect_clock_dumps_using_the_adb_shell.md)