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/MSP430F67641: Restart issue

Part Number: MSP430F67641

Tool/software: Code Composer Studio

  

Dear sir,

We are working on MSP430F67641 energy library based project.

Below mention issue in our project.
Our application program size is 35 Kb our MCU is work very well.but when our program size is greater than 45 Kb our MCU are continuous restart.

In restart condition we are increase C6 capacitor value which is connect MCU reset pin.Our restart problem are solve but we can't debugging and programing while connecting this 470nf capacitor.

we are also attached our reset pin section in this post   

Kindly provide suggestion how to solve this restart problem.

Any help would be appreciated. Thanks in advance.

Reguard's

Hiren R. Thumar

  • Hello,

    I will move this question to the MSP forum. The experts there can help you best.

    Thanks
    ki
  • Hi!

    Here's solution to your problem, pay special attention to additional 1k resistor between RC (R5, C6) circuit and RST pin.

    Also you shall read this thread

  • Hi Ki-Soo Lee,

    Thanks for suggestion.

    we connect 1k resistor as you suggest and after test our module but our restart problem is not solve.

    Below mention test case after additional 1k resistor between RC (R5, C6) circuit and RST pin.

    R5=47k C6=2.2nF restart every MCU 5 sec./ no problem debugging and programing
    R5=47k C6=100nF restart every MCU 10 sec/no problem debugging and programing
    R5=47k C6=470nF restart continuously /no problem debugging and programing

    Kindly provide suggestion how to solve this restart problem.

    Any help would be appreciated. Thanks in advance.

    Rearguard's

    Hiren R. Thumar
  • Our application program size is 35 Kb our MCU is work very well.but when our program size is greater than 45 Kb our MCU are continuous restart.

    Am I wrong in suspecting changes in the software causing this "difference" ?

    Perhaps you just omitted to kick the watchdog, or kick it in time.

  • hiren thumar said:

    we connect 1k resistor as you suggest and after test our module but our restart problem is not solve.

    Initially you said increasing reset pin RC capacitor solved problem, now you say - it did not. 1K do not solve restart problem but problem with debugger.

    hiren thumar said:
    Kindly provide suggestion how to solve this restart problem.

    Any help would be appreciated. Thanks in advance.

    Well, if you would read my previous post carefully [grin] you would notice link to forum thread containing second solution. That actually address continuous restart loops problems.

    In short: add following to your firmware:

    int __low_level_init(void)
    {
        /* Insert your low-level initializations here */
        WDTCTL = WDTPW + WDTHOLD; // Stop Watchdog timer
    
        /*==================================*/
        /* Choose if segment initialization */
        /* should be done or not. */
        /* Return: 0 to omit seg_init */
        /* 1 to run seg_init */
        /*==================================*/
    
        return (1);
    }
    

**Attention** This is a public forum