USB SliceKit CDC and Windows 7

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
User avatar
Folknology
XCore Legend
Posts: 1274
Joined: Thu Dec 10, 2009 10:20 pm

USB SliceKit CDC and Windows 7

Postby Folknology » Wed Jan 28, 2015 12:57 pm

I am trying to work with my USB SliceKit on Windows 7 using the CDC example provided with AN00124. I know it works when I plug it into Linux as have tested it. However on Windows 7 when I run the compiled example and point windows to the provided Xmos CDC driver (cdc_demo.inf) Windows complains that it is a windows 95 driver and has an error loading it.

Is there a new updated CDC.inf file that does work with Windows 7 or some way of hacking/modifying it?
CDC-Driver-Error.PNG
regards
Al
You do not have the required permissions to view the files attached to this post.
User avatar
mon2
XCore Legend
Posts: 1433
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Wed Jan 28, 2015 1:58 pm

Hi Al. Been there, done that and believe have the T-shirt somewhere around here...
However on Windows 7 when I run the compiled example and point windows to the provided Xmos CDC driver (cdc_demo.inf) Windows complains that it is a windows 95 driver and has an error loading it.
Correct.

The supplied INF file is not (Microsoft) DTM nor Microsoft signed via the required .CAT file. The noted package is required for installation on 64 bit Windows 7 / 8.x platforms in addition to the INF file supplying the proper OS compatibility string. It may be possible to support Windows 7 32 bit by changing only the INF OS compatibility string.

https://msdn.microsoft.com/en-us/librar ... 85%29.aspx

However, there are better options.

Noting the above, here is an excellent on topic discussion by the famed Dr. Tsuneo Chinzei (USB guru amongst other topics - a living 'Lucy'http://www.imdb.com/title/tt2872732/):

http://www.microchip.com/forums/m794170.aspx

Respectively, legally, cannot confirm nor deny that since the XMOS is programmable, that if you change the IDs presented inside the xud_cdc.c file:

Code: Select all

/* USB CDC device product defines */
#define BCD_DEVICE  0x0100
#define VENDOR_ID   0x20B1
#define PRODUCT_ID  0x0401
to:

Code: Select all

/* USB CDC device product defines */
#define BCD_DEVICE  0x0100
#define VENDOR_ID   0x04D8
#define PRODUCT_ID  0x000A
and download and apply the driver package posted here (as-is since any changes to the INF file will break the signature !!):

http://www.microchip.com/forums/downloa ... e=0;796940

The combination may or may not work with all Windows 64 platforms (ie. XP64, Windows 7 64 bit and likely Windows 8.x) :)

Have fun !
User avatar
Folknology
XCore Legend
Posts: 1274
Joined: Thu Dec 10, 2009 10:20 pm

Postby Folknology » Wed Jan 28, 2015 3:35 pm

Thank you Mon2, clearly I would not recommend anyone else go this route other than to temporarily test things work, but I can confirm this is effective on a 64Bit Windows 7 Installation.

I am hoping that Xmos can provide a signed driver that will work ASAP preventing others from having to jump through such fiery hoops when developing with USB sliceKits (or any standard class non audio Xmos USB application) on modern Windows installations.

regards
Al

Who is online

Users browsing this forum: No registered users and 1 guest