Jump to content
Sign in to follow this  
none

Code Composer Studio Bug with Clock?

Recommended Posts

I'm trying to measure cycles between interrupts, but when I enable the clock, the debugger loses it.

I have one breakpoint in a timer ISR which works, as long as the clock is not enabled.

Can someone reproduce?

I'm with v 4.2.3.00..04 on Win7 32 bit.

Share this post


Link to post
Share on other sites

I think you should use the oscilloscope technique here because there will be overhead from the debugger that will skew your timing results. I have also found that if I set a breakpoint inside an ISR then I'll screw up the debugger and CSS connection.

 

If you have a scope, toggle a bit at the start and at the end of what you're trying to measure. Let the program run continuously and measure the time.

Share this post


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.

Sign in to follow this  

×
×
  • Create New...