这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » Probelms about TFFS of VxWorks

共10条 1/1 1 跳转至

Probelms about TFFS of VxWorks

菜鸟
2002-08-07 02:13:04     打赏
Enviorment: Tornado2.1.1/VxWorks5.4.2 for ARM Flash:AM29F040B TFFS:Installed 我不知道建立TFFS的具体步骤,请各位大虾赐教! 谢谢!



关键词: Probelms     about     VxWorks    

菜鸟
2002-08-07 03:46:00     打赏
2楼
我的Bootrom里没有加TFFS,然后想在Bootable Project中添加这个组件,然后在Shell中执行初始化命令,但是没有成功。 这个步骤是不是有问题?

菜鸟
2002-08-07 16:00:00     打赏
3楼
1.我在User's Guide中看到这么一句:“For example, if the only flash device included on your target were a flash array implemented on AMD 29F040 flash, a NOR-based technology, you would define INCLUDE_TL_FTL and undefine INCLUDE_TL_SSFDC and INCLUDE_TL_NFTL. 所以,我定义了 INCLUDE_TL_FTL 。 2.我在User's Guide中看到这么一句:“For example, if the only flash device included on your target was an 8-bit flash array implemented on AMD 29F040 flash, you could safely undefine all the MTD defines other than INCLUDE_MTD_AMD.” 所以,我定义了 INCLUDE_MTD_AMD。 3.Socket层该怎么配置? 各位,请帮个忙吧!谢谢!

菜鸟
2002-08-07 16:51:00     打赏
4楼
我也是看着这份文档做的,但是还是没动起来! 唉!

菜鸟
2002-08-08 01:44:00     打赏
5楼
我在调用usrTffsConfig 0,0,"/tffs/"的时候出现错误提示: tffsDevCreate failed!

菜鸟
2002-08-08 18:54:00     打赏
6楼
1.Build a Bootrom without TFFS support. 2.Boot the target from networks. 3.Modified: (1)Makefile Add the MACH_EXTRA=sysTffs.o (2)Config.h #define INCLUDE_TFFS #define INCLUDE_FLASH (3)sysTffs.c #defien INCLUDE_TL_FTL #define INCLUDE_MTD_AMD 4.Build a bootable project and result a vxworks image 5.Reboot the target and download the vxworks image 6.Shell command line: ->tffsDrv value = 0 = 0x0 -> dosFsInit(20) value = 0 = 0x0 -> pBootDev=tffsDevCreate(8,0) new symbol "pBootDev" added to symbol table. pBootDev = 0x194d34: value = 0 = 0x0 -> dosFsDevInit("tffs",pBootDev,NULL) undefined symbol: NULL -> dosFsDevInit("tffs",pBootDev,0) value = 0 = 0x0 串口显示 dosFsLibInit failed! ->devs 显示没有Tffs -> tffsDevFormat 0,0 value = -1 = 0xffffffff -> usrTffsConfig("/tffs/",0,0) value = -1 = 0xffffffff -> usrTffsConfig("/tffs/",8,0) value = -1 = 0xffffffff 是什么问题呢?

菜鸟
2002-08-09 00:22:00     打赏
7楼
I am so sorry! It is still failed!

菜鸟
2002-08-09 06:03:00     打赏
8楼
我在Shell命令行中键入 tffsShow 显示 communication error 这是不是表示 MTD不对呢。

菜鸟
2002-08-09 17:19:00     打赏
9楼
I am Sorry! 我一开始就是向您二位说的一样,但没成功。 1.修改Config.h #define INCLUDE_TFFS #define INCLUDE_DOSFS 2.修改sysTffs.c defien INCLUDE_TL_FTL #define INCLUDE_MTD_AMD 3.修改makefile MACH_EXTRA=sysTffs.o 4.在修改过的BSP上新建一个Bootable工程,里面已经加了TFFS和DOSFS组件,重新Build。 然后通过网络重启。 5.Shell Command: tffsDevFormat 0,0 usrTffsConfig 0,0,"/tffs/" 两个命令都返回-1 tffsShow 显示communication error 根据我的理解driver应该是0或者1,我都试过,不行,才改用8(随机取得),也不可以。

菜鸟
2002-08-12 21:43:00     打赏
10楼
小弟谢谢各位的帮助,虽然还没成功,可是我有别的事情要马上做,我以后还会继续的,如果成功了,我一定写一个小总结给大家汇报一下! 再次谢谢各位!鞠躬!

共10条 1/1 1 跳转至

回复

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