[Yaffs] Failed ECC read

Puker gopher at singnet.com.sg
Thu Jul 13 09:38:28 BST 2006


Hi,

I integrated the CVS YAFFS and got it working  on a 512 byte page NAND 
flash and I think that YAFFS's really neat.

But I encountering something that I can't really understand. The first 
0x9FF bytes of the first page in the first block are encountering 
"Failed ECC read" by the bootloader. Byte offset 0xA00 and later are 
read read prefectly.

What gives. Why is ECC not performed on the first 0x9FF?

Thanks,
Puker

# nand read 10000 0 200

NAND read: device 0 offset 0, size 512 ... nand_read_ecc: Failed ECC 
read, page 0x00000000
nand_read_ecc: Failed ECC read, page 0x00000000
  0 bytes read: ERROR
# nand read 10000 200 200

NAND read: device 0 offset 512, size 512 ... nand_read_ecc: Failed ECC 
read, page 0x00000001
nand_read_ecc: Failed ECC read, page 0x00000001
  0 bytes read: ERROR
# nand read 10000 400 200

NAND read: device 0 offset 1024, size 512 ... nand_read_ecc: Failed ECC 
read, page 0x00000002
nand_read_ecc: Failed ECC read, page 0x00000002
  0 bytes read: ERROR
# nand read 10000 400 200

NAND read: device 0 offset 1536, size 512 ... nand_read_ecc: Failed ECC 
read, page 0x00000003
nand_read_ecc: Failed ECC read, page 0x00000003
  0 bytes read: ERROR
# nand read 10000 800 200

NAND read: device 0 offset 2048, size 512 ... nand_read_ecc: Failed ECC 
read, page 0x00000004
nand_read_ecc: Failed ECC read, page 0x00000004
  0 bytes read: ERROR
# nand read 10000 a00 200

NAND read: device 0 offset 2560, size 512 ...  512 bytes read: OK



More information about the yaffs mailing list