--_002_del7f9x6ojln2hakerswarbrickdnsaliascom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Jan-Erik Soderholm writes: > The options are : > > _WDTE_OFF EQU H'FFE7' ; WDT disabl > _WDTE_SWDTEN EQU H'FFEF' ; WDT cont. by the SWDTEN bit in WDTCON. > _WDTE_NSLEEP EQU H'FFF7' ; WDT enabl while running and disabl in Sleep > _WDTE_ON EQU H'FFFF' ; WDT enabl >> > > Have you tried with _WDTE_SWDTEN and clearing (the default state > b.t.w) the SWDTEN bit? Just to test *something*... :-) Gaargh. That fixed it. But then switching back to _WDTE_OFF left it fixed... I'm not sure what I managed to do before (maybe programming the chip with the wrong hex file or something). Sorry for the noise. Rupert --_002_del7f9x6ojln2hakerswarbrickdnsaliascom_ Content-Type: text/plain; name="ATT00001.txt" Content-Description: ATT00001.txt Content-Disposition: attachment; filename="ATT00001.txt"; size=208; creation-date="Tue, 07 Aug 2012 14:50:09 GMT"; modification-date="Tue, 07 Aug 2012 14:50:09 GMT" Content-Transfer-Encoding: base64 LS0gDQpodHRwOi8vd3d3LnBpY2xpc3QuY29tIFBJQy9TWCBGQVEgJiBsaXN0IGFyY2hpdmUNClZp ZXcvY2hhbmdlIHlvdXIgbWVtYmVyc2hpcCBvcHRpb25zIGF0DQpodHRwOi8vbWFpbG1hbi5taXQu ZWR1L21haWxtYW4vbGlzdGluZm8vcGljbGlzdA0K --_002_del7f9x6ojln2hakerswarbrickdnsaliascom_-- .