Skip to main content
rob239955_st
Associate
Nov 6, 2003 4:44 AM UTC
Question

cycle counter in st7 simulator / ice

Posted on November 06, 2003 at 05:44

cycle counter in st7 simulator / ice

This topic has been closed for replies.

3 replies

rob239955_st
Associate
Nov 5, 2003 4:58 PM UTC
Posted on November 05, 2003 at 17:58

Hi

i've been using the st7 for about 1.5 years nowm, but one thing i notice is that you can't count cpu cycles. - by that i mean count the cpu cycles as you single step or animate thoruough code (like you can in the mplab dev kit)

Does any one know if the st simulator / emulator can do this (i'm using the dvp)

any help would be appreciated.

regards

rob carter
shreya
Visitor II
Nov 6, 2003 4:09 AM UTC
Posted on November 06, 2003 at 05:09

Hi,

The trace records data for each cpu cycle. Does that help? If no, could you tell me which device you are using?

rgds..
sjo
Associate III
Nov 6, 2003 4:44 AM UTC
Posted on November 06, 2003 at 05:44

Rob,

This can be done in the simulator, look under ST7 Registers,Time.

Regards

sjo