Skip to content

[Windows] Uploading via Platformio doesn't work #1591

Answered by LinusHeu
LinusHeu asked this question in Q&A
Discussion options

You must be logged in to vote

Workaround:
In VS-Code, go to the explorer sidebar, right click on .pio\build[YourEnvironmentName]\firmware.uf2 and select "reveal in file explorer". Copy that firmware.uf2 file to the RPI-RP2 drive.

Solution:

  1. Download Zadig
  2. Plug in the RP2040 board and make sure it's in the bootloader (you see the RPI-RP2 drive). Just press the bootloader button while plugging it in.
  3. In Zadig turn on: Options -> list all devices
  4. In the device dropdown find RP2 Boot (Interface 1).
  5. In the right column, select WINUSB
  6. Click replace driver
  7. unplug and replug the RP2040 board and try uploading again. You might have to restart your PC.

You can mess stuff up with zadig!
Make sure to select the correct board. If…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by LinusHeu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant