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 message: Unknown device

Expert 1030 points
Other Parts Discussed in Thread: MSP430F5529

When I connect my USB-enabled MSP430F5529 to my Windows host I expect to be asked to point it to my .inf file created by MSP430 Descriptor Tool v4.0.0. (VID=0x2047, PID=0x3FD). This doesn't happen. Instead, on going to the Manager and looking at devices I find an 'Unknown Device' in the list of 'Universal Serial Bus controllers'. I then:

1. Right click and select 'Properties'

2. Go to the 'Driver' tab and select 'Update Driver'

3. Click on 'Browse my computer' and 'Let me pick from list'

4. Select 'Have Disk' and then select 'MSP430_CDC .inf' from directory '...\USB_config'

5. Click 'OK'

I then get the message 'The folder you specified doesn't contain a compatible software driver for your device'.

What am I doing wrong? Is something missing? I'm not sure an 'inf' file is referred to as a driver. Advice, anybody? Thanks.

  • Hello,

    From the VID/PID you have listed, it looks like you created the INF file using the descriptor tool.  If the device does not show up as a device under "other devices' category in Device Manager, then the device has not been configured properly.  It might be your application code or the INF file.  INF files are only relevant for CDC type interfaces.

    Did you save off all the outputs generated by the Descriptor Tool into the USB_config directory?  The PID/VID also appears in the descriptors.h file.

    Are you able to run the CDC examples that is part of the MSP430 USB Developers Package?

    For more information on INF files please refer to the Examples_Guide_MSP430_USB.pdf file, Section 2.5.

    Regards,

    Arthi Bhat  

     

  • Hi Arthi,

    1. Yes, I did create the INF file using the MSP430 Descriptor tool, version 4.0.

    2. In the Windows Manager, it comes up in Universal Serial Bus controllers as an Unknown Device. There is no 'Other Devices' category.

    3. Yes, the files were saved to the USB_config directory.

    4. I've found 'Examples_Guide_MSP430_USB.pdf' in my ti\msp430 directory and will read the section you mentioned.

    Thanks for your help.

  • I decided to try one of the example projects, viz., Efficient Sending Using cdcSendDataInBackground(). I went to the TI Resource Explorer and navigated to the appropriate file to import. Then I executed the four installation steps.

    1. Import the example project into CCS. This created 'C6_SendDataBackground()' in my Project Explorer window. This got a green tick so I assume everything went well.

    2. Build the imported project (after changing the device to an MSP430F5529). This got a tick.

    3. Debugger Configuration. Okay - using my MSP-FET430UIF.

    4. Debug the imported project. I launched the debugger. This went well and the FLASH was programmed and the Debugger stopped at the main() entrance point. I then ran the program and heard Windows acknowledge that something had been detected on a USB port.

    5. This is where I have trouble. Windows then wants a driver before it can do anything more. There is a USB_config directory with descriptor files, but there is no INF file there. The step-by-step instructions don't say anything about using the Descriptor Tool to create the INF file.

    What have I missed here? Why does there not need to be an INF file to direct Windows to because, so far as I know, CDC devices need an INF file? If I'm correct, perhaps TI could include this step in the appropriate place in TI Resource Explorer

    Thanks.

**Attention** This is a public forum