This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Spurious interrupt
- From: Satish Kumar <satish at bvt dot sc dot sanyo dot co dot jp>
- To: Mahesh <mahesh at cranessoftware dot com>
- Cc: ecos <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 09 Oct 2003 09:42:28 +0900
- Subject: Re: [ECOS] Spurious interrupt
- References: <1065602343.1050.11.camel@MAHESH> <1065602396.11174.15.camel@MAHESH>
well, it seems that u have not defined the RTC interrupt vector in ur
hal_platform_ints.h file..
firstly check if u r RTC interrupts are gettin invoked..? if yes the
corresponding ISR routined should be called..put a breakpoint in ur
ISR routine and debug ur code.
this will help u to diagnose ur code..
satish
On 08 Oct 2003 14:09:56 +0530
Mahesh <mahesh@cranessoftware.com> wrote:
> Hi,
>
>
> I am using eCos for Arm pid target.I am using sid for printf's
> .I am working on PC only not on board.In my code i have 5 threads being
> created in cyg_user_start function.Alarm's are being used by the threads
> for some tasks.I am using real time clock for alarms.tick function is
> called after the scheduler is started,but once the first alarm is
> triggered,tick function is not called at all.So my second
> alarm(different from first one) is not triggering and the program is
> getting stuck.
>
> The program is going into spurious INTR code.
> What is this spurious interrupt?
> Is this the reason for tick function not to be called and second alarm
> not to be triggerd ?
>
>
> Plz reply for this mail.
> Thanks and Regards
> Mahesh
>
> --
> Mahesh M Patil
> Software Engineer
> Cranes Software International Limited
> VasanthNagar
> Bangalore
> Mobile:9845579634
> Office:2381740/1/2 Extn:234
> www.cranessoftware.com
> --
> Mahesh M Patil
> Software Engineer
> Cranes Software International Limited
> VasanthNagar
> Bangalore
> Mobile:9845579634
> Office:2381740/1/2 Extn:234
> www.cranessoftware.com
>
>
> _______________________________________________
> This email with any attachments is for the exclusive use of the intended
> recipient/s & may contain confidential & legally privileged information.
> If you are not the intended recipient pls notify the sender immediately
> & delete the email from your system. Any unauthorised use, disclosure,
> printing, dissemination, forwarding or copying of this mail is strictly
> prohibited and unlawful.
> Visit us at : http://www.cranessoftware.com
>
>
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
Satish Kumar <satish@bvt.sc.sanyo.co.jp>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss