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.

MSP430G2755: Microcontroller works in debugger mode, but turning it on without MSP-EFT does not work.

Part Number: MSP430G2755
Other Parts Discussed in Thread: MSP-FET,

Greetings to the entire community.

I am doing a development for my company of telemetry devices, but I have a problem now that I finish the code, when connecting the MSP-FET to the board where the MSP430G2755 microcontroller is, everything works OK. But when I disconnect the MSP-FET so that the board starts up by itself when it is turned on, I observe that it does not turn on, it does not start the program since nothing is observed on the LCD display.

I have searched the forums and found that several members have had similar problems that were solved by adjusting the reset circuit, so I checked mine well and I see it well.

I can't add all the code because there are more than 3500 lines, but these are the first of the main function:

    if(mes==6){send_string("Jun");}
    if(mes==7){send_string("Jul");}
    if(mes==8){send_string("Ago");}
    if(mes==9){send_string("Sep");}
    if(mes==10){send_string("Oct");}
    if(mes==11){send_string("Nov");}
    if(mes==12){send_string("Dic");}
    retardo_com();
}

int main(void)
{
    WDTCTL = WDTPW | WDTHOLD;
    BCSCTL1 = CALBC1_8MHZ;
    DCOCTL = CALDCO_8MHZ;
    lcd_init();
    comando (CURSOR_OFF );
    SDA_configsal;SCL_configsal;SCL_bajo;SDA_bajo;
    t_ljson=2;
    retardo_ver();

    while (1)
        {
            while (estado==0)
            {
                estado=5;
                probador=LEER_MEM(0);
                comando(CLEAR_DISPLAY);
                send_string("   DAILY TECH   ");
                ir_lin_esp (3,1);
                send_string("Sist. telemetria");
                ir_lin_esp (4,1);

I am not using interruptions since all the communication is by software as well as the delays, I am using the analog reading to read some buttons. The rest is just code to communicate, process signals, generate the LCD interface and similar things. Disable code optimization for a situation that happened.

The strange thing I saw is that when commenting on the configuration lines for the clock (BCSCTL1 = CALBC1_8MHZ; and DCOCTL = CALDCO_8MHZ;) so that the microcontroller will work with the factory configuration (I think it is MCLK with the DCO at 1Mhz), the microcontroller if it works when turning it on without the MSP-FET, the problem is that I need to operate it at 8Mhz per processing.

I thank everyone who can help me with this, I will be pending in the forum.

**Attention** This is a public forum