public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] eCos Watchdog Timer
@ 2001-09-04 14:17 diem.b.dang
  2001-09-05  2:29 ` Wolfram Kattanek
  0 siblings, 1 reply; 3+ messages in thread
From: diem.b.dang @ 2001-09-04 14:17 UTC (permalink / raw)
  To: eCos Disuss

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 ?

All responses are appreciated.

TIA
Diem


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] eCos Watchdog Timer
  2001-09-04 14:17 [ECOS] eCos Watchdog Timer diem.b.dang
@ 2001-09-05  2:29 ` Wolfram Kattanek
  2001-09-06 23:22   ` Jonathan Larmour
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfram Kattanek @ 2001-09-05  2:29 UTC (permalink / raw)
  To: diem.b.dang; +Cc: eCos Disuss

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] eCos Watchdog Timer
  2001-09-05  2:29 ` Wolfram Kattanek
@ 2001-09-06 23:22   ` Jonathan Larmour
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Larmour @ 2001-09-06 23:22 UTC (permalink / raw)
  To: Wolfram Kattanek; +Cc: diem.b.dang, eCos Disuss

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-09-06 23:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-04 14:17 [ECOS] eCos Watchdog Timer diem.b.dang
2001-09-05  2:29 ` Wolfram Kattanek
2001-09-06 23:22   ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).