From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Kattanek To: diem.b.dang@delphiauto.com Cc: eCos Disuss Subject: Re: [ECOS] eCos Watchdog Timer Date: Wed, 05 Sep 2001 02:29:00 -0000 Message-id: <999682175.3b95f07f544c8@imp.imms.de> References: <05256ABD.0074EB62.00@notes.delphiauto.com> X-SW-Source: 2001-09/msg00094.html diem.b.dang@delphiauto.com: > I'm looking for the information how to use this feature of "Watchdog Timer" in > NEC/V850. > Are there such feature or similar feature from eCos ? 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. Wolfram -- Wolfram 'L.A.' Kattanek Institut fuer Mikroelektronik- und Email: LA@imms.de Mechatronik-Systeme (IMMS) gGmbH Tel: +49 3677 / 6783-55 Langewiesener Str. 22 Fax: +49 3677 / 6783-38 98693 Ilmenau / Germany ------------------------------------------------- This mail sent through IMP: imp.imms.de