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.

MSP430FR2110: my program code was crash during work on code composer.

Part Number: MSP430FR2110

This error was appeared on working. I did not understand what happened. The program was crash during work. You can see error screenshots and code at the attach.

Could you please help me about this problem urgently?

Thanks and best regards,



  • Timer B has two separate interrupt vectors: One applies to CCR0 and the other to everything else. You've enabled the CCR0 interrupt and the everything-else interrupt, but you've only supplied the CCR0 ISR (TIMER0_B0_VECTOR). 

    In context, given the code you already have, I suggest you not use the CCR0 interrupt, since the TBIFG interrupt accomplishes what you want. Specifically::

    1) Change TIMER0_B0_VECTOR to TIMER0_B1_VECTOR to get the everything-else interrupt

    2) Remove this line:

    > TB0CCTL0 = CCIE; // CCR0 interrupt enabled

    [Edit: Fixed minor mis-wording.\

  • thankyou bruce. problem is resolved. many thanks. 

**Attention** This is a public forum