From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Wolfram Kattanek Cc: diem.b.dang@delphiauto.com, eCos Disuss Subject: Re: [ECOS] eCos Watchdog Timer Date: Thu, 06 Sep 2001 23:22:00 -0000 Message-id: <3B9867D9.FAEE482B@redhat.com> References: <05256ABD.0074EB62.00@notes.delphiauto.com> <999682175.3b95f07f544c8@imp.imms.de> X-SW-Source: 2001-09/msg00159.html Wolfram Kattanek wrote: > > diem.b.dang@delphiauto.com: > [snip] > If you think of the V850 hardware watchdog timer capabilities > then look at ecos/packages/hal/v85x/ceb_v850/current/src/plf_stub.c as an > example. The watchdog timer is used for the breakpoint emulation inside > the GDB stub. The V850 watchdog timer can generate NMIs or INTs (see > V850 user manual). > > If you think of a watchdog functionality inside eCos then just include > CYGPKG_IO_WATCHDOG in your eCos configuration. This will give you emulated > watchdog functionality (using real time clock and alarm). You can also add > your own hardware watchdog driver (currently there is no driver for the V850). > There are some examples in ecos/packages/devs/watchdog for this kind of driver. Of course if you add a hardware watchdog driver, it will break the use of the watchdog for breakpoint emulation be warned... 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