Posts: 9144
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Windows 7 and XP Serial Port Drivers

Sun Jan 24, 2021 3:26 pm

I wanted to connect my Pi Pico to Windows 7 and XP machines using the USB port so I could see 'print' output when running MicroPython but neither Windows 7 nor XP would recognise the Pico's Virtual Serial Port. Solved that by using -

https://www.microchip.com/SWLibraryWeb/ ... COM_Driver

And replacing the following sections as below -

Code: Select all

%PI_CDC_PICO%=DriverInstall, USB\VID_2E8A&PID_0005&MI_00

%PI_CDC_PICO%=DriverInstall, USB\VID_2E8A&PID_0005&MI_00 

%PI_CDC_PICO%=DriverInstall, USB\VID_2E8A&PID_0005&MI_00 

%PI_CDC_PICO%=DriverInstall, USB\VID_2E8A&PID_0005&MI_00

Manufacturer = "ATMEL, Inc." 
PI_CDC_PICO = "Pi Pico Serial Port" 
Serial.SvcDesc = "Pi Pico Serial Driver"
Bingo! With that saved as 'pico-serial.inf' in its own directory along with Microsoft's 'usbser.sys', selecting that as the driver directory when the Device Manager Install Wizard popped-up worked a treat.

Windows 10 works out the box, found drivers to use. The above worked on my Windows 7 and XP boxes, might also work on other Windows versions but not tested by me.


Posts: 1
Joined: Fri Jan 29, 2021 12:13 am

Re: Windows 7 and XP Serial Port Drivers

Fri Jan 29, 2021 12:33 am

Had the same issue, followed your edits, Windows 7 now complains the driver is unsigned.

You don't need usbser.sys in the same directory, only the .inf is required.

Can someone upload the .inf and .cat from windows 10's driver?

User avatar
Authorised Reseller
Authorised Reseller
Posts: 242
Joined: Mon Nov 05, 2012 9:58 pm
Location: Germany
Contact: Website

Windows 8.1 solution

Mon Feb 01, 2021 7:11 am

I have run into a similar problem on Windows 8.1, and found a free tool to set the serial port driver up. Without having to edit .inf files!

Raspberry Pi Pico and MicroPython on Windows 8.1 and Windows 10, including serial port driver solution

My solution fixes this: Driver not found / error state for Pico showing up as Board CDC with MicroPython
board-cdc-driver-not-found-windows81.png (22.9 KiB) Viewed 544 times
picockpit.com - tools to make your life with the Pi a little bit easier

Posts: 1
Joined: Mon Feb 08, 2021 7:45 pm

Re: Windows 7 and XP Serial Port Drivers

Mon Feb 08, 2021 7:50 pm

Thanks hippy! Using your steps to change the .inf did the trick!

Return to “MicroPython”