[ECOS] Interrupts

Rick Davis rickdavisjr@comcast.net
Fri Oct 17 11:42:00 GMT 2008


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



More information about the Ecos-discuss mailing list