This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: JFFS2 Access and interrupts
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Gernot Zankl <zankl at decomsys dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 14 Sep 2006 06:55:49 -0600
- Subject: Re: [ECOS] JFFS2 Access and interrupts
- References: <0F0005CE495E094A96B04D78F24E5A7F3858B5@mana.decomsys.com>
Gernot Zankl wrote:
Gary Thomas wrote:
Gernot Zankl wrote:
Hi all !
Thanks for your answers.
FYI I finally found the/our bug, causing the application to
corrupt the jffs2. We just used the wrong block size in
the configuration of the underlying flash driver, causing to
erase too much flash memory (and destroying still active inodes).
FAOD - it had *nothing* to do with interrupts during FLASH operations?
At least not in "our" version of the flash driver (v1) which has been
provided and modified by Analogue&Micro, where all calls to the
critical functions are guarded by the HAL_DISABLE_INTERRUPTS and
HAL_RESTORES_INTERRUPTS macros.
Good, thanks.
Btw. what does "FAOD" mean, "Fatty acid oxidation disorder" ?
For Avoidance Of Doubt (it's a common British saying which I also
had to have explained to me many years ago...)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss