We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 30889

10.1 EDK - USB connected mass storage device does not appear as a drive on my embedded VxWorks project


Keywords: USB, mass, storage, uba, ubb, ubc, Wind, River, MLD

When configured as a mass storage device, a USB device should be detected as a mass storage device. However, the drive does not show up on the PC to which it is connected. How can I work around this problem?


To work around the problem, follow these steps:

1. Open the <WindRiver-Install -Directory>/vx-works6.x/target/src/drv/usb/target/usbTargMsLib.c in a text editor.
2. Modify line 104 so that the MS_BULK_OUT_ENDPOINT_NUM constant has a value of "2".
3. Recompile the library:
- For a PPC440 system:
make CPU=PPC32 TOOL=sfgnu
- For a PPC405 system:
make CPU=PPC405 TOOL=sfgnu
4. Rebuild the VxWorks to have the image created with this new library.

This problem has been fixed in the latest 10.1 Service Pack available at:
The first service pack containing the fix is 10.1 Service Pack 3.
AR# 30889
Date 08/26/2008
Status Active
Type General Article