This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Clock problem with eCos 1.3.1 using uITRON compatibility
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: jecer at rational dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 25 Jan 2002 20:55:43 +0000
- Subject: Re: [ECOS] Clock problem with eCos 1.3.1 using uITRON compatibility
- Organization: Red Hat UK Ltd.
- References: <1E0ABA7B578BCC40AA5EED022EFE32E6019622C3@sca-can1it01.rational.com>
jecer@rational.com wrote:
>
> Thanks for your help. I tried your suggestion (incrementing a global
> variable in Cyg_RealTimeClock::isr() and Cyg_RealTimeClock::dsr() ) and
> determined that the two functions are not being called at all. That
> explainst why get_tim always returns 0.
>
> Is there anything that needs to be done explicitly to enable the clock
> interrupt?
It should automatically be enabled when the kernel starts. Have you tried
some of the "standard" kernel tests (in install/tests/kernel)?
But I'll mention anonymous CVS again :-).
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