Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: Should MSP430 linker --cinit_hold_wdt hold the watchdog around pinit as well as cinit

$
0
0

When MSP430 CGT v4.2.3 is used with the --cinit_hold_wdt set to ON the watchdog is held over the duration of cinit in the _auto_init_hold_wdt RTS function.

With a C++ application, with --cinit_hold_wdt set to ON, using std::cout the MSP430F5529 watchdog was firing during pinit, meaning main was never reached. To prevent the watchdog from firing had to add a _system_pre_init function to the project to disable the watchdog.

Is there reason why the _auto_init_hold_wdt RTS function can hold the watchdog over cinit, but not pinit?


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>