This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
There is a problem on MSP430F123 basic clock LFXT1 oscillator during debugging. When I perform any of stepping instructions (F5, F6, Ctrl+Shift+F6) the XTS control bit is switched off and the oscillator is stopped. Only Assembly Step into ( Ctrl+Shift+F5) is working correct way.
CCS is running on Windows7(32b). I am using MSP-FET430UIF v1.4a interface to connect to target.
what version of CCS and MSP430 compiler are you using? In the project debug settings, what MSP430 clock control settings do you have set?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Lisa TI:
I installed a fresh version of free edition of CCS5.2.0.00069 on Friday. For project I am using default settings as usual.
Is it Ok? Or do you want to check something in details?
In reply to Juris Sirs:
ok have a look at the debug settings as there are various clock control settings you have access to when debugging the MSP430.
On the right you will see both some Generic Debug settings and some MSP430 Properties and clock control.
Please keep us informed whether this helps.
The "Stop the following clocks on emulation halt" is not exactly that I mean.
Actually on emulation halt all is Ok. I can use breakpoints or use a Suspend button in CCS debugger.
I can resume execution (F8) after that- all is working.
Only when I am stepping into code (the first my message), the problem appears on first step. The XTS bit is dropped and LFXT1 is switched off.
The only button working correctly is "Assembly Step Into (Ctr+Shift+F5)".
It is more like a bug.
ok, thanks for the clarification. I understand a bit better now. Is it possible for you to send a small test case which shows this behaviour for you? It would be interesting to see if we can reproduce this.
Hi Lisa,I have made default empty CCS project for MSP430F123.There is working code. Actually there is enought only 2 lines in main. If I stop on first line and push a step button the LFXT1 is on. If I push step button once again- the XTS is dropped and XT1 halted.
If I use Ctr+Shift+F5 all is working.
volatile int a;
BCSCTL1 = XT2OFF + XTS + RSEL2; // XT1 On
IFG1 &= ~OFIFG;
}while(IFG1 & OFIFG);
BCSCTL2 = SELM_3;
WDTCTL = WDTPW + WDTCNTCL;
a = 2000;
thanks for that. Let us look into things from our end and post feedback as soon as we have some.
Actually there are more problems connected by MSP430 Debugger. May be it is good to add them as well?
1. The latest 3 versions of CCS (2 of 5.1 and 5.2) have a problem by Instruction Clock measurement from Run->Clock->Enable. The Clock is activated, but it is not working. It shows 0 all the time. On previous version Clock worked on eZ430-F2013, but not using MSP-FET430UIF (I do not check current version on eZ...).
2. When we are using Ctrl+Shift+F5 for stepping, the feature "Disable interrupts while source stepping" is not working. This problem there is long time.
thanks for the further feedback. I am working on getting feedback from the development team here but please have a bit of patience.
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. 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.