This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

M55 PMU cycle counter returning 0.

Hey community, 

I'm new to this processor configuration task. I'm currently trying to measure the number of cpu cycles taken by arm cortex-m55 for executing a code. I took CMSIS-6 implementation: CMSIS_6/CMSIS/Documentation/Doxygen/Core/src/ref_pmu8.txt at 8c4dc58928b3347f6aa98b6fb2bf6770f32a72b7 · ARM-software/CMSIS_6 · GitHub as a reference for my task.

The code has been compiled without any errors/warnings. But after execution, the cycle counter is returning 0. For debugging purpose I checked tarmac log file, and I can see that the addresses are being accessed as expected. What's the way to debug the issue?

Thank you.

0