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.

WatchDog Timer Reset

Other Parts Discussed in Thread: MSP430F5438

Hii

               I am working on MSP430F5438 Board,while loading Program code in MSP430 Board,i had enabled the watchdog timer and forget to disable it ,due to which my MSP430 Board resets within first 32ms itself.

I am not able to do anything in that,not even flashing new code,while connecting MSP430 ,watchdog resets it and message display "unable to connect ".

Is there any option to disable that watchdog Timer from project settings or any other option ?

ThankYou,

  • If you can't attach to the MSP, how would a project setting on PC help you?

    Priyanka Dhomne said:
    I am working on MSP430F5438 Board,while loading Program code in MSP430 Board,i had enabled the watchdog timer and forget to disable it

    The WDT is always active at startup (else it would be a useless piece of hardware). So you have to disable it if you want. THis setting is not persistent. After power-on it is enabled again.

    Priyanka Dhomne said:
    due to which my MSP430 Board resets within first 32ms itself.

    This is normal. And the debugger should be able to attach long before.

    So it's more likely that at start of your progrm, you do something thatcauses an immediate reset - way faster than 32ms. Maybe trying to configure the watchdog with a wrong password, maybe something else that resets the MSP before the debugger can attach.

    You can try a faster software like the free Elprotronic Lite Fet-Pro430 software. Maybe you can attach to the MSP before it resets, and erase the offending firmware. If this fails, you can try to attach to the MSP using the bootstrap loader, as it is executed (if properly invoked) before any user code. See the countless other threads in this forum about this.

  • Hii Jen,

    Jens-Michael Gross said:
    So it's more likely that at start of your progrm, you do something thatcauses an immediate reset - way faster than 32ms. Maybe trying to configure the watchdog with a wrong password, maybe something else that resets the MSP before the debugger can attach.

    I verified it at the start of code nothing wrong is done in watchdog password settings,and no other issue s due to which reset occurs

    .

    Jens-Michael Gross said:
    You can try a faster software like the free Elprotronic Lite Fet-Pro430 software. Maybe you can attach to the MSP before it resets, and erase the offending firmware

    i tried this but still while connecting to FET-Pro430 Jtag Communication fails after few seconds only due to Watchdog reset.

**Attention** This is a public forum