oPossum 1,083 Posted May 25, 2011 Share Posted May 25, 2011 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? Quote Link to post Share on other sites
nobody 47 Posted May 25, 2011 Share Posted May 25, 2011 Apparently you have set the simulation, not debugger. (In the IAR Embedded Workbench menu Project ->Options -> Debugger -> Setup -> Driver -> set to "FET Debugger") Quote Link to post Share on other sites
Mac 67 Posted May 25, 2011 Share Posted May 25, 2011 I would love to know how you enable the simulator and cycle counter in CCS. I was told (here on 43oh) that there wasn't a simulator in CCS... Quote Link to post Share on other sites
oPossum 1,083 Posted May 25, 2011 Author Share Posted May 25, 2011 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? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.