Composite USB driver not working on Win7 x64

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Composite USB driver not working on Win7 x64

1,101 Views
chrisxl
Contributor II

I have ported the composite app demo in the USB stack tree (V4.1.1, KL25 target) to a custom KL46 board.  However, Win 7 is rejecting the .INF file provided ("doesn't contain a compatible software driver").  My PC runs Win7 x64.  I have modified the Mfr. string descriptor and the serial number descriptor in usb_descriptor.c, and modified the manufacturer string in the .inf file to match (.inf file attached).  Can you help me troubleshoot this issue?

 

Thanks,

Chris

Original Attachment has been moved to: VersaTorq-CDC_driver_x86_x64.inf.zip

Labels (2)
0 Kudos
3 Replies

686 Views
mjbcswitzerland
Specialist V

Chris

Not knowing you composite configuration I can't see what is wrong with your *.inf.

Take a look at these following links with some composite configurations for KL46, inluding multiple CDCs

µTasker FRDM-KL46Z support

µTasker Kinetis TWR-KL46Z48M support

They also contain *.infs for 32 and 64 bit machines which may give you an idea.

Regards

Mark

Kinetis: µTasker Kinetis support

KL46: µTasker FRDM-KL46Z support  / µTasker Kinetis TWR-KL46Z48M support

USB User's Guide: http://www.utasker.com/docs/uTasker/USB_User_Guide.PDF

Composite USB: µTasker USB Device Configuration

For the complete "out-of-the-box" Kinetis experience and faster time to market

0 Kudos

686 Views
chrisxl
Contributor II

I am using the MSD_CDC composite app example from the Freescale USB stack.  This instantiates one MSD device and one CDC device.  I reviewed the .inf files in the uTasker links you provided, but they didn't point me to any obvious error in my .inf file.  My .inf file was extracted directly from inf_data.c in the  example.  I have restored the descriptor contents (usb_descriptor.c) to their original settings in the example (only the string descriptors had been changed), but still without success.  The MSD device works, but the CDC device doesn't.  I am trying to install the CDC device using the procedure shown in Appendix K of the Freescale USB Device Stack Users Guide, with the exception that I am using an .inf file I created on my PC rather than getting it from the MSD device as shown in the appendix.

0 Kudos

686 Views
mjbcswitzerland
Specialist V

Chris

1 x CDC + MSD is simple - you can just use the same CDC .INF that you use for a simple single CDC interface.

Just add the MSD interface "after" the CDC one in the descriptor and there is nothing more to be done.

I have attached the USB-CDC configuration descriptor from the uTasker project which will do any mixture of CDCs (1 to 6) together with single or multiple MSDs, and HIDs.

If you need out-of-the box support for such things you can look at the uTasker project or you may find the newer FSL V5 stack has better composite support than the V4. In case you have a commercial project which requires a fast solution you can also contact me for USB consulting [µTasker Support Page ] where I can quickly fix issues also with the FSL components as long as I can run the code in question on one of the reference Freescale KL46 boards.

Regards

Mark

Kinetis: µTasker Kinetis support

KL25: µTasker Kinetis FRDM-KL25Z support  / µTasker Kinetis TWR-KL25Z48M support

KL46: µTasker FRDM-KL46Z support  / µTasker Kinetis TWR-KL46Z48M support

USB User's Guide: http://www.utasker.com/docs/uTasker/USB_User_Guide.PDF

Composite USB: µTasker USB Device Configuration

For the complete "out-of-the-box" Kinetis experience and faster time to market

0 Kudos