From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21223 invoked by alias); 7 Oct 2003 08:54:21 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 21215 invoked from network); 7 Oct 2003 08:54:20 -0000 Received: from unknown (HELO jensun147.jennic.com) (213.143.5.74) by sources.redhat.com with SMTP; 7 Oct 2003 08:54:20 -0000 Received: from JENPC112 (jenpc112.jennic.com [99.99.98.112]) by jensun147.jennic.com (8.9.3+Sun/8.9.3) with SMTP id JAA02786; Tue, 7 Oct 2003 09:47:45 +0100 (BST) From: "Robert Cragie" To: , "ECOS" Date: Tue, 07 Oct 2003 08:54:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: [ECOS] FW: [ECOS] second alarm not triggering X-SW-Source: 2003-10/txt/msg00090.txt.bz2 Did you try out my suggestions below? It is easy to debug using SID - just put a breakpoint in the ISR using GDB/Insight and then single-step. You can even get SID to trace every instruction it calls although it does run rather slowly. Robert Cragie, Design Engineer _______________________________________________________________ Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK http://www.jennic.com Tel: +44 (0) 114 281 2655 _______________________________________________________________ -----Original Message----- From: Robert Cragie [mailto:rcc@jennic.com] Sent: 01 October 2003 11:49 To: Mahesh Subject: RE: [ECOS] second alarm not triggering I have had no problems in the past using SID built for PID target apart from the fact that delays are stretched considerably. Have you tried reducing the intervals to see if it works? Try running the 'twothreads' example and see if that works. If it does, you must be doing something wrong in your application code. If it doesn't work, check the operation of the simulated timers in SID, check you are getting interrupts by looking at Timer ISR/DSR, then check whether tick is being called. Note that I have not used SID/eCos together for a while so perhaps things have changed. If I get the chance I will try to rebuild SID/eCos system and do my own tests but it will be unlikely this week. 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 09:08 > To: Robert Cragie > Cc: ecos > Subject: RE: [ECOS] second alarm not triggering > > > 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 -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss