This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: stops at start function
- From: "mohanlal jangir" <mohanlaljangir at hotmail dot com>
- To: "Mahesh" <mahesh at cranessoftware dot com>
- Cc: "eCos Discussion" <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 14 Oct 2003 10:13:30 +0530
- Subject: Re: [ECOS] stops at start function
- References: <1066103852.1058.1.camel@MAHESH> <Law11-OE37HuNeduV9t00002c34@hotmail.com> <1066105298.1050.6.camel@MAHESH>
> I want first alarm to trigger only once.
> Second alarm i want to trigger is different from first one.
> But after my first alarm gets triggered,RTC ISR is not called at all
> and hence tick function is not called.So there is no increment in real
> time counter and hence no trigger.
> What may be the reason for ISR not to be called?
>
Do you mean, when your first alarm is triggered, the ISR registered is not
called!! If I understand your query properly, I would suggest you to check
following -
1. You are registering ISR, with cyg_alarm_create
2. Make 4th and 5th argument of cyg_alarm_create "global static". (Basically
I want to make sure, that valid memory is allocated for those arguments).
3. Make sure your alarm is really triggered. Can you send the code snippet,
which is creating and initialising the alarm?
Regards
Mohanlal
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss