天嵌 ARM开发社区

 找回密码
 注册
查看: 3932|回复: 8

NAND FLASH中的坏块怎么去除

[复制链接]
wangpeihui123 发表于 2010-9-8 21:09:37 | 显示全部楼层 |阅读模式
看到打印的信息
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 | 显示全部楼层
搞定,收藏了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-6-16 13:46 , Processed in 2.041583 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表