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.

C5515 USB device not recognized

Hi ALL,

     I am using tms320c5515 Rev B board. 

    I am trying to communicate via USB during which I keep getting an error message telling " one of the USB devices attached to this computer has malfunctioned and Windows does not recognized it." USB Root hub  UNKNOWN DEVICE.

  Can anybody provide me the link to download the drivers for C5515 USB and install the same?

Regards,

Taranum

  • Hello,

    I recommend you to use libusb-win32 generic driver utility to generate a driver for your device. However, if windows says your device is malfunctioned and does not recognize it, this means your device is not capable of doing enumeration correctly. You need to check control transfers and descriptors. After a correct enumeration windows will start to search for a driver for the device.

    Regards,

    Yusuf

  • Hi Yusuf,

             I have installed libusb-win32. And I could successfully create the driver for it and the device is shown under libusb-win32 devices. But when I try to debug the code, it shows error initializing emulator. Can you please suggest what the problem might be?

            Also is it necessary to follow those 8steps as mentioned in the below link?

    http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/110/t/53250.aspx

          If YES, I have downloaded the c5505_usb_host_tool zip and when I try to install the .inf file using the command prompt, it shows access denied?

         Can you please tell me the clear procedure that i should follow including the installation of the drivers to communicate over USB?

    Regards,

    Taranum

  • -The USB port that you use for emulation and debugging is different than the one that you use for USB data transfer. You should not change drivers of emulation device. Are you sure that you use a different usb port for communication?

    -c5505 usb host tool contains a driver for c5505 but it only works with 32 bit PCs , not works for x64 systems. libusb driver will work for you and host software that provided in libusb examples work for you if you want to perform bulk or interrupt transfers. So you don't have to use "c5505 usb host tool" and follow the steps.

    -You need to have a firmware that is able to do enumeration before installing drivers. There is a  sample project called 'usb' in ti program files directory. This is an HID device example but it gives an idea.

    Regards,

    Yusuf

  • Hi Yusuf,

         I am using a different USB which is directly interfaced to c5515.How ever once again I shall verify about it. I have written a code for EP1 to perform the transmission as well as reception. The same Endpoint can be used for transmission and reception write? And I want to perform Interrupt transfers. Also how will I verify the descriptor parameters? And the communication between PC and C5515 USB?

    Regards,

    Taranum

  • Yes, the same endpoint can be used for transmiitting and receiving. But , you may go step by step for example first perform receiving then test transmitting. In libusb project there is testlibusb.exe program that shows descriptors of your device. Also you can use a Usb protocol analyzer program (I recommmend usblyzer) to follow usb traffic between your device and PC. This program can help you finding problems in enumeration and data transfer. Also keep in mind that the endpoint 1 fifo must be loaded before you start data transfers (before a transmit interrupt).

    Regards,

    Yusuf

  • Hi Yusuf,

        After I install LIBUSB I should create the driver for my USB from the list of available devices right? But I can not find C5515USB under the USB ports. Sometimes it shows unknown device and sometimes the device is not shown. I tried replacing the cable with another and checked but still the usb port is not visible. What should I do?

    Regards,

    Taranum

  • Hi ,

    This is about a problem in your firmware code. Firmware must be able to do control transfers (enumeration) in order to be seen by windows. When you plug your device you should see that windows searchs for a driver (even if cannot find it) . After that, device appears in infwizard window ,same as the name written in string descriptor. You can match your code with a working code to solve problem.

    Yusuf

  • Hi yusuf,

       Ok I shall check and verify my code. The mouse application was working fine when that was run. Cant I check/ verfiy the data transfer  Via Putty or hyper terminal or Tera term?

    Regards,

    Taranum

  • Hi Taranum Sultana,

                  I'm also facing the same issue. Can you please tell me how did you install the driver for that?. And tell me how to solve this?. Awaiting for your answer.