- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
nand_flash控制器(Nand_flash controller)
nand_flash控制器(Nand_flash controller)
/ *
clk is 125 ~ 250mhz
operation:
0 ~ 128kb is used as eprom for mcu, space greater than 64k is functioned
as a ata pio disk
1 read blk0: when a new efm _ r cmd is issued, if efm _ addr [31: 17] is 0,
state machine to handle read sequence (read cmd, read data from buffer
buffer is 512 bytes, so if addr [16: 9] hit bufferred (cache _ cor), get data
from the buffer, otherwise from nand, then change the cache _ cor.
blk0 give mcu initial 128kb code, then all other blocks will be accessed
(read and write) by mcu as below (similar as ata pio operation)
2. mcu w: fff5 _ 0000, written data is cmd (data [7: 0]), cle
w: fff5 _ 0.004, addr (data [7: 0]), ale
w / r: fff5 _ 0.008, data (data [31: 0]), no group, no cle
w: fff5 _ 0010 [3: 0] cmd pulse width
r: fff5 _ 0014 status (ecc and busy)
3. program: mcu w 512b into fff5 _ 1000 ~ fff5 _ 11ff, the last write start program
operation on nand
port _ cor map:
key factors:
blk0 can min write 1k times.
it contains
basic code, which normally is not changed, and also include
blk _ map address, this address is not changed and, until that block
is written failed.
by this way, the number of write on blk0 is minimized
1. each flash chip is logic block (64 * 512b) mapped physical blocks
the 64 page in a block has a valid bit: 0: not written, 1 written
2. 3.125% (512 blocks) are assigned as spare blocks
flash read flow:
^ ^ ^ ^ ^ ^ ^ ^ ^ ^
error management
move the flash block
3. nand mechanism * * * * * * * * * *
2007 - 10 - 19 since eprom may have max 4mb space, it need 32 nand blocks (128k each)
while only block zero is guaranteed to be good, we use blk0 as a mapping table between a logic block and a physical block
operation steps:
3.1 use external board (e.g. a 8051 board) to establish a logic mapping table on block0, and program mcu code etc to those
good blocks.
3.2 put (soldering of use socket) nand on merced board
3.3 power on, the _ flash has a state machine (init _ nm) and a map ram (32 * 8)
您可能关注的文档
- 手机bga元件的维修技术与操作技能(上)(Maintenance technology and operation skills of mobile phone BGA components (Part I)).doc
- 抚顺市采煤沉陷区管理规定(Provisions of Fushun Municipality on the administration of coal mining subsidence areas).doc
- 拉萨市城市地下管线管理暂行办法(Interim Measures for the administration of urban underground pipelines in Lhasa).doc
- 拍牌攻略(Brand introduction).doc
- 拒绝批假条 管理车间主管被泼硫酸(Refuse to fake management supervisor was splashed sulfuric acid).doc
- 拓维思资料(Invensys extension data).doc
- 拍摄十八忌(Shooting eighteen bogey).doc
- 招商基础知识(Basic knowledge of investment).doc
- 招投标临时信息(Temporary information of bidding).doc
- 招商局董事长秦晓应将国有资产分散到民众手中(China Merchants board chairman Qin Xiao state-owned assets should be dispersed into the hands of the masses).doc
- naruto_shippuden_battle(naruto _ shippuden _ battle).doc
- navicat(Navicat).doc
- nba 历届王(NBA历届王).doc
- mysql(MySQL).doc
- nba2005设置对照表(Nba2005 settings contrast table).doc
- nba工资帽(NBA salary cap).doc
- nba退役球衣(NBA retired jerseys).doc
- new_words_left_b(new_words_left_b).doc
- niit简介及常州niit(niit简介及常州niit).doc
- nokia 60系列平台基础(nokia 60系列平台基础).doc
最近下载
- 通信技术-使用Cypress需要避免的5个E2E测试错误(图文).pdf VIP
- 2025年小学一年级新生家长会ppt课件(优质ppt).pptx VIP
- 中国信通院2025人工智能高质量数据集建设指南74页.pdf VIP
- 2025-2026学年小学音乐三年级上册(2024)苏少版(2024)教学设计合集.docx
- 新征程,'心'启航——2025年秋学期开学第一课收心班会.pptx VIP
- Unit 1 How can I get there? PartA(说课稿)-2024-2025学年人教PEP版英语六年级上册[001].docx VIP
- 良好农业规范GAP记录表格.pdf VIP
- 2025年工会相关法律法规知识竞赛试题.doc VIP
- 高等土力学李广信22应力和应变.pptx VIP
- 消失模铸造工艺技术的创新与生产实践.pdf VIP
文档评论(0)