[ECOS] Atmel AT91 EB40A timers in ecos - Solution

sensitron medical sensitronnet@yahoo.com
Tue Feb 18 01:40:00 GMT 2003


The problem was that test program twothreads was not
getting a timer interrupt.  

The problem is that ecos does not initialize register
FFFF4004 (PS Peripheral Clock Enable Register).  The
value that was in the register is the one used and
timer counter 0 was not enabled.  

I checked and the same is true for the USART clocks
but they were enabled.  

The following modified files are attached:
plf_io.h 
at91_misc.c
  
Joe Rodnite
joe@sensitron.net  

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plf_io.h
Type: application/octet-stream
Size: 18860 bytes
Desc: plf_io.h
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20030218/1e76fd7c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: at91_misc.c
Type: application/octet-stream
Size: 9510 bytes
Desc: at91_misc.c
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20030218/1e76fd7c/attachment-0001.obj>
-------------- next part --------------
-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


More information about the Ecos-discuss mailing list