This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: porting ecos to at91sam7
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