This is the mail archive of the ecos-discuss@sourceware.org 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]

Interrupts


I am working on a platform with a compact flash. The Compact Flash is
operating in true ide pio mode. I am using the fatfs file system. When I
write a 1.2M file, it takes about 16 seconds to write the file. However, the
eCos clock only advances by 6 seconds. Why is this?
The hardware is a power PC processor using the decrementer as the eCos
clock. I have been trying to find out where, if at all, interrupts are being
disabled while writing the file. Is there anything else that can prevent the
decrementer from operating.
My problem is that I have a watchdog thread strobing a hardware watchdog and
it never runs because the decrementer tics aren't occurring to allow
timeslicing and the unit reboots. The thread priorities are equal and time
slicing is enabled.

Thanks,
Rick Davis



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]