We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello
CYCCNT will stop counting When the CPU halt due to breakpoints in debugging mode.At this point,the current count value of CYCCNT can be read.But this count value is not the value at which the halt occurred.CYCCNT will count additional cycles after a halt occurs.I would like to obtain specific data on this additional number of cycles.Looking forward to your reply.
Best Regards.
Hello,
CYCCNT should stop upon halt.
https://developer.arm.com/documentation/ddi0403/d/Debug-Architecture/ARMv7-M-Debug/The-Data-Watchpoint-and-Trace-unit/CYCCNT-cycle-counter-and-related-timers
Which processor are you using? I wonder if what you are seeing are pipeline effects?