Skip to main content
Visitor II
November 6, 2003
Question

cycle counter in st7 simulator / ice

  • November 6, 2003
  • 3 replies
  • 1020 views
Posted on November 06, 2003 at 05:44

cycle counter in st7 simulator / ice

    This topic has been closed for replies.

    3 replies

    Visitor II
    November 5, 2003
    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
    Visitor II
    November 6, 2003
    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..
    Visitor II
    November 6, 2003
    Posted on November 06, 2003 at 05:44

    Rob,

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

    Regards

    sjo