Author Topic: DigiCDC - invalid configuration descriptor Win10 ( please help me )  (Read 4066 times)

dumaster

  • Newbie
  • *
  • Posts: 8
Hello friends,

I'm having a problem and I've researched everywhere and I did not find a solution, I hope someone here can help me.

I have a DigiSpark, I've done several tests with it, and everything works perfectly, the recording of the programs works okay, I've tested all the examples related to USB communication, joystick, keyboard and mouse examples work perfectly, windows recognizes normal devices, Now with the DigiCDC library to emulate a serial port by USB that start the problems, after I burn the CDC_Led example it is not recognized by windows, the device manager reports the "invalid configuration descriptor"

Using a program called USB Descriptor Dump I checked that only the beginning of the information of the descriptors is recognized, apparently it stops in "iManufacturer" I will put text and a link of the dump image below.

In some of my searches I discovered that this problem may be related to the timing of sending the descriptor data, I would really like to know if there are more people going through this and if there is any solution, if there is any modification I can make to the library files Of CDD.

I would be very grateful if anyone could help me

Eduardo Lopes

http://imgur.com/a/w74JX

----------------------------------- Dump Start -----------------------------------

Information for device USB\Vendor_16D0_Product_087E:

Connection Information:
------------------------------
Connection status: Device failed enumeration
Device actual bus speed: LowSpeed
Device supports USB 1.1 specification
Device supports USB 2.0 specification
Device is hub: No
Device address: 0x0009
Current configuration value: 0x00
Number of open pipes: 0

Device Descriptor:
------------------------------
0x12   bLength
0x01   bDescriptorType
0x0110   bcdUSB
0x02   bDeviceClass   (Communication Device Class)
0x00   bDeviceSubClass   
0x00   bDeviceProtocol   
0x08   bMaxPacketSize0   (8 Bytes)
0x16D0   idVendor
0x087E   idProduct
0x0100   bcdDevice
0x01   iManufacturer
0x02   iProduct
0x00   iSerialNumber
0x01   bNumConfigurations

Configuration descriptor and all subsequent descriptors are not available. Error code: 0x00000002

Microsoft OS Descriptor is not available. Error code: 0x00000002

String Descriptor Table
--------------------------------
Index  LANGID  String
0x00   0x0000 
0x01   0x0000  Request failed with 0x00000002
0x02   0x0000  Request failed with 0x00000002

------------------------------

Connection path for device:
Controlador Host Compatível com USB xHCI
Root Hub
USB\Vendor_16D0_Product_087E Port: 10

Running on: Windows 10 or greater

Brought to you by TDD v1.84.0, Dec 14 2015, 09:19:38

----------------------------------- Dump End -----------------------------------
« Last Edit: February 20, 2018, 10:34:46 pm by dumaster »

dumaster

  • Newbie
  • *
  • Posts: 8
Re: DigiCDC invalid configuration descriptor ( Win10 )
« Reply #1 on: July 16, 2017, 10:05:39 pm »
Is there anyone with this problem ??? Is there anyone who has solved or know how to solve this ??? Is there anyone who can help ???

Please !!!!!

dumaster

  • Newbie
  • *
  • Posts: 8
Re: DigiCDC USB Serial - invalid configuration descriptor ( Win10 )
« Reply #2 on: July 20, 2017, 11:46:42 pm »
No one has a suggestion to solve this ???

Thanks !!!

dumaster

  • Newbie
  • *
  • Posts: 8
Re: DigiCDC USB Serial - invalid configuration descriptor ( Win10 )
« Reply #3 on: August 01, 2017, 12:04:22 pm »
Up...

dumaster

  • Newbie
  • *
  • Posts: 8
Re: DigiCDC USB Serial - invalid configuration descriptor ( Win10 )
« Reply #4 on: August 21, 2017, 05:06:46 pm »
Really no one has a suggestion to solve this ???

Thanks !!!

mattw

  • Newbie
  • *
  • Posts: 1
Re: DigiCDC USB Serial - invalid configuration descriptor ( Win10 )
« Reply #5 on: November 09, 2017, 06:25:39 am »
I feel your pain... I am trying to use this to feed data into a Pi and under Windows I can't do any debugging since it never completes the USB connection.  I have several of these and really need this to work. 

Chapolin

  • Newbie
  • *
  • Posts: 2
Re: DigiCDC USB Serial - invalid configuration descriptor ( Win10 )
« Reply #6 on: November 25, 2017, 10:57:56 pm »
Same problem here. Any success yet?

dumaster

  • Newbie
  • *
  • Posts: 8
Re: DigiCDC USB Serial - invalid configuration descriptor ( Win10 )
« Reply #7 on: December 09, 2017, 05:30:42 pm »
I feel your pain... I am trying to use this to feed data into a Pi and under Windows I can't do any debugging since it never completes the USB connection.  I have several of these and really need this to work.

Same problem here. Any success yet?

I am sad because a developer does not appear to be able to help with these problems, I believe it is something simple related to data flow timing, something that either goes too slow and expires the time of communication with the USB of the computer or very fast that the USB computer controller can not interpret properly !!!

I tried to modify several parameters in the DigiCDC files, but I did not succeed ...

If any of you two get something please share with me !!!

Hugs

dumaster

  • Newbie
  • *
  • Posts: 8
Re: DigiCDC USB Serial - invalid configuration descriptor ( Win10 )
« Reply #8 on: February 20, 2018, 10:24:30 pm »
Do any members find a solution?

dumaster

  • Newbie
  • *
  • Posts: 8
Re: DigiCDC USB Serial - invalid configuration descriptor ( Win10 )
« Reply #9 on: February 20, 2018, 10:33:37 pm »
i find this post of Ralf Member http://digistump.com/board/index.php/topic,2321.msg13159.html#msg13159

Quote
DigiCDC is an ugly hack, as CDC devices are specified as Hi-Speed USB (12 MHz clock). The Digispark USB emulation is Lo-Speed USB (1.5 MHz clock). It worked anyway on Windows XP and on older Linux kernels, but with newer versions of Windows and Linux it does not work anymore.

You may still use DigiUSB, but it requires that you write some C, C++ or Python software for the PC side.

Why the DigiUSB library works perfectly on windows 10 and the DigiCDC library have descriptors problem ( unknow device ) ??? is it possible to modify the CDC library to fix these timing problems ???

Is there anyone with patience to explain what may be happening?

kanka

  • Newbie
  • *
  • Posts: 1
Re: DigiCDC - invalid configuration descriptor Win10 ( please help me )
« Reply #10 on: June 09, 2018, 06:31:15 pm »
Bump! I am having the same issue running Win8.1. Isn't there really no way to use CDC?!