2008-07-17 08:02 AM
How to count cycles with the ARM simulator
2011-05-17 03:23 AM
Hi !
How can I count execution cycles with the Keil MDK ? How can I do this with the simulator. Is the simulator count reliable ? I'm using the STM32 Keil Board. regards Manfred2011-05-17 03:23 AM
Hello Manfred,
I've tried the same and sometimes a get some trouble with Keil simulator and I think that it is not reliable with some instructions like STR and LDR. This discussion has pointed this, some time ago :. You can simply use the systick counter on real evaluation board of STM32 It is more accurate and can provide you the exact CPU cycles for your becnhmark routines. Regards STOne-322011-05-17 03:23 AM