Skip to contentSkip to conversation

OneNAND: Always print error messages

DISCUSSION Kyungmin Park 2 participants 2 messages Jan 19, 2007 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,

Quoted 6 lines
Quoted 2 lines

Yes, simple solution is separate read oob from normal and scanning.
I think is is easy because we can use state variable, FL_SCANNING instead of FL_READING in bbt.

Also there are the issues of a load error or ECC error when scanning for bad blocks:

Is it possible to get an ECC error when scanning a bad block?

Theoretical it's possible but I never see it.

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.

Thank you,
Kyungmin Park

#1 lore raw
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?