How to calculate the execution time in CPU08 cycles

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to calculate the execution time in CPU08 cycles

2,531件の閲覧回数
tupham
Contributor I
Dear all,
 
I have used CodeWarrior for HC(S)08 version 5.1 to demo about LINMasterSlave. I want to calculate the execution time in CPU08 cycles. I have used the connection MON08Interface. From 'Help', I knew that the 'SoftTrace' can show the execution in CPU cycles. But I can use it because the CW08 v5.1 that I used have not full license. So, if anybody have another way to solve that problem, please tell me.
 
Anyway, thanks a lot.
 
Tu Pham.
ラベル(1)
0 件の賞賛
返信
3 返答(返信)

611件の閲覧回数
JaimeFemenias
Contributor I
Mplab is free, and have "StopWath", change to microchip.:smileyvery-happy:
0 件の賞賛
返信

611件の閲覧回数
CrasyCat
Specialist III
Hello
 
You should be able to see cycle counts in the CodeWarrior debugger if you use the Trace component instead of the Softtrace one.
 
There is one limitation in V5.1. The simulator starts counting the cycles when application is started.
You cannot reset the cycle count to 0 at a given time to evaluate cycle count for a specific portion of code.
 
If you upgrade to CodeWarrior for MCU V6.0, you have to ability to reset the cycle count if you wish.
 
CrasyCat
0 件の賞賛
返信

611件の閲覧回数
peg
Senior Contributor IV

Hi,

Use P&E's simulator/debugger..... free for hc08.

www.pemicro.com

Regards David

 

0 件の賞賛
返信