Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

MSP430F5529: MSP430 USB Developer Package, USB Descriptor Tool creates incorrect .inf file

$
0
0

Part Number:MSP430F5529

Hello,

I have noticed an issue with the USB Descriptor Tool. To recreate this issue, a composite USB device must be created with 3 CDC. The driver (.inf) file generated by the USB Descriptor Tool has a small issue. It assigns the wrong display name to the CDCs.

Below is the steps to recreate and fix the issue.

First use the USB Descriptor tool to generate the code for MSP430F5529.

After generating the files and creating the MSP430F5529 image and uploading the code to the deivce, the following CDCs are detected by the PC,

So far everything works.

Next using device manager, select the .inf file as the driver for the CDCs.

The first CDC is correctly named CDC0, The CDC1 will be named CDC2! The CDC3 is actually named %DESCRIPTION4%.

The following two images show this.

So to summarize,

CDC0 is named CDC0

CDC1 is named CDC2

CDC2 is named %DESCRIPTION4%

This is due to .inf file generated by the Descriptor Tool.

The file generated by the tool,

The issue is that lines 129 and 130 must be DESCRIPTION2 and DESCRIPTION4

The corrected .inf file,

After installing this driver, everything will work.

The issue must be something as simple as "DESCRIPTION" + String.valueOf(cdcid * 2) in the java source code.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>