This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am335x u-boot下nandflash 写成功,但是读失败

ti的专家们:

我现在遇到一个很奇怪的问题,通过SD卡启动,能正确读到nand的型号和大小

但在uboot下:执行如下操作

U-Boot 2013.01.01 (Sep 02 2014 - 22:05:40)

I2C:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  256 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot:  0
U-Boot#
U-Boot#
U-Boot#
U-Boot# nand erase.chip

NAND erase.chip: device 0 whole chip
Erasing at 0xffe0000 -- 100% complete.
OK
U-Boot# nand read 0x82000000 0x260000 0x200

NAND read: device 0 offset 0x260000, size 0x200
 512 bytes read: OK
U-Boot# nand write 0x82000000 0x260000 0x200

NAND write: device 0 offset 0x260000, size 0x200
 512 bytes written: OK
U-Boot# nand read 0x82000000 0x260000 0x200

NAND read: device 0 offset 0x260000, size 0x200
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
NAND read from offset 260000 failed -74
 0 bytes read: ERROR
U-Boot#

nand写成功,但是再去读的时候,报ECC: uncorrectable.这个错误

请问最有可能是哪里出的问题呢?能否给一些建议。。