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.

TI C/C++ MSP430 4.4.2 cinit_hold_wdt=on not working

Hi,

I updated recently my compiler tools in order to switch my project to EBAI (wanted to use doubles instead of floats for some calculations).

Debugging via JTAG, the program was always reseting at the beginming  and I tracked down the problem to a WDT event during the initialization. I was a bit surprised because I use cinit_hold_wdt=on when linking. 

On my computer, I have the following versions of the compiler available: 4.3.1,4.3.2,4.3.3,4.3.4,4.3.5,4.4.2 in tools\compiler\ directory.

A quick file search for the text sequence WDTCTL gave me lines like WDTCTL = HOLD_WDT; in each \lib\src\autoinit.c file of the 4.3.X versions (which makes sense).

But the search did not find anything for the compiler v 4.4.2 beside the following lines in autoinit_wdt.c: 

Line 48: extern volatile uint16_t WDTCTL;
Line 54: uint16_t initial_WDT = WDTCTL;
Line 58: WDTCTL = RESTORE_WDT(initial_WDT);

Nothing that points to somewhere where the watchdog is hold during the initialization ...

Am I missing something ??