Hello,
I have a problem when debugging my application. If I use debug stepping the System Clocks always gets reset to 0. If I just use breakpoints it seems to work but as soon as I begin stepping the system clock registers are set to 0.
I already tried different Target configurations (disable interrupts when source stepping, clock control etc.) , but I did not find a solution.
I am using CCS 5.1.1.00028, MSP-FET430UIF, Compiler version 4.1.0
Could anyone help me please!
Thanks,
Joachim
Hi Joachim,
have you tried using the clock settings found in the debug properties? Please see the screenshot. These would be under Project->Properties->Debug.
Then on the right expand MSP430 Properties->Clock Control.
Please have a look and keep us informed whether this helps.
Best Regards,
LIsa
Hi Lisa,
yes I tried every setting in debug configurations. Without success.
I forget to mention that I use MSP430F148, Windows7 Prof. 64bit
Best regards,
I think I have found the problem. I have another pc where I tried this with an quite original CCS 5.1.1.00028 and there it works. The only difference is that on the CCS where it does not work that I have installed newer updates like Compiler tools 4.1.0.
If I want to debug the FET wants an (newer ?) update. No matter what compiler tool version is set. So the bug is either somewhere in the new firmware of the FET or in the Compiler tools 4.1.0
I try to reinstall now CCS and inform you if works.
Regards,
Hi again,
I downloaded the current 5.1.1.00031 and now it works. I guess if I update to the new compiler tools that I have the same problem. So maybe there is a bug in the new versions of the tools or firmware of the FET.
can you please confirm whether this is to do with the compiler version? Ie can you test whether on the new install a switch to 4.1 brings the issue back.
Best Regards,Lisa
yes - the problem is there again!
Reproducable:
1. Install the CCS 5.1.1.00031
2. Install new Software -> "MSP430 Compiler Tools 4.1.0" (I installed MSP430 Component Installer Windows 5.1.4.2, too but I don´t think thats the problem)
3. Swtich to Compiler Tools 4.1.0 (But I don´t think you have to do this step)
4. Debug your project
5. Let the FET do the new Firmware update (Maybe this firmware is the problem)
6. Bang - Stepping through the code resets the clock registers
As sayed: Windows 7 prof. 64bit, MSP430F148, MSP-FET430UIF (V1 4a) (I have 2 FET and tried it on everyone - same problem)
with the MSP430 Component Installer Windows 5.1.4.2 Update you get the latest MSP430 Debug Stack (msp430.dll Version 3.2.3.15). This explains why you need to update your FET with new firmware.
Many of our projects are based on the MSP430F449. We have installed Windows Installer MSP430 Component 5.1.4.2 also. After that, we weren't able to debug these projects due to a FLL bug in this new stack. Attempt to undo the update and revert to the previous version. We downgraded too.
Alternative you can find the current and older drivers at the following link:
http://processors.wiki.ti.com/index.php/MSP430_JTAG_Interface_USB_Driver
These packages contain a file named revision.txt with known limitations and bug fixes.
Christian
Hello Christian,
thank you for the information. Unfortunately did this bug cost me a lot of time. If you don´t know that clock registers gets reset by the debugger you try to search bugs in your own program...