From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9960 invoked by alias); 17 Jun 2005 11:31:15 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 9917 invoked by uid 22791); 17 Jun 2005 11:31:05 -0000 Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 17 Jun 2005 11:31:05 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1DjF2y-0001Ia-00; Fri, 17 Jun 2005 13:30:04 +0200 Date: Fri, 17 Jun 2005 11:31:00 -0000 To: Jokke Ramberg Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20050617113004.GB4982@lunn.ch> Mail-Followup-To: Jokke Ramberg , ecos-discuss@ecos.sourceware.org References: <42AD6CA8.40504@rms.ro> <20050613121642.GE30632@lunn.ch> <42AD9362.3070700@rms.ro> <42B1BB21.1080108@rms.ro> <1118998149.3319.15.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1118998149.3319.15.camel@localhost.localdomain> User-Agent: Mutt/1.5.9i From: Andrew Lunn Subject: Re: [ECOS] porting ecos to at91sam7 X-SW-Source: 2005-06/txt/msg00137.txt.bz2 On Fri, Jun 17, 2005 at 10:49:08AM +0200, Jokke Ramberg wrote: > I am trying to port ecos to Atmels AT91sam7s64. I start out from > AT91EB55 (from CVS 050504). > > Following the instructions in "embedded software development with ecos" > and some debugging, have got to a stage where the I can build an example > application from the two-threads example in ecos. I can load it and > start. > > The two threads are started, I get the start messages from them, with > the correct baudrate, on the serial port, the threads calls > "cyg_thread_delay(20);", but this function never returns! > > I get the timer interrupts, the function "void Cyg_Counter::tick > ( cyg_uint32 ticks )" is called regularly (I did not measure how often). > > What is more required for delay to return? Any defines or cdl stuff?? I suggest you run the standard tests and see what passes fails. clocktruth can be used to make sure the clock is ticking at the right rate etc. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss