public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] stops at start function
@ 2003-10-10  8:48 Mahesh
  0 siblings, 0 replies; 3+ messages in thread
From: Mahesh @ 2003-10-10  8:48 UTC (permalink / raw)
  To: ecos; +Cc: radhakrishnan R

Hi,
   I am using Arm pid target and sid system.(on pc only)
    My program is getting stuck at one point and when i stop the running
simulator,the control will be at start function.Why it is going to start
function.
Waiting for ur reply
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] 3+ messages in thread

* Re: [ECOS] stops at start function
       [not found]   ` <1066105298.1050.6.camel@MAHESH>
@ 2003-10-14  4:51     ` mohanlal jangir
  0 siblings, 0 replies; 3+ messages in thread
From: mohanlal jangir @ 2003-10-14  4:51 UTC (permalink / raw)
  To: Mahesh; +Cc: eCos Discussion


> 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

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

* Re: [ECOS] stops at start function
  2003-10-14  4:19 [ECOS] [Fwd: [Fwd: Re: [ECOS] stops at start function]] Mahesh
@ 2003-10-14  4:28 ` mohanlal jangir
       [not found]   ` <1066105298.1050.6.camel@MAHESH>
  0 siblings, 1 reply; 3+ messages in thread
From: mohanlal jangir @ 2003-10-14  4:28 UTC (permalink / raw)
  To: Mahesh; +Cc: eCos Discussion

Are you using cyg_alarm_initialize? This needs a non-zero third argument for
further trigger. Otherwise it will only trigger once.

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

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

end of thread, other threads:[~2003-10-14  4:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-10  8:48 [ECOS] stops at start function Mahesh
2003-10-14  4:19 [ECOS] [Fwd: [Fwd: Re: [ECOS] stops at start function]] Mahesh
2003-10-14  4:28 ` [ECOS] stops at start function mohanlal jangir
     [not found]   ` <1066105298.1050.6.camel@MAHESH>
2003-10-14  4:51     ` mohanlal jangir

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).