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]

JFFS2 Access and interrupts


Hi all,

while writing a file in a jffs2 filesystem (by means of open, write,
close)
my application seems to hang in function write(). 
After guarding the write access with
HA_DISABLE_INTERRUPTS/HAL_RESTORES_INTERRUPTS 
the write accesses worked properly.

After a short inspection of flash.c (in packages/io/flash/current/src)
it seems that in my port these guards are already present,
placed around the "__anonymizer"-ed flash access functions.

Is there a general rule, how to handle mutual IRQs and flash access ?
Do I miss something ?
Is there a configuration option, I've forgotten to enable ?

Kind regards,
Gernot Zankl

Btw: PowerPC MPC5200B and external flash Spansion S29GL064M


--
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]