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


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


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