Jump to content
43oh

CCS clock cycle counter


Recommended Posts

Enabling the clock really slows down execution. It seems to single step and count the cycles of each instruction. Is this a limitation of the G series parts or do all MSP430 lack a hardware instruction cycle counter? Is there any way to enable/disable the clock with the keyboard?

Link to post
Share on other sites

I am using Code Composer Studio (CCS), not IAR Kickstart - sorry that wan't clear. Target is the Launchpad with G2231.

 

It is running on the hardware because the I/O responds as expected. A software simulator would certainly be a great addition to CCS.

 

I have also noticed that the first cycle count after enabling the timer is often 1 higher than it should be. Anyone else see this behavior?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...