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.

dm8168 nandflash 问题???



你好:
我dm8168在boot阶段操作有问题。首先它可以正确的识别我的nandflash
NAND: HW ECC BCH8 Selected
1024 MiB

Device 0: nand0, sector size 256 KiB
我的nandflash容量的确是1G的,读也没问题:
I8168_EVM#nandecc hw 2
HW ECC BCH8 Selected
TI8168_EVM#nand write.i 0x81000000 0x0 0x260000

NAND write: device 0 offset 0x0, size 0x260000
2490368 bytes written: OK
可是当我写的时候就报错了:
TI8168_EVM#nand read.i 0x81000000 0x0 0x260000
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
ECC: uncorrectable.
NAND read from offset 0 failed -74
0 bytes read: ERROR
我不知道为什么,是不是要修改nandflash程序?
后来我不使用ecc,读写都成功。但是一掉电后,我上电后再去读nandflash内容,里面全是0xff。
应该没写成功。谁能给我一些建议和帮助。