Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Pico on Windows 7/8 is easier than documented #118

Closed
ndabas opened this issue Mar 6, 2021 · 18 comments
Closed

Using Pico on Windows 7/8 is easier than documented #118

ndabas opened this issue Mar 6, 2021 · 18 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request windows An MS Windows specific problem

Comments

@ndabas
Copy link

ndabas commented Mar 6, 2021

In the Getting Started guide, section 9.2 Building on MS Windows, there is a warning note that says:

Using Raspberry Pi Pico with Windows 7 or 8 is not officially supported but can be made to work.

This links to a forum discussion with solutions that I would describe as ad-hoc at best. The basic issue at hand is that Windows 7 and 8 do not auto-install a serial port driver for the Pico's CDC interface -- this is easily fixable using Zadig. Zadig is mentioned elsewhere in the guide to get Picoprobe running as well, so it makes sense to use the same tool for this as well. Something like:

If you need to connect to the USB serial interface on your board using Windows 7 or 8, you will need to tell Windows to use the appropriate built-in driver. (Windows 10 installs the correct driver automatically.)

We will use Zadig (https://zadig.akeo.ie/) for this.

Download and run Zadig.

Select Board CDC (Interface 0) from the drop-down box. Select USB Serial (CDC) as the driver.

Install CDC driver

Then click Install Driver. A serial port will be assigned when the installation is complete.

@aallan aallan added documentation Improvements or additions to documentation enhancement New feature or request windows An MS Windows specific problem labels Mar 6, 2021
@Saultes45
Copy link

After the uf2 downloading it didn't even show up as "Board CDC" but it was present in the device manager. I had to unplug/replug 4 times to see it as "Board CDC".
Worked well after.

@lurch
Copy link
Contributor

lurch commented Apr 16, 2021

@Saultes45 Was your experience similar to the one described here? raspberrypi/pico-sdk#257

Seems very odd that unplugging and replugging 4 times magically fixed it, but we don't officially support older Windows versions so meh 🤷 😉

@Saultes45
Copy link

Saultes45 commented Apr 16, 2021 via email

@ndabas
Copy link
Author

ndabas commented Apr 16, 2021

After the uf2 downloading it didn't even show up as "Board CDC" but it was present in the device manager.

@Saultes45 Do you mean that the serial port interface was present in Device Manager (without the driver installed), or was it just the USB mass storage device? It seems you were using MicroPython here.

  • If the serial port was showing up in Device Manager but not in Zadig: could be some condition where Zadig did not display the USB CDC interface for some reason.
  • If the serial port did not show up in Device Manager at all - it could be something in the MicroPython code (either the interpreter itself or your .py file).

@Saultes45
Copy link

Saultes45 commented Apr 16, 2021 via email

@BrianG61UK
Copy link

I don't want to use zadig since I find it totally unintuitive and it has driven me to completely wiping my C: drive when trying to undo it's effects for RTL2382U dongles.
Please can someone provide a normal .inf file driver for Windows 7 64 bit that actually works for this.

@aallan
Copy link
Contributor

aallan commented May 5, 2021

I'm sorry, but we do not intend to officially support Windows 7 as Microsoft itself discontinued support for the operating system in January last year.

@aallan aallan closed this as completed May 5, 2021
@BrianG61UK
Copy link

BrianG61UK commented May 6, 2021

I see. But you can still pay for Windows 7 support you know. MS are still doing it, they just insist you pay for it now.

@JamesH65
Copy link
Contributor

JamesH65 commented May 6, 2021

None of the money that MS get for support for Win 7 gets to Raspberry Pi.

@Tomwhiting1987
Copy link

I have managed to stop my Pico from showing up as a mounted drive in BOOT mode. This happened after I changed the drivers using Zadig to the CDC SErial ones on RP0 and FP1 Interfaces. Any ideas how I can change these back so that the Pico shows up as a drive again?

@aallan
Copy link
Contributor

aallan commented Nov 1, 2021

I'm sorry, but we do not intend to offer any official support for Windows 7 or 8.

@IdoHic
Copy link

IdoHic commented Apr 3, 2022

thank you very much, you were very helpful

@matsobdev
Copy link

It is possible to export ini driver files from Zadig instead of installing it.

@larypie
Copy link

larypie commented Apr 6, 2023

Here is a way to install the Pico serial driver on Win 7...

Download the pico-serial.inf file from here https://github.com/Melvinsajith/raspberrry_Pi_Pico_windows_7_8_xp

Open Device manager and navigate to the Pico device - on my computer it showed up as Board CDC in "Others".

Select : Properties / Driver / Update Driver /Browse my Computer / Let me pick / Have Disk / Select : Pico-Serial.inf

Other options are probably available, but that worked for me.

@CODE-REaD
Copy link

The pico-serial.inf file referred to here worked for me, after I discovered that I had downloaded it improperly. If your downloaded .inf file is a text file consisting of one line, you have not downloaded it correctly. It should appear as a typical Windows .inf file, whose first "stanza" starts with "[Version]".

Once I correctly downloaded, my Windows 7 Professional 64 bit 6.1.7601 Service Pack 1 Build 7601 OS accepted the pico-serial.inf as the driver for my Board CDC device after confronting me with a red-framed popup alerting me to the fact that this device driver is not signed by Microsoft.

I did not need to install or use Zadig to make this happen. I can tell I am connected to my Pico using Thonny, where my Pico shows up in its menu of interpreters (bottom right of main screen).

Briefly, the whole process for me was,

  1. Obtain correct uf2 file for my pico
  2. Connect my Pico to my Windows 7 computer via USB cable
  3. Drag and drop uf2 file to my pico's RPI-RP2 directory as described here
  4. My pico shows up in Windows Device Manager as Board CDC under Unknown device
  5. Using Device Manager, I right-click Board CDC and then Update Driver Software and select pico-serial.inf as described by @larypie above
  6. Windows warns me that this driver is not signed my Microsoft
  7. I instruct Windows to install anyway
  8. My pico is listed by Windows Device Manager under (Ports COM & LPT) as Pi Pico Serial Port (COM25)
  9. Thonny recognizes my Pico as MicroPython (Raspberry Pi Pico) - Board CDC @ COM25.

@carypt
Copy link

carypt commented Sep 17, 2023

because the above link to the .inf-file directs to an empty issue site, search the .inf-driver-file here : https://github.com/Melvinsajith

@lurch
Copy link
Contributor

lurch commented Sep 17, 2023

because the above link to the .inf-file directs to an empty issue site, search the .inf-driver-file here : https://github.com/Melvinsajith

Thanks, the link in the aforementioned comment was formatted incorrectly, so I've now edited it so that it should work properly.

@ndabas
Copy link
Author

ndabas commented Sep 18, 2023

Just pointing out for readers of this thread that they should not attempt any of this on Windows 10/11 or later, this is really only if you must use a Pico/RP2040 on Windows 7/8. Even if so, please use Zadig rather than the inf file directly.

Extended support for Windows 7 and 8/8.1 has ended on Jan 10, 2023 so these operating systems are not supported in any way at this point (for the vast majority of users.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request windows An MS Windows specific problem
Projects
None yet
Development

No branches or pull requests