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.

MSP430FR5972: Error during debug mode

Part Number: MSP430FR5972


Hi all,

When I run my project it was stuck and a message comes i.e.No source available for "0x605de" 

No source available for "0x605de" 

suggest me how I solve this issue.. 

  • Hello,

    Could you please share your code and explain exactly where and when the code goes to 0x605de. If you dont know the answers to these questions, please share your code and I will try to replicate this and get back to you.
  • Hi Nima,

    Actualy this massage comes when code line enter into UART ISR


    my UART ISR is below:


    #if defined(__TI_COMPILER_VERSION__) || defined(__IAR_SYSTEMS_ICC__)
    #pragma vector=USCI_A0_VECTOR
    __interrupt void USCI_A0_ISR(void)
    #elif defined(__GNUC__)
    void __attribute__ ((interrupt(USCI_A0_VECTOR))) USCI_A0_ISR (void)
    #else
    #error Compiler not supported!
    #endif
    {
    switch(__even_in_range(UCA0IV,USCI_UART_UCTXCPTIFG))
    {
    case USCI_NONE: break;
    case USCI_UART_UCRXIFG:

    bufLen=strlen(u8serialcommand);
    if(arr_size <= 49 || UCA0RXBUF == 0x0D)
    {
    arr_size++;
    u8serialcommand[bufLen]=UCA0RXBUF;
    }
    __bic_SR_register_on_exit(LPM0_bits); // Exit LPM0 on reti
    case USCI_UART_UCTXIFG: break;
    case USCI_UART_UCSTTIFG: break;
    case USCI_UART_UCTXCPTIFG: break;
    }
    }



    NOTE: One more thing, I am useing a API idle_state(); problem comes only after execute this API. if I comment this API then there is no problem massage comes. below I am sending this API also:



    int idle_mode(void)
    {
    uint32_t volt_batt = 0;
    uint32_t seven_days_count=0;
    // ASIC_disableStim(0);
    // ASIC_disableStim(1);
    LED_stimOff();
    uart_putstring("\r\n");

    do
    {
    volt_batt = read_bat_volt(); // Read the battery voltage
    if (getFourHrTimerCount() == 1) //It should be four_hour_Count+14400 not 16 for 4 hour
    {
    uint32_t intRTCval;
    intRTCval = atoi(date_time);
    uart_putstring("\r\nIn 4 Hour Loop in Idle\r\n");
    fram_write(0x004400, intRTCval);
    //four_hour_Count = 0;
    //u32FourHrTimerCnt = 0;
    seven_days_count++;

    }
    if(seven_days_count == 4) // it should be 42 not 4
    {
    teEtsState = ETS_LPM_STATE;
    uart_putstring("\r\nIn 7 Days Loop\r\n");
    break;
    }
    if((!(buttonPressed())) || volt_batt <= VIN(min))
    {
    if(volt_batt < BAT_LOW)
    {
    P1OUT ^= BIT3; // Toggle Battery yellow LED
    __delay_cycles(10000);
    }
    else if(volt_batt >= BAT_LOW)
    {
    P1OUT = BIT2;
    __delay_cycles(50000);
    }
    }
    else
    {
    //uart_putstring("\r\nButton NOT Pressed or VBAT < BAT_LOW \r\n");
    P1OUT = ~BIT2;
    }

    }while(!(volt_batt < BAT_MIN));
    uart_putstring("\r\nBreak Executed \r\n");
    teEtsState = ETS_HIBERNATE_STATE;
    return teEtsState;

    }
  • Any Reply..............
  • Hello,

    When single stepping through the code, which line causes the MCU to jump to 0x605de?

    Does the MSP recover after going to 0x605de or does it get stuck in that state?

    I'm looking to see what exactly is located at 0x605de.

  • When UART Rx interrupt generated case USCI_UART_UCRXIFG

    After this line program get stuck whaen I pause the single lining step this error comes

  • Could you please share the lines of code you use to setup your UART?
  • Here is an issue in your code that must be addressed. In your UART interrupt, the switch statement has the different cases for the source of the interrupt. You must "break;" out of the cases. Your code is missing the "break;" after the line "__bic_SR_register_on_exit(LPM0_bits); // Exit LPM0 on reti". Could you please try to add this line and try again?


    I'm trying to pin down the cause.

    I know eUSCI_A0 Registers are at Base Address: 05C0h.
    The UCA0IV is offset by 0x1E. Which locates the UCA0IV at 05DE (0x605DE is where your code is stuck).

    If you could send me your code I would be able to test it on my side.

    Also have you modified your linker cmd file?
  • Hello,

    Could you please respond to my question above?

    Thank you,
    Nima Eskandari

**Attention** This is a public forum