树莓派PICO在win7系统无法识别串口

树莓派PICO在win7系统无法识别,查资料是缺少驱动,显示如下图:

新建文本文件,添加如下代码文件,保存文件名为“Board CDC_RP2_pico-serial”,文件格式为“inf”,这个文件格式就是驱动文件,

然后在设备管理器中,手动添加这个驱动程序给无法识别设备。

 

  1 ; Windows 2000, XP, Vista, 7 and 8 (x32 and x64) setup file for Atmel CDC Devices
  2 ; Copyright (c) 2000-2013 ATMEL, Inc.
  3 
  4 [Version] 
  5 Signature   = "$Windows NT$" 
  6 Class       = Ports 
  7 ClassGuid   = {4D36E978-E325-11CE-BFC1-08002BE10318} 
  8 
  9 Provider    = %Manufacturer% 
 10 LayoutFile  = layout.inf 
 11 CatalogFile = atmel_devices_cdc.cat
 12 DriverVer   = 01/08/2013,6.0.0.0 
 13 
 14 ;----------------------------------------------------------
 15 ; Targets
 16 ;----------------------------------------------------------
 17 [Manufacturer] 
 18 %Manufacturer%=DeviceList, NTAMD64, NTIA64, NT 
 19 
 20 [DeviceList] 
 21 %PI_CDC_PICO%=DriverInstall, USB\VID_2E8A&PID_0005&MI_00
 22 
 23 [DeviceList.NTAMD64]
 24 %PI_CDC_PICO%=DriverInstall, USB\VID_2E8A&PID_0005&MI_00 
 25 
 26 [DeviceList.NTIA64]
 27 %PI_CDC_PICO%=DriverInstall, USB\VID_2E8A&PID_0005&MI_00 
 28 
 29 [DeviceList.NT]
 30 %PI_CDC_PICO%=DriverInstall, USB\VID_2E8A&PID_0005&MI_00
 31 
 32 ;----------------------------------------------------------
 33 ; Windows 2000, XP, Vista, Windows 7, Windows 8 - 32bit
 34 ;----------------------------------------------------------
 35 [Reader_Install.NTx86] 
 36 
 37 
 38 [DestinationDirs] 
 39 DefaultDestDir=12 
 40 DriverInstall.NT.Copy=12 
 41 
 42 [DriverInstall.NT] 
 43 include=mdmcpq.inf
 44 CopyFiles=DriverInstall.NT.Copy 
 45 AddReg=DriverInstall.NT.AddReg 
 46 
 47 [DriverInstall.NT.Copy] 
 48 usbser.sys 
 49 
 50 [DriverInstall.NT.AddReg]
 51 HKR,,DevLoader,,*ntkern 
 52 HKR,,NTMPDriver,,usbser.sys 
 53 HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" 
 54 
 55 [DriverInstall.NT.Services] 
 56 AddService = usbser, 0x00000002, DriverService.NT 
 57 
 58 [DriverService.NT] 
 59 DisplayName = %Serial.SvcDesc% 
 60 ServiceType = 1 ; SERVICE_KERNEL_DRIVER 
 61 StartType = 3 ; SERVICE_DEMAND_START 
 62 ErrorControl = 1 ; SERVICE_ERROR_NORMAL 
 63 ServiceBinary = %12%\usbser.sys 
 64 LoadOrderGroup = Base 
 65 
 66 ;----------------------------------------------------------
 67 ; Windows XP, Vista, Windows 7, Windows 8 - 64bit
 68 ;----------------------------------------------------------
 69 
 70 [DriverInstall.NTamd64]
 71 include=mdmcpq.inf
 72 CopyFiles=DriverCopyFiles.NTamd64
 73 AddReg=DriverInstall.NTamd64.AddReg
 74 
 75 [DriverCopyFiles.NTamd64]
 76 usbser.sys,,,0x20
 77 
 78 [DriverInstall.NTamd64.AddReg]
 79 HKR,,DevLoader,,*ntkern
 80 HKR,,NTMPDriver,,usbser.sys
 81 HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
 82 
 83 [DriverInstall.NTamd64.Services]
 84 AddService=usbser, 0x00000002, DriverService.NTamd64
 85 
 86 [DriverService.NTamd64]
 87 DisplayName=%Serial.SvcDesc%
 88 ServiceType=1
 89 StartType=3
 90 ErrorControl=1
 91 ServiceBinary=%12%\usbser.sys
 92 
 93 ;----------------------------------------------------------
 94 ; String
 95 ;----------------------------------------------------------
 96 
 97 [Strings] 
 98 Manufacturer = "ATMEL, Inc." 
 99 PI_CDC_PICO = "Pi Pico Serial Port" 
100 
101 Serial.SvcDesc = "Pi Pico Serial Driver"

 

 驱动程序更新正常后如下图所示:

 

posted @ 2021-06-08 11:22  炽热的舞者  阅读(2440)  评论(0编辑  收藏  举报