USB CDC IAD not working on windows 7

dev
Sun Aug 05, 2018 6:25 am
Hi,

I am using USB IAD CDC example. CDC working properly on windows 10 but not working on windows 7.

Is windows 7 detects IAD?

how to install driver for the same?


stevestrong
Sun Aug 05, 2018 6:39 am
You mean USB serial? You have to intall the correct drivers in admin mode.
How does Win7 report the device?

dev
Sun Aug 05, 2018 10:54 am
yes USB Serial.
I tried installing driver automatically but still not working.
It is working properly on windows 10 but not on windows 7.

stevestrong
Sun Aug 05, 2018 11:13 am
[stevestrong – Sun Aug 05, 2018 6:39 am] –
How does Win7 report the device?


dev
Sun Aug 05, 2018 12:25 pm
It is giving Error code as 28.

stevestrong
Sun Aug 05, 2018 12:29 pm
Please post a screenshot of the device manager showing the device.

dev
Sun Aug 05, 2018 12:53 pm
here is screenshot of

usb detect2.JPG
usb detect2.JPG (39.6 KiB) Viewed 261 times

stevestrong
Sun Aug 05, 2018 2:44 pm
Which core?
Which library?
I don’t know any IAD example… so please post the complete example sketch.

devan
Sun Aug 05, 2018 3:49 pm
Only Windows 10 supports detecting CDC-ACM devices and automatically installing the appropriate usbser.sys driver for it. In Windows 7, you need to manually tell Windows to use usbser.sys for your CDC-ACM interface. These days, I just use Zadig to manually install the CDC-ACM driver.

If you like trying things that worked at one point but may not work anymore, you can try:

  • Finding the Windows dialog somewhere that will let you manually pick an existing driver to use.
  • Creating a .inf file that tells Windows to use usbser.sys and convincing Windows to let you install it.

mrburnette
Mon Aug 06, 2018 3:10 am
Win 7 ====> Win 10 FREE
https://www.zdnet.com/article/heres-how … 0-upgrade/

Ray

Update: I recently (maybe 5 weeks ago) purchased an older notebook from eBay for testing purposes and it came with Win7. This process worked perfectly for me; but I have to say that after going through all of the necessary Windows updates after the transformation to Windows 10, it really does make me thankful for the ease of updating my Linux systems. Microsoft may have made updating somewhat abstracted from the end-user, but the need to constantly reboot is a real P.I.T.A.


dev
Mon Aug 06, 2018 4:10 pm
[devan – Sun Aug 05, 2018 3:49 pm] –
Only Windows 10 supports detecting CDC-ACM devices and automatically installing the appropriate usbser.sys driver for it. In Windows 7, you need to manually tell Windows to use usbser.sys for your CDC-ACM interface. These days, I just use Zadig to manually install the CDC-ACM driver.

If you like trying things that worked at one point but may not work anymore, you can try:

  • Finding the Windows dialog somewhere that will let you manually pick an existing driver to use.
  • Creating a .inf file that tells Windows to use usbser.sys and convincing Windows to let you install it.

Do i need to change the VID and PID in .inf file?

[mrburnette – Mon Aug 06, 2018 3:10 am] –
Win 7 ====> Win 10 FREE

i have installed lot many software on win7 and i am happy with win7 only. i got another pc which runs win10.


devan
Tue Aug 07, 2018 2:08 am
[dev – Mon Aug 06, 2018 4:10 pm] –

[devan – Sun Aug 05, 2018 3:49 pm] –
Only Windows 10 supports detecting CDC-ACM devices and automatically installing the appropriate usbser.sys driver for it. In Windows 7, you need to manually tell Windows to use usbser.sys for your CDC-ACM interface. These days, I just use Zadig to manually install the CDC-ACM driver.

If you like trying things that worked at one point but may not work anymore, you can try:

  • Finding the Windows dialog somewhere that will let you manually pick an existing driver to use.
  • Creating a .inf file that tells Windows to use usbser.sys and convincing Windows to let you install it.

Do i need to change the VID and PID in .inf file?

Yes, you would need to change the VID/PID and possibly the revision number (Rev_0100) and interface numbers (MI_00/MI_02) to match your own device.
Do note that the example .inf file is for one USB device with two serial ports. If you only need one serial port, you can ignore either BLACKMAGICGDB (the first interface) or BLACKMAGICUART (the second interface) when you replace things.

I did get the .inf file method to work for my own project once, but last time I tried it I couldn’t remember the exact steps, so I still recommend using Zadig.


Leave a Reply

Your email address will not be published. Required fields are marked *