本人在做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
共5条
1/1 1 跳转至页
请教!tffs文件系统不能写入大文件
5楼
上周已经解决,我说用的flash是intel的i28f256,一个擦除块为0x20000,但后来查看的时候发现从0x8000开始的地方没有执行格式化,于是我直接对0x8000--0x20000的地方执行擦除,问题得以解决。后面的块都没有这个问题。
共5条
1/1 1 跳转至页
回复
| 有奖活动 | |
|---|---|
| 2026年“我要开发板活动”第三季,开始了! | |
| 硬核工程师专属补给计划——填盲盒 | |
| “我踩过的那些坑”主题活动——第002期 | |
| 【EEPW电子工程师创研计划】技术变现通道已开启~ | |
| 发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
| 【EEPW在线】E起听工程师的声音! | |
| 高校联络员开始招募啦!有惊喜!! | |
| 【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
我要赚赏金打赏帖 |
|
|---|---|
| PTC与NTC功能常规对比被打赏¥14元 | |
| 【分享开发笔记,赚取电动螺丝刀】关于3pin锂电池接口的介绍/使用被打赏¥16元 | |
| 以启明云端ESP32P4开发板实现TF卡读写功能被打赏¥28元 | |
| 【分享开发笔记,赚取电动螺丝刀】树莓派5串口UART0配置被打赏¥25元 | |
| 【STM32F103ZET6】17:分享在Rtos项目中断管理的使用经验被打赏¥23元 | |
| 【STM32F103ZET6】16:分享在中断中恢复串口任务,遇到的问题被打赏¥31元 | |
| 在FireBeetle2ESP32-C5上实现温度大气压检测及显示被打赏¥21元 | |
| 【分享开发笔记,赚取电动螺丝刀】SAME51双串口收发配置被打赏¥27元 | |
| Chaos-nano操作系统在手持式VOC检测设备上的应用被打赏¥37元 | |
| 【分享开发笔记,赚取电动螺丝刀】关于在导入第三方库lib时,wchart类型冲突的原因及解决方案被打赏¥30元 | |
我要赚赏金
