wangpeihui123 发表于 2010-9-8 21:09:37

NAND FLASH中的坏块怎么去除

看到打印的信息
block 27 is bad
block 195 is bad
block 492 is bad
block 776 is bad
block 792 is bad
block 1314 is bad
block 1610 is bad
block 1768 is bad
block 1845 is bad
这些坏块怎么处理

天嵌_support1 发表于 2010-9-9 11:43:25

1# wangpeihui123


nand scrub 一下。

wangpeihui123 发表于 2010-9-9 19:15:29

如何操作呢,,,具体步骤,,谢谢

wangpeihui123 发表于 2010-9-9 19:18:32

Format the Nand Flash 这个命令行不行

wangpeihui123 发表于 2010-9-9 19:29:43

了解了,,终端输入命令nand scrub 但是擦除后,,,还是有上面的有坏块信息产生啊,,,,

wangpeihui123 发表于 2010-9-9 21:39:12

我使用了nand scrub命令,打印信息如下,,这是成功了还是失败了,,、?还有怎么从这样的命令模式下退出?
EmbedSky> nand scrub

NAND scrub: device 0 whole chip
Warning: scrub option will erase all factory set bad blocks!
         There is no reliable way to recover them.
         Use this command only for testing purposes if you
         are sure of what you are doing!

Really scrub this NAND flash? <y/N> : y
Erasing at 0x7a0000 --   3% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0x1c20000 --11% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0x63c0000 --39% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0x6660000 --40% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0xa8e0000 --66% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0xccc0000 --80% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0xe140000 --88% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0xffe0000 -- 100% complete.
OK
EmbedSky> ok
Unknown command 'ok' - try 'help'
EmbedSky> a--help
Unknown command 'a--help' - try 'help'
EmbedSky> poweroff
Unknown command 'poweroff' - try 'help'
EmbedSky> shutdown
Unknown command 'shutdown' - try 'help'
EmbedSky>

testh 发表于 2010-9-9 21:52:46

你输入help后会有帮助,输入reset就行了

天嵌_support1 发表于 2010-9-10 10:28:49

6# wangpeihui123


是可以的。还有什么问题?
你可以不用手写输入阿,命令 9 中的 1 就是 nand scrub

raominping 发表于 2011-11-29 11:22:52

搞定,收藏了。
页: [1]
查看完整版本: NAND FLASH中的坏块怎么去除