TI E2E Community
MSP430 Ultra-Low Power 16-bit Microcontroller Forum
MSP430 and clock cycle count in CCSv5.1 full licensed verion
I think I found a bug in the Code Composer Studio v5.1
The cycle count just wont start counting, I did try this month ago with an older CCS version in the code limited version and it did work.
Now I can see the clock symbol but there are no cycles increasing as I step through my code, nor when i am free runing and stopping nor with breakpoints.
Anyone has expirienced something like that?
Doing a little digging in the CCS forum, it looks like this is a known issue: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/146193.aspx
I don't know if it's been fixed yet or not - I'm asking someone in the CCS team.
Please click the Verify Answer button on this post if it answers your question.
the problem still exists in CCS 5.5. I am using launchpad MSP430 value line with MSP430g2553.
I think I can reproduce the issue - I see a very large obviously incorrect number of cycles reported on G2xx parts, where when I run the same code on an F5xx part I see the correct number of cycles reported. It sounds like this issue: http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/293077/1021885.aspx#1021885
I'm going to follow up to see if Walter ever heard back from the CCS team on this issue.
This is different than the original CCSv5.1 issue at the top of this thread though (in that case the clock did not count at all). Can you confirm that this is what you are seeing - the clock starts counting but returns bad (extremely large) values? If not, please provide more detailed information like what code you are using and where you put the breakpoints.
yes I confirm the behawior described by you. It is also exactly the same which is included in the link provided by you (Haroldo Amaral launchpad msp430g2553, CCS Version: 5.5.0.00077, Win7 64bit). I see the issue is still not resolved. I am a little worried, he noticed that the problem exists in CCS6 beta.
I'm trying to get an update on the issue from our teams that work on CCS and our debugging tools. I will let you know as soon as I find out more - sorry for the inconvenience.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.