public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] [Fwd: [Fwd: Re: [ECOS] stops at start function]]
@ 2003-10-14  4:19 Mahesh
  2003-10-14  4:28 ` [ECOS] stops at start function mohanlal jangir
  0 siblings, 1 reply; 5+ messages in thread
From: Mahesh @ 2003-10-14  4:19 UTC (permalink / raw)
  To: ecos

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]


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

[-- Attachment #2: Forwarded message - [Fwd: Re: [ECOS] stops at start function] --]
[-- Type: message/rfc822, Size: 5926 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 168 bytes --]


-- 
Mahesh M Patil
Software Engineer
Cranes Software International Limited
VasanthNagar
Bangalore
Mobile:9845579634
Office:2381740/1/2 Extn:234
www.cranessoftware.com

[-- Attachment #2.1.2: Forwarded message - Re: [ECOS] stops at start function --]
[-- Type: message/rfc822, Size: 5098 bytes --]

From: Mahesh <mahesh@cranessoftware.com>
To: radhakrishnan R <radhaamanji@yahoo.co.uk>
Subject: Re: [ECOS] stops at start function
Date: 13 Oct 2003 16:09:50 +0530
Message-ID: <1066041590.1050.37.camel@MAHESH>

Hi,
   My target is Arm pid(simulator only) and using sid.
                  I am not at all enabling or disabling any
interrupt.How to check interrupt is enabled or disabled. 
    Both ISR and DSR are called till the first alarm is triggered.
    After first alarm,when i initialize second alarm,ISR and DSR are not
called at all,but alarm is being added.
  Thanks and Regards
Mahesh

    

On Mon, 2003-10-13 at 16:13, radhakrishnan R wrote:
> What is your target. if it is simulator..then
> triggering of alarm may take long time.
> 
> Have you confirmed that interrupt is not disabled.
> (somewhere in the code...disabled the ISR and not
> enabled.)
> 
> give me more details about your target. I will give
> idea to debug ISR.
> 
> I know only about ARM and powerPC target...
> 
> regards,
> Radha
> 
>  --- Mahesh <mahesh@cranessoftware.com> wrote: > Hi,
> >     The second alarm is not triggering at all.
> >      The second alarm if kept at an interval of
> > 0(cyg_current_time()+0)
> > is working fine(as that will be called in add alarm
> > function only for
> > being 0). If it is kept other than zero(it will not
> > be called in add
> > alarm function),alarm will be added,but there is no
> > interrupt from clock
> > and hence no trigger.
> >    It will get stuck in loop and when i stop it,it
> > will be in Start
> > code(.text is at 8040 and Start code is at 8080).
> > Plz give me some hints why isr is not called.
> > Thanks and Regards
> > Mahesh  
> >                      
> > 
> > 
> > On Fri, 2003-10-10 at 17:39, radhakrishnan R wrote:
> > > Hi,
> > >   Iam not getting full details of problem.
> > > 
> > >   What is the start function.
> > > 
> > >   What happend to your second alarm trigerring
> > > problem?.
> > > 
> > > Regards,
> > > Radha 
> > > 
> > > --- Mahesh <mahesh@cranessoftware.com> wrote: >
> > 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
> > > >  
> > > 
> > >
> >
> ________________________________________________________________________
> > > Want to chat instantly with your online friends? 
> > Get the FREE Yahoo!
> > > Messenger http://mail.messenger.yahoo.co.uk
> > > 
> > -- 
> > 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
> > 
> >  
> 
> ________________________________________________________________________
> Want to chat instantly with your online friends?  Get the FREE Yahoo!
> Messenger http://mail.messenger.yahoo.co.uk
> 
-- 
Mahesh M Patil
Software Engineer
Cranes Software International Limited
VasanthNagar
Bangalore
Mobile:9845579634
Office:2381740/1/2 Extn:234
www.cranessoftware.com

[-- Attachment #3: Type: text/plain, Size: 146 bytes --]

-- 
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] 5+ 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; 5+ 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] 5+ messages in thread

* Re: [ECOS] stops at start function
       [not found]   ` <1066105298.1050.6.camel@MAHESH>
@ 2003-10-14  4:51     ` mohanlal jangir
  2003-10-14  9:36       ` [ECOS] thanks for the support " Mahesh
  0 siblings, 1 reply; 5+ 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] 5+ messages in thread

* [ECOS] thanks for the support   Re: [ECOS] stops at start function
  2003-10-14  4:51     ` mohanlal jangir
@ 2003-10-14  9:36       ` Mahesh
  0 siblings, 0 replies; 5+ messages in thread
From: Mahesh @ 2003-10-14  9:36 UTC (permalink / raw)
  To: mohanlal jangir; +Cc: radhakrishnan R, ecos


Hi,
    I got the error in my problem.
    I had allocated a pointer to a structure,but in this particular
flow,it missed the assignment of address of structure to the pointer and
hence the pointer was pointing to 0x0.
    It was changing this address contents and hence getting stuck.
Thanks for the support the group gave to me.It was really a good
experience.
Once again thanks all
Thanks and Regards
Mahesh
      
On Tue, 2003-10-14 at 10:13, mohanlal jangir wrote:
> 
> > 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
> 
> 
-- 
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] 5+ messages in thread

* [ECOS] stops at start function
@ 2003-10-10  8:48 Mahesh
  0 siblings, 0 replies; 5+ 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] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2003-10-14  9:36       ` [ECOS] thanks for the support " Mahesh
  -- strict thread matches above, loose matches on Subject: below --
2003-10-10  8:48 Mahesh

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