Hi Guys,
I am building a Raptor based test unit that will have to be a USB serial host to a ST Virtual com port. So I will be connecting a micro USB connector from a STM32F105 to the Raptor host. Any idea if the .netmf will have a driver to allow this to work? I need to connect at 115200 baud.
I test the STM32F105 on Linux and it seemed to work with a generic driver:-
[em]cdc_acm 2-2.1:1.0: ttyACM0: USB ACM device
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core[/em]
I am wondering if I catch the UnknownDeviceConnected event and force it to a serial port would it work?
Here is the details for a Win7 PC ST VCOM inf driver file.
;------------------------------------------------------------------------------
; STMicroelectronics Comunication Device Class driver (CDC) INF FILE
; ©2010 Copyright STMicroelectronics
;------------------------------------------------------------------------------
[Version]
Signature="$Windows NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%PRVDR%
CatalogFile=stmcdc.cat
DriverVer=04/25/2010,1.3.1
[SourceDisksNames]
1=%DriversDisk%,
[SourceDisksFiles]
[Manufacturer]
%MFGNAME%=DeviceList,NT,NTamd64
[DestinationDirs]
DefaultDestDir = 12
;------------------------------------------------------------------------------
; VID/PID Settings
;------------------------------------------------------------------------------
[DeviceList.NT]
%DESCRIPTION%=DriverInstall,USB\VID_0483&PID_5740
[DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall,USB\VID_0483&PID_5740
[DriverInstall.NT]
Include=mdmcpq.inf
CopyFiles=FakeModemCopyFileSection
AddReg=DriverInstall.NT.AddReg
[DriverInstall.NT.AddReg]
HKR,DevLoader,*ntkern
HKR,NTMPDriver,usbser.sys
HKR,EnumPropPages32,“MsPorts.dll,SerialPortPropPageProvider”
[DriverInstall.NT.Services]
AddService=usbser, 0x00000002, DriverServiceInst
[DriverServiceInst]
DisplayName=%SERVICE%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary= %12%\usbser.sys
LoadOrderGroup = Base
;------------------------------------------------------------------------------
; String Definitions
;------------------------------------------------------------------------------
[Strings]
PRVDR = "STMicroelectronics"
MFGNAME = "STMicroelectronics."
DESCRIPTION = "STMicroelectronics Virtual COM Port"
SERVICE = "STM Virtual COM Port"
DriversDisk = “STM Drivers Disk”