* [ECOS] second alarm not triggering
@ 2003-10-01 5:33 Mahesh
0 siblings, 0 replies; 7+ messages in thread
From: Mahesh @ 2003-10-01 5:33 UTC (permalink / raw)
To: ecos
Hi,
My first alarm is triggered but the second alarm is not triggering at
all.After the first alarm is triggered the tick function is not called
at all.What may be problem?
Thanks and Regards
Mahesh
_______________________________________________
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ECOS] second alarm not triggering
2003-10-07 12:08 ` Mahesh
@ 2003-10-08 12:01 ` Nick Garnett
0 siblings, 0 replies; 7+ messages in thread
From: Nick Garnett @ 2003-10-08 12:01 UTC (permalink / raw)
To: Mahesh; +Cc: ecos
Mahesh <mahesh@cranessoftware.com> writes:
> Hi Robert,
> Thanks once again for ur reply.
> second alarm is added to the counter.I have debugged till
> here.But the tick function is not called at all.I have put breakpoints
> at ISR and also at DSR. Once the first alarm is triggered,control is not
> at all going to ISR or DSR and hence not to tick function.
> How can i debug it step by step.
> Thanks and Regards
> Mahesh
Are you waiting long enough for the next interrupt? Running with SID
will be several orders of magnitude slower than the real hardware. It
may take a long time for 10ms to pass in simulated time, depending on
the speed of your host.
Alternatively, there may be some differences between what the eCos
HAL expects of the hardware and what SID actually implements.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ECOS] second alarm not triggering
2003-10-07 5:47 ` Mahesh
@ 2003-10-07 5:54 ` Satish Kumar
0 siblings, 0 replies; 7+ messages in thread
From: Satish Kumar @ 2003-10-07 5:54 UTC (permalink / raw)
To: Mahesh; +Cc: ecos
well, tm_basic program tests all the kernel primitives and therefore it
should pass the test. recently there were some patches posted regarding
the eCos alarm handling func..check the archive..they may give u some
hints.
satish
On 07 Oct 2003 10:42:02 +0530
Mahesh <mahesh@cranessoftware.com> wrote:
> Hi,
> tm_basic program is getting stuck in the middle.It is not running
> fully.Does it mean that alarms will not work if this test doesn't pass.
> Plz reply.
> Thanks and Regards
> Mahesh
>
>
> On Tue, 2003-10-07 at 10:42, Satish Kumar wrote:
> > well, on testing tm_basic program, did u pass the complete test. if yes ,
> > then ur alarm funcs are fine..it must be somethin to do with ur code,
> > which u r trying to test. why don`t u paste up ur test code, in the
> > group.
> >
> > saty
> >
> >
> > On 07 Oct 2003 10:09:50 +0530
> > Mahesh <mahesh@cranessoftware.com> wrote:
> >
> > > Hi,
> > > Sorry for not giving the details.
> > > 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.
> > > Plz reply for this mail.
> > > Thanks and Regards
> > > Mahesh
> > >
> > > On Wed, 2003-10-01 at 13:17, Robert Cragie wrote:
> > > > Nothing like enough information. You can't expect any help from what you've
> > > > written. Give detailed examples of failing source code, target system,
> > > > configuration etc. etc.
> > > >
> > > > Robert Cragie, Design Engineer
> > > >
> > > > Direct: +44 (0) 114 281 4512
> > > > _______________________________________________________________
> > > > Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
> > > > http://www.jennic.com Tel: +44 (0) 114 281 2655 Confidential
> > > > _______________________________________________________________
> > > >
> > > > > -----Original Message-----
> > > > > From: ecos-discuss-owner@sources.redhat.com
> > > > > [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Mahesh
> > > > > Sent: 01 October 2003 06:12
> > > > > To: ecos
> > > > > Subject: [ECOS] second alarm not triggering
> > > > >
> > > > >
> > > > > Hi,
> > > > > My first alarm is triggered but the second alarm is not triggering at
> > > > > all.After the first alarm is triggered the tick function is not called
> > > > > at all.What may be problem?
> > > > > 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
> > >
> > >
> > > _______________________________________________
> > > 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
> >
> >
> --
> 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
>
--
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ECOS] second alarm not triggering
2003-10-07 5:12 ` Satish Kumar
@ 2003-10-07 5:47 ` Mahesh
2003-10-07 5:54 ` Satish Kumar
0 siblings, 1 reply; 7+ messages in thread
From: Mahesh @ 2003-10-07 5:47 UTC (permalink / raw)
To: Satish Kumar; +Cc: ecos
Hi,
tm_basic program is getting stuck in the middle.It is not running
fully.Does it mean that alarms will not work if this test doesn't pass.
Plz reply.
Thanks and Regards
Mahesh
On Tue, 2003-10-07 at 10:42, Satish Kumar wrote:
> well, on testing tm_basic program, did u pass the complete test. if yes ,
> then ur alarm funcs are fine..it must be somethin to do with ur code,
> which u r trying to test. why don`t u paste up ur test code, in the
> group.
>
> saty
>
>
> On 07 Oct 2003 10:09:50 +0530
> Mahesh <mahesh@cranessoftware.com> wrote:
>
> > Hi,
> > Sorry for not giving the details.
> > 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.
> > Plz reply for this mail.
> > Thanks and Regards
> > Mahesh
> >
> > On Wed, 2003-10-01 at 13:17, Robert Cragie wrote:
> > > Nothing like enough information. You can't expect any help from what you've
> > > written. Give detailed examples of failing source code, target system,
> > > configuration etc. etc.
> > >
> > > Robert Cragie, Design Engineer
> > >
> > > Direct: +44 (0) 114 281 4512
> > > _______________________________________________________________
> > > Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
> > > http://www.jennic.com Tel: +44 (0) 114 281 2655 Confidential
> > > _______________________________________________________________
> > >
> > > > -----Original Message-----
> > > > From: ecos-discuss-owner@sources.redhat.com
> > > > [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Mahesh
> > > > Sent: 01 October 2003 06:12
> > > > To: ecos
> > > > Subject: [ECOS] second alarm not triggering
> > > >
> > > >
> > > > Hi,
> > > > My first alarm is triggered but the second alarm is not triggering at
> > > > all.After the first alarm is triggered the tick function is not called
> > > > at all.What may be problem?
> > > > 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
> >
> >
> > _______________________________________________
> > 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
>
>
--
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [ECOS] second alarm not triggering
2003-10-07 5:06 ` Mahesh
@ 2003-10-07 5:12 ` Satish Kumar
2003-10-07 5:47 ` Mahesh
0 siblings, 1 reply; 7+ messages in thread
From: Satish Kumar @ 2003-10-07 5:12 UTC (permalink / raw)
To: Mahesh; +Cc: ecos-discuss
well, on testing tm_basic program, did u pass the complete test. if yes ,
then ur alarm funcs are fine..it must be somethin to do with ur code,
which u r trying to test. why don`t u paste up ur test code, in the
group.
saty
On 07 Oct 2003 10:09:50 +0530
Mahesh <mahesh@cranessoftware.com> wrote:
> Hi,
> Sorry for not giving the details.
> 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.
> Plz reply for this mail.
> Thanks and Regards
> Mahesh
>
> On Wed, 2003-10-01 at 13:17, Robert Cragie wrote:
> > Nothing like enough information. You can't expect any help from what you've
> > written. Give detailed examples of failing source code, target system,
> > configuration etc. etc.
> >
> > Robert Cragie, Design Engineer
> >
> > Direct: +44 (0) 114 281 4512
> > _______________________________________________________________
> > Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
> > http://www.jennic.com Tel: +44 (0) 114 281 2655 Confidential
> > _______________________________________________________________
> >
> > > -----Original Message-----
> > > From: ecos-discuss-owner@sources.redhat.com
> > > [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Mahesh
> > > Sent: 01 October 2003 06:12
> > > To: ecos
> > > Subject: [ECOS] second alarm not triggering
> > >
> > >
> > > Hi,
> > > My first alarm is triggered but the second alarm is not triggering at
> > > all.After the first alarm is triggered the tick function is not called
> > > at all.What may be problem?
> > > 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
>
>
> _______________________________________________
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [ECOS] second alarm not triggering
2003-10-01 8:31 ` Mahesh
@ 2003-10-07 5:06 ` Mahesh
2003-10-07 5:12 ` Satish Kumar
0 siblings, 1 reply; 7+ messages in thread
From: Mahesh @ 2003-10-07 5:06 UTC (permalink / raw)
To: ecos
Hi,
Sorry for not giving the details.
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.
Plz reply for this mail.
Thanks and Regards
Mahesh
On Wed, 2003-10-01 at 13:17, Robert Cragie wrote:
> Nothing like enough information. You can't expect any help from what you've
> written. Give detailed examples of failing source code, target system,
> configuration etc. etc.
>
> Robert Cragie, Design Engineer
>
> Direct: +44 (0) 114 281 4512
> _______________________________________________________________
> Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
> http://www.jennic.com Tel: +44 (0) 114 281 2655 Confidential
> _______________________________________________________________
>
> > -----Original Message-----
> > From: ecos-discuss-owner@sources.redhat.com
> > [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Mahesh
> > Sent: 01 October 2003 06:12
> > To: ecos
> > Subject: [ECOS] second alarm not triggering
> >
> >
> > Hi,
> > My first alarm is triggered but the second alarm is not triggering at
> > all.After the first alarm is triggered the tick function is not called
> > at all.What may be problem?
> > 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
_______________________________________________
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [ECOS] second alarm not triggering
[not found] <NMEDLDELHPEFHOMFIJBHMEPECOAA.rcc@jennic.com>
@ 2003-10-01 8:31 ` Mahesh
2003-10-07 5:06 ` Mahesh
0 siblings, 1 reply; 7+ messages in thread
From: Mahesh @ 2003-10-01 8:31 UTC (permalink / raw)
To: Robert Cragie; +Cc: ecos
Hi,
Sorry for not giving the details.
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.
Plz reply for this mail.
Thanks and Regards
Mahesh
On Wed, 2003-10-01 at 13:17, Robert Cragie wrote:
> Nothing like enough information. You can't expect any help from what you've
> written. Give detailed examples of failing source code, target system,
> configuration etc. etc.
>
> Robert Cragie, Design Engineer
>
> Direct: +44 (0) 114 281 4512
> _______________________________________________________________
> Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
> http://www.jennic.com Tel: +44 (0) 114 281 2655 Confidential
> _______________________________________________________________
>
> > -----Original Message-----
> > From: ecos-discuss-owner@sources.redhat.com
> > [mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Mahesh
> > Sent: 01 October 2003 06:12
> > To: ecos
> > Subject: [ECOS] second alarm not triggering
> >
> >
> > Hi,
> > My first alarm is triggered but the second alarm is not triggering at
> > all.After the first alarm is triggered the tick function is not called
> > at all.What may be problem?
> > Thanks and Regards
> > Mahesh
> >
> >
> > _______________________________________________
> > 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
> >
> >
>
>
--
Mahesh M Patil
Software Engineer
Cranes Software International Limited
VasanthNagar
Bangalore
Mobile:9845579634
Office:2381741/2/3 Extn:234
_______________________________________________
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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-10-08 12:01 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-01 5:33 [ECOS] second alarm not triggering Mahesh
[not found] <NMEDLDELHPEFHOMFIJBHMEPECOAA.rcc@jennic.com>
2003-10-01 8:31 ` Mahesh
2003-10-07 5:06 ` Mahesh
2003-10-07 5:12 ` Satish Kumar
2003-10-07 5:47 ` Mahesh
2003-10-07 5:54 ` Satish Kumar
2003-10-07 8:54 [ECOS] FW: " Robert Cragie
[not found] ` <1065526549.1061.32.camel@MAHESH>
2003-10-07 12:08 ` Mahesh
2003-10-08 12:01 ` [ECOS] " Nick Garnett
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).