This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: gdb remote debugging
Christoph Csebits wrote:
>
> Is anyone having an idea, about Redboot
> dealing with an hardware watchdog?
Obviously this is being discussed elsewhere. Although I slightly disagree
that you should find out where things can loop for longer than a certain
time. You may not catch them all - in the field, the code path code be
different for some reason.
I don't think it would be too bad to enable interrupts, but be careful to
make off _all_ interrupt sources except for the timer interrupt. You would
then need to unmask any necessary ones before running a downloaded
application.
Anyway, the point I want to make really is that watchdogs normally need to
be enabled before they are used (hardware that relies on system startup
being fast enough is _bad_). I'm not sure it's a good idea to enable the
hardware watchdog at all for RedBoot. Enable it in your application startup
only. If you can anyway.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine