Author Topic: USB -> Serial Driver for Windows 8 & 10  (Read 12394 times)

Offline neil

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
USB -> Serial Driver for Windows 8 & 10
« on: October 06, 2017, 02:55:33 PM »
Hi
  Does anyone know if there is a stable USB -> Serial driver for Windows 8 & 10? I wish to use the USB port to connect to a serial port on the PC

Regards
Neil

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3240
    • View Profile
    • uTasker
Re: USB -> Serial Driver for Windows 8 & 10
« Reply #1 on: October 06, 2017, 04:08:56 PM »
Neil

Windows 10 is a lot better with regards to USB-CDC.

For Win 8 (32 and 64 bit) I use these inf files:

- http://www.utasker.com/kinetis/FRDM-K64F/uTaskerFreescaleMultiVirtualCOM.inf USB CDC installation file for 32-bit windows (usable for 1..6 USB-CDC composite interfaces).
- http://www.utasker.com/kinetis/FRDM-K64F/uTaskerFreescaleMultiVirtualCOM_64bit.inf USB CDC installation file for 64-bit windows (usable for 1..6 USB-CDC composite interfaces).
See the following for a guide to installing unsigned drivers on Windows 8.1

Windows 10 doesn't need a driver (.inf) as long as the device class communication and control is set to
DEVICE_CLASS_COMMUNICATION_AND_CONTROL,                              // 0x02, 0x02, 0x00
with 0x02, 0x00, 0x00 is does a manual installation as Win 8.
This is new in Windows 10 and very practical!

Regards

Mark

Offline neil

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
Re: USB -> Serial Driver for Windows 8 & 10
« Reply #2 on: October 06, 2017, 07:42:19 PM »
Hi Mark
 I also have many Windows XP users, setting DEVICE_CLASS_COMMUNICATION_AND_CONTROL,                              // 0x02, 0x02, 0x00 , will it still work okay?  Would you also have a good inf file for XP?

Many Thanks
Neil

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3240
    • View Profile
    • uTasker
Re: USB -> Serial Driver for Windows 8 & 10
« Reply #3 on: October 07, 2017, 03:44:19 PM »
Neil

All .inf files for XP are in \Applications\uTaskerV1.4\USB

I expect that the DEVICE_CLASS_COMMUNICATION_AND_CONTROL setting will be OK for all OSs - just Win 10 will recognise it as a request for automatic CDC installation.

Regards

Mark

Offline neil

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
Re: USB -> Serial Driver for Windows 8 & 10
« Reply #4 on: October 09, 2017, 01:25:05 PM »
Hi Mark,
  I tried it on Windows XP, but get the message 'The device cannot start. (Code 10)'. I have checked to make sure the VID and PID are the same, which they are. Works fine in Windows 10.

Regards
Neil