K9F1208U0M 64M nand flash 手册阅读以及相关驱动程序分析

本文介绍了如何识别和处理NAND Flash中的无效块,强调了系统设计必须能够标记和隔离坏块。通过分析驱动程序中的IsBlockBad函数,展示了如何检测坏块,并提到了FMD_EraseBlock函数用于擦除块的操作。文章还提及了FMD_GetBlockStatus函数在获取块状态中的关键作用。作者分享了有关NAND Flash的详细资料链接,鼓励读者深入学习。
摘要由CSDN通过智能技术生成
               

作者:wogoyixikexie@gliet

      以前一直使用别人成功的FMD,早几天对一些细节以及编程方法一无所知,同时也有很多人问我flash相关问题,我好想在论坛指点江山,给养技术,可是感觉有些东西确实需要补补,今天就看个明白吧。

NAND Flash Technical Notes
Invalid Block(s)
    Invalid blocks are defined as blocks that contain one or more invalid bits whose reliability is not guaranteed by Samsung. The infor-
mation regarding the invalid block(s) is so called as the invalid block information. Devices with invalid block(s) have the same quality
level  or as devices with all valid blocks and have the same AC and DC characteristics. An invalid block(s) does not affect the perfor-
mance of valid block(s) because it is isolated from the bit line and the common source line by a select transistor. The system design
must be able to mask out the invalid block(s) via address mapping.(系统必须标记坏块)
The 1st block, which is placed on 00h block address, is fully guaranteed to be a valid block, does not require  Error Correction.(第一个block也就是00h block地址,厂家会保证绝对是好的,不用检查标记)

 

Identifying Invalid Block(s) 标记坏块
    All device locations are erased(FFh) except locations where the invalid block(s) information is written prior to shipping. The invalid block(s) status is defined by the 6th byte in the spare area. Samsung makes sure that either the 1st or 2nd page of every invalid
block has non-FFh data at the column address of 517.(这是生产过程中产生的坏块,一般芯片原厂都会在出厂时都会将坏块第一个page的spare area的第6个byte标记为不等于0xff的值。) Since the invalid block information is also erasable in most cases, it is impos-
sible to recover the information once it has been erased. Therefore, the system must be able to recognize the invalid block(s) based
on the original invalid block information and create th

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值