View CPU cycle count while debugging ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

View CPU cycle count while debugging ?

Jump to solution
800 Views
geoff_s
Contributor III

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.

Labels (1)
0 Kudos
Reply
1 Solution
572 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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:

KDS trace capabilities?

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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
1 Reply
573 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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:

KDS trace capabilities?

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply