这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 请教!tffs文件系统不能写入大文件

共4条 1/1 1 跳转至

请教!tffs文件系统不能写入大文件

菜鸟
2011-08-08 16:10:00     打赏
本人在做vxworks下面的tffs文件系统设计,基于ppc8260,vxworks版本为5.5,tornado版本2.2。目前文件系统能格式化成功,但用ftp  copy文件时,只要文件的总容量超过4m字节就会报错,之前怀疑是没有解锁,但格式化后先挂载tffs,再解锁,还是出错。我的flash是英特尔i28f256,32m字节的容量,出错地方串口打印,谢谢大家。
Write FlashPtr = 0xc0007fe8,length = 0x4
Write FlashPtr = 0xc13a039c,length = 0x4
Write FlashPtr = 0xc13bac00,length = 0x200
Write FlashPtr = 0xc0007fec,length = 0x4
Write FlashPtr = 0xc13a03a0,length = 0x4
Write FlashPtr = 0xc13bae00,length = 0x200
Write FlashPtr = 0xc0007ff0,length = 0x4
Write FlashPtr = 0xc13a03a4,length = 0x4
Write FlashPtr = 0xc13bb000,length = 0x200
Write FlashPtr = 0xc0007ff4,length = 0x4
Write FlashPtr = 0xc13a03a8,length = 0x4
Write FlashPtr = 0xc13bb200,length = 0x200
Write FlashPtr = 0xc0007ff8,length = 0x4
Write FlashPtr = 0xc13a03ac,length = 0x4
Write FlashPtr = 0xc13bb400,length = 0x200
Write FlashPtr = 0xc0007ffc,length = 0x4
Write FlashPtr = 0xc1da4000,length = 0x200
Write FlashPtr = 0xc0645e00,length = 0x200
Write FlashPtr = 0xc1da4a00,length = 0x200
Write FlashPtr = 0xc1fc1e00,length = 0x200
Write FlashPtr = 0xc1da0a00,length = 0x200
Write FlashPtr = 0xc1da6800,length = 0x200
Write FlashPtr = 0xc0b30a00,length = 0x200
Write FlashPtr = 0xc0786800,length = 0x200
Write FlashPtr = 0xc0650400,length = 0x200
Write FlashPtr = 0xc0656400,length = 0x200
copy: error writing file. errno 0xc0006
0x31ffe00 (tRootTask): disk cache error: device 2a97430 block 7756 errno c0006,
disk removed while writing data, possible data loss



关键词: 请教     文件     系统     不能     写入     Write     Flas    

菜鸟
2011-08-09 13:55:55     打赏
2楼
貌似两个牛掰的版主都两年不上线了呀

菜鸟
2011-08-09 13:56:35     打赏
3楼
貌似两个牛掰的版主都两年不上线了呀

菜鸟
2011-08-18 15:00:32     打赏
4楼

上周已经解决,我说用的flash是intel的i28f256,一个擦除块为0x20000,但后来查看的时候发现从0x8000开始的地方没有执行格式化,于是我直接对0x8000--0x20000的地方执行擦除,问题得以解决。后面的块都没有这个问题。


共4条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]