1

I am trying to use a RP2040 Pico with the Arduino IDE. This is a huge uphill battle. Initially I couldn't get the upload serial port to show up, then copied the "hello world" UF2 to the Pico folder (https://datasheets.raspberrypi.com/soft/hello_world.uf2), after which the port showed up in the Arduino ISE 2.0.0 on Windows 10 - but I can't upload any programs. All I get is this error message:

    Traceback (most recent call last):
      File "C:\Users\light\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\1.9.15/tools/uf2conv.py", line 380, in <module>
        main()
      File "C:\Users\light\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\1.9.15/tools/uf2conv.py", line 360, in main
        drives = get_drives()
      File "C:\Users\light\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\1.9.15/tools/uf2conv.py", line 233, in get_drives
        "FileSystem,", "DriveType"])
      File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\subprocess.py", line 395, in check_output
      File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\subprocess.py", line 472, in run
      File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\subprocess.py", line 775, in __init__
      File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\subprocess.py", line 1178, in _execute_child
    FileNotFoundError: [WinError 2] The system cannot find the file specified
    Upload error: Failed uploading: uploading error: exit status 1

This is ultra-weird, because no such folders etc. exist on my drive D:, and I have no idea why it's looking for files on drive D:\ in the first place, because the Arduino IDE is installed on drive C:. And these folders also aren't present on C:.

Does anyone have any ideas on how to fix this? I've Googled everything I can find and have so far found nothing helpful. I'm about ready to give up and would REALLY appreciate any help you can give!

ocrdu
  • 1,795
  • 3
  • 12
  • 24
Heliophagus
  • 11
  • 1
  • 3

2 Answers2

1

Installing a generic driver with https://zadig.akeo.ie/ while the PICO was plugged in solved the issue for me.

ocrdu
  • 1,795
  • 3
  • 12
  • 24
-1

It took me two days to fix that mistake! Who would have thought that this is due to the missing file "C:\Windows\SysWOW64\framedynos.dll". When I put the file back in place, everything went back to normal.

UPD:

Turn on "Show verbose output" in Preferences and browse several last lines. There should be a line like this:

C:\Users\light\AppData\Local\Arduino15\packages\rp2040\tools\pqt-python3\1.0.1-base-3a57aed/python3 -I C:\Users\light\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\1.10.0/tools/uf2conv.py --serial COM5 --family RP2040 --deploy C:\Temp\arduino_build_214726/...

Copy and run that line in Terminal (Win-R). There may be bug reports to help you solve your problem.