This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
Attachment:
plf_io.h
Description: plf_io.h
Attachment:
at91_misc.c
Description: at91_misc.c
-- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |