Is there a way to see the cpu cycle counter while debugging with Kinetis Design Studio ? I wanting to quickly check the number of cycles required for some instructions in my code, without resorting to techniques like systick or toggling external pins. This was something I vaguely recall I could do in CodeWarrier.
解決済! 解決策の投稿を見る。
Hi Geoff,
this is because CodeWarrior comes with a built-in trace viewer and support for hardware trace, while something like this is not present in KDS.
I may suggest you refer these two thread for workaround:
Kinetis design studio Trace and Profile
can this help you?
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Geoff,
this is because CodeWarrior comes with a built-in trace viewer and support for hardware trace, while something like this is not present in KDS.
I may suggest you refer these two thread for workaround:
Kinetis design studio Trace and Profile
can this help you?
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------