Hi,
I need to benchmark some code on the Cortex M4 EVM in terms of number of cycles. I find that if I run the code on the IAR Simulator, the register CYCLECOUNTER can be used to count the number of cycles it took.
However, if I change the target to TI Stellaris, i.e. run the code on the EVM, the CYCLECOUNTER register is no longer available in the Register tab!
How can I profile or benchmark code in this case? (via software) I do not have a J-link/JTrace, only the USB ICDI connection to the PC.
Thanks,
Eakta