[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Very bad (JFFS2) things...



Hi Frederic,

My flash is not simultaneous read/write. I'm using the stock CFI_CMDSET_002.c
program that I've been using
for the last 5 months to run all my tests and this is the first time that I
have seen this error or a lockup like this.

Vipin

Frederic Giasson wrote:

> I had the same error you describe below.  In my case, that was because my
> driver allows reads while writes/erases are performing to another plane of
> my flash device ( my flash device has a dual-plane architecture allowing
> that).  Reading on one plane while writing or erasing on the other one was
> working fine, but I didn`t reallized that my write function was calling
> cfi_read to verify if the write operation completed and worked fine.  So it
> happened that 2 read operations were happening at the same time, therefore
> there sometimes cfi_read was getting data requested by the _read function
> and vice-versa.
>
> Maybe you can check this issue.
>
> Frédéric Giasson
>
> Write of 367 bytes at 0x00114584 failed. returned 0, retlen 0
> Not marking the space at 0x00114584 as dirty because the flash driver
> returned retlen zero
> Error writing new dnode: -5


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com