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.

CCS/MSP430F5528: failed to suspend when debug

Part Number: MSP430F5528
Other Parts Discussed in Thread: MSP430WARE

Tool/software: Code Composer Studio

I use msp430f5528 to blink a LED, and it work well. But when a press "suspend" button, it shows the information as below. If resume the program, it will be reset.

"Break at address "0x3d0" with no debug information available, or outside of program code."

Address "0x3d0" is Timer0_B7_TB0R. 

Source code is attached. Could anyone help me to solve that?

----------------

#include "msp430f5528.h"

void main(void)
{
WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer

P4DIR |= BIT0;
P4OUT |= 0x01;

TB0CCTL0 = CCIE; // CCR0 interrupt enabled
TB0CCR0 = 10000;
TB0CTL = TASSEL_2 + MC_2 + ID_3;// SMCLK, continuous mode

_BIS_SR(LPM0_bits + GIE); // Enter LPM0 w/ interrupt

while(1)
{
__delay_cycles(32768);
}
}

// Timer B0 interrupt service routine
#pragma vector=TIMER0_B0_VECTOR
__interrupt void Timer_B (void)
{
P4OUT ^= 0x01; // Toggle
TB0CCR0 += 10000; // Add Offset to CCR0
}

  • XU RAN said:

    I use msp430f5528 to blink a LED, and it work well. But when a press "suspend" button, it shows the information as below. If resume the program, it will be reset.

    "Break at address "0x3d0" with no debug information available, or outside of program code."

    When you halt the code, it is not uncommon for a message like the one above to be displayed, if it is simply a matter of the code halting at an address for which there is no corresponding debug information. However, when you resume the program, it should continue to run normally. It appears that is not happening in your case. If so, you would need to debug why that is. 

    Your code looks very similar to the examples included in MSP430Ware. I would suggest starting first with a few of the examples in MSP430Ware (which are tried and tested) and verify that those run properly with your target board. Then you can create a new project based on one of the examples and modify it to suit your needs. This way the other factors like linker command file and project settings will already be established from the baseline examples. 

    I would also recommend using the latest versions of MSP430Ware and CCS.