This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: eCos Watchdog Timer


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]