This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB mass storage transfer getting cancelled

I am developing WinCE 6.0 USB function controller driver for TI's DM355 SOC . When I try to test mass storage functionality for it using an SD card on the EVM, it gets mounted as a removable device.But when I do file transfers, the transfer is getting aborted. When I verified using protocol analyzer, some transfers are getting cancelled returning [ URB Bulk or Interrupt Transfer cancelled , USBD_STATUS_CANCELED] and the port is getting reset. But I am not able to find why the transfer is getting cancelled.

URB Bulk or Interrupt Transfer canceled

Device Object USBPDO-10

Driver Object usbhub

URB Function URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER

URB Status USBD_STATUS_CANCELED Endpoint 81h 1 In, Bulk

  • Have moved your forum post to the proper WinCe Forum for the right audience to look into it.

    See the dm3x forum guidelines.

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/dm3x/f/100/t/37487.aspx 

     

  • Ragesh,

    WinCE/DM355 is not a supported combination from TI. 

    But I think your question falls under the DM355 specific category (and maybe your original post was in the right forum). Leaving that aside my suggestion would be

    • Find if similar operation works under Linux for DM355. If so, the Linux driver implementation would be your best reference. After you have looked at the Linux driver implementation and incorporated anything that is relevant into your driver and you still face the issue then it becomes a chip specific USB subsystem programming issue which should go back to the Davinci/DM355 forum.

    Hope this gives you a direction to proceed.

    Jatin

  • Ragesh,

    Did you resolve this issue using the Linux driver?  I'm having exactly the same behaviour on a totally different DSP (C6747), with a different driver (Jungo BIOSUSB).  Did you ever figure out what is the source of the cancelled transfers?  Although they are clearly different cases, I am hoping you might give me a clue.

    Thanks,

    Lori

  • Hi Ragesh,

    There is already a fully supported WinCE BSP for the DM355. This has been tested with USB mass storage function and is working. The BSP can be downloaded as either a free binary evaluation or purchased with full source code from here:

    http://support.mpcdata.com/ti/

    This BSP also has MPEG4 & JPEG codec support.

    Regards,

    Richard.