IF YOU ALREADY HAVE PuTTY TALKING TO THE VOCORE2 THROUGH USB IGNORE THIS!
What I did to accomplish this is below, but I think all you need to do is create a file named usb_device.inf somewhere easy to find:
- Code: Select all
; usb_device.inf
[Strings]
DeviceName = "VoCore2 CDC serial link"
VendorName = "vocore.io"
SourceName = "Arduino drivers"
DeviceID = "VID_28e9&PID_018a"
DeviceGUID = "{0A8015E2-EC15-4270-878D-FACCC22F89BC}"
[Version]
Signature = "$Windows NT$"
Class = Ports
ClassGuid = {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider = %VendorName%
CatalogFile = usb_device.cat
DriverVer = 07/18/2015, 1.0.0.0
[Manufacturer]
%VendorName%=DeviceList, NTamd64, NTia64
[DestinationDirs]
FakeModemCopyFileSection=12
DefaultDestDir=12
[DeviceList]
%DeviceName% = DriverInstall, USB\%DeviceID%
[DeviceList.NTamd64]
%DeviceName% = DriverInstall, USB\%DeviceID%
[DeviceList.NTia64]
%DeviceName% = DriverInstall, USB\%DeviceID%
[DriverInstall]
include=mdmcpq.inf,usb.inf
CopyFiles = FakeModemCopyFileSection
AddReg=DriverAddReg
[DriverAddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
[DriverInstall.Services]
include=mdmcpq.inf
AddService=usbser, 0x00000002, DriverService
[DriverService]
DisplayName=%ServiceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\usbser.sys
LoadOrderGroup=Base
Then plug in the VoCore2 and let Windows fail installing the driver, go to Devices and Printers and right click on the "GD32 Virtual ComPort" icon and select Properties. On the Hardware Tab click the Properties button and then the change settings button. On the Driver Tab
click on the Update Driver button and take the browse my computer option and navigate to the folder where the usb_device.inf file is, click OK then click next. Tell Windows to "Install this driver anyway".
When it finishes installing the driver the name in Devices and Printers should change to "VoCore2 CDC serial link", if you don't like this name it is set in the usb_device.inf file, change it. Note what COM port it is assigned to.
Now you should be able to use a serial session in PuTTY with this COM port (don't forget to set the baud rate)
I'm a linux geek, I think Windows is an abhorrent waste of disk space, so don't expect me to improve on this much. Hopefully a Windows geek can use this information to come up with a better solution.
How I did this on Windows 7 Home Premium running on a AMD64 platform:
1. Follow these instructions except install the 1.8 version of Arduino. The second bullet under "Windows" is especially important.
2. Copy the usb_device.inf file in My Documents>Arduino>hardware>Arduino_STM32-master>drivers>win>maple-serial somewhere else.
3. Change the usb_device.inf file to what is above, this line is critical
- Code: Select all
DeviceID = "VID_28e9&PID_018a"