AnsweredAssumed Answered

DemoJM bootloader and CDC device

Question asked by Julien Gingras on Oct 15, 2010
Latest reply on Oct 28, 2010 by Julien Gingras

I use the same bootloader and usb cdc to create a virtual com port in one of my project

using MC9s08JM60

work fine in windows xp did install provided driver that came with cmx usb stack

But when I take my project home using windows 7 x64 I can t install the driver

 

I have an inf i found in this forum

;------------------------------------------------------------------------------
;                  Freescale Semiconductor INC.
;            Communication Device Class(CDC) INF File
;------------------------------------------------------------------------------

[Version]
Signature="$Windows NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MANUFACTURER%
LayoutFile=layout.inf
;CatalogFile=%FILENAME%.cat

DriverVer= 6/2/2010,1.1.2600.3

[Manufacturer]
%MANUFACTURER%=DeviceList,NTamd64

[DestinationDirs]
DefaultDestDir=12


;------------------------------------------------------------------------------
;              Windows 2000/XP/Vista32 Support
;------------------------------------------------------------------------------
[DriverInstall.nt]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.nt
AddReg=DriverInstall.nt.AddReg

[DriverCopyFiles.nt]
usbser.sys,,,0x20

[DriverInstall.nt.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[DriverInstall.nt.Services]
AddService=usbser, 0x00000002, DriverService.nt

[DriverService.nt]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys

;------------------------------------------------------------------------------
;              Windows Vista64 Support
;------------------------------------------------------------------------------

[DriverInstall.NTamd64]
include=mdmcpq.inf
CopyFiles=DriverCopyFiles.NTamd64
AddReg=DriverInstall.NTamd64.AddReg

[DriverCopyFiles.NTamd64]
%DRIVERFILENAME%.sys,,,0x20

[DriverInstall.NTamd64.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[DriverInstall.NTamd64.Services]
AddService=usbser, 0x00000002, DriverService.NTamd64

[DriverService.NTamd64]
DisplayName=%SERVICE%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\%DRIVERFILENAME%.sys


;------------------------------------------------------------------------------
;            VID/PID Settings
;------------------------------------------------------------------------------
[SourceDisksFiles]
[SourceDisksNames]
[DeviceList]
%DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_AF0D
%DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_A506
%DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0010
%DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0020
%DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0120
%DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0024

[DeviceList.NTamd64]
%DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_AF0D
%DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_A506
%DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0010
%DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0020
%DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0120
%DESCRIPTION%=DriverInstall, USB\VID_15A2&PID_0024


;------------------------------------------------------------------------------
;              String Definitions
;------------------------------------------------------------------------------
[Strings]

FILENAME="FSL_cdc"
USB\VID_15A2&PID_0010.DeviceDesc="Freescale AN2295 Bootloader"
USB\VID_15A2&PID_0020.DeviceDesc="Freescale Communications Port"
USB\VID_15A2&PID_0120.DeviceDesc="Freescale ZSTAR Triaxial Demo"
USB\VID_15A2&PID_0024.DeviceDesc="Freescale ESTAR Triaxial Demo"
USB\VID_15A2&PID_AF0D.DeviceDesc="Freescale TWR-SENSOR Demo"
DRIVERFILENAME ="usbser"
MANUFACTURER="Juls Power"
INSTDISK="USB2UART"
DESCRIPTION="Freescale CDC Device"
SERVICE="Virtual Com Driver"


but when i point it to install my unknow device

it say it doesn t contain any compatible driver for my hardware

make sure its compatible with windows X64

 

im confuse on this :smileysad:

Thanks

Outcomes