|
我用的是Tornado2.2,Vxworks版本是5.5,包含USB模块,
新建立工程后,工程中加入USB支持,选中下列组件:
Hardware->Buses->USB Hosts->USB Host Stack
Hardware->Buses->USB Hosts->OHCI
Hardware->Buses->USB Hosts->UHCI
Hardware->Buses->USB Hosts->EHCI
Hardware->Buses->USB Hosts->USB Host Init->USB Host Stack Init
Hardware->Buses->USB Hosts->USB Host Init->OHCI Init
Hardware->Buses->USB Hosts->USB Host Init->UHCI Init
Hardware->Buses->USB Hosts->USB Host Init->EHCI Init
在工程中添加USB设备的支持,添加下列组件:
Hardware->Peripherals->USB Devices->Mass Storage - Bulk
Hardware->Peripherals->USB Devices->USB Devices Init->Bulk Mass Storage Init
可最后在目标机上,程序执行到usrUsbHcdUhciAttach函数时不返回,请问怎么回事?
如果是我做的方法不对,该怎么做?我的目的很简单,就是想在Vxworks下将采集数据保存在U盘里。
|
|