我实现了nand的MTD,有人说直接用ftl就可以挂载成功,但是我会挂在某一个block的写上,
log在下面
写地址0x10014的时候,写入成功,但是读出对比不一致,而且系统读写的长度0x4c和0x2是什么意思?header好像是0x44啊,
有哪位成功的指点下,或者传个nftllite.c和相应的头文件给我,我的邮箱copyman39339005@gmail.com,多谢
Debug: Identified K9F1208.
firstBlock = 0x0, numOfBlock = 0x4
ERASE: blockNo = 0x0
ERASE: blockNo = 0x1
ERASE: blockNo = 0x2
ERASE: blockNo = 0x3
read before write
ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,
13,3,43,49,53,46,ff,0,46,54,4c,31,30,30,0,1,1,0,0,0,ff,ff,9,10,0,0,0,4,0,26,dd,3,0,0,1,0,e5,3,0,ff,0,0,0,0,0,0,0,0,44,0,0,0,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,30,0,0,0,30,0,0,0,
13,3,43,49,53,46,ff,0,46,54,4c,31,30,30,0,1,1,0,0,0,ff,ff,9,10,0,0,0,4,0,26,dd,3,0,0,1,0,e5,3,0,ff,0,0,0,0,0,0,0,0,44,0,0,0,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,30,0,0,0,30,0,0,0,
WRITE: address = 0x0, length = 0x4c, mode = 0, status=0
read before write
3,43,
0,0,
0,0,
WRITE: address = 0x14, length = 0x2, mode = 1, status=0
firstBlock = 0x4, numOfBlock = 0x4
ERASE: blockNo = 0x4
ERASE: blockNo = 0x5
ERASE: blockNo = 0x6
ERASE: blockNo = 0x7
read before write
ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,
13,0,0,49,53,46,ff,0,46,54,4c,31,30,30,0,1,2,0,0,0,ff,ff,9,10,0,0,0,4,0,26,dd,3,0,0,1,0,e5,3,0,ff,0,0,0,0,0,0,0,0,44,0,0,0,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,30,0,0,0,30,0,0,0,
13,0,0,49,53,46,ff,0,46,54,4c,31,30,30,0,1,2,0,0,0,ff,ff,9,10,0,0,0,4,0,26,dd,3,0,0,1,0,e5,3,0,ff,0,0,0,0,0,0,0,0,44,0,0,0,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,ff,30,0,0,0,30,0,0,0,
WRITE: address = 0x10000, length = 0x4c, mode = 0, status=0
read before write
0,0,
1,0,
0,0,
write 00010014 error! status=0
WRITE: address = 0x10014, length = 0x2, mode = 1, status=29
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |