Am 21.08.2011 13:18, schrieb Peter Bigot:

> As an example, without -mdisable-watchdog you'll still get versions of two
> of those other routines that will store the contents of r5 into WDTCTL
> periodically as they go about their work.  If you didn't load r5 with WDTPW
> + WDTHOLD in __low_level_init, lord only knows what's going to happen, but
> among other things, the watchdog will probably be re-enabled with some
> random timeout.

No. If you poke something into WDTCTL that does NOT contain WDTPW in the
proper position, the nodes are going to do a POR (power-on reset). It's
a bit less than a PUC you get after powering up, and can cause other
nasty effects (been there had those)... and documented behaviour.

In fact if you want a soft boot, be sure that your bootstrap (reads if
needed and) clears things a PUC would initialize and poke something you
can pull from the constant generator into WDTCTL.  Of course you don't
want that in the bootstrap for normal operation...

-- 
M. Andree

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to