OneNAND: Always print error messages
------- Original Message -------
Sender : Adrian Hunter<[email protected]>
Date : Jan 19, 2007 17:02
Title : Re: OneNAND: Always print error messages
Quoted 3 lines · ext Kyungmin Park
Quoted 1 line
Is it possible to get an ECC error when scanning a bad block?
Theoretical it's possible but I never see it.
I like to program all the corner cases.
Quoted 4 lines
Quoted 2 lines
If a load error occurs when scanning a bad block, does that mean the dataRAM has been updated or not?
scanning a bad block means read oob so we don't update dataRAM. In onenand implementation. we always invalid dataRAM in oob case.
I meant the dataRAM spare area: 8010h - 804fh in the bufferRAM address map.
After a load error, will this:
this->read_bufferram(mtd, ONENAND_SPARERAM, buf, column, thislen);
read the what was meant to be loaded, or will it still contain the data from a previous load?
=> It depends on load error timings. but we think it is always invalid. load error means that there's error during load from nand core to bufferram.
Thank you,
Kyungmin Park
Quoted 6 lines · ext Kyungmin Park
Quoted 6 lines
Quoted 3 lines
Quoted 2 lines
If a load error occurs when scanning a bad block, does that mean the dataRAM has been updated or not?
scanning a bad block means read oob so we don't update dataRAM. In onenand implementation. we always invalid dataRAM in oob case.
I meant the dataRAM spare area: 8010h - 804fh in the bufferRAM address map.
Quoted 8 lines
Quoted 5 lines
After a load error, will this:
this->read_bufferram(mtd, ONENAND_SPARERAM, buf, column, thislen);read the what was meant to be loaded, or will it still contain the data from a previous load?
=> It depends on load error timings. but we think it is always invalid. load error means that there's error during load from nand core to bufferram.
So, when scanning for bad blocks, after a load error or ECC (2 bit) error, we have to assume that the block is bad without reading the spare area?
In that case, should we attempt to mark the block as bad, perhaps writing the spare area in the second page?