Open dchapkine opened 1 year ago
@dchapkine this issue is is solved here: https://community.platformio.org/t/raspberry-pico-board-first-use-upload-port-search-leads-to-unboundlocalerror/29264/4 After your build completes: The first time you do your upload, with PIO still open in the background, put the device into boot mode by unplugging the usb, holding the boot button on the device and plugging in the usb again. Now manually upload the newly created firmware.utf file using windows (or whatever) file explorer. Thereafter PIO should detect the COM port properly. If that still doesn't work then try manually specifying your com port in platformio.ini https://docs.platformio.org/en/latest/projectconf/sections/env/options/upload/upload_port.html
Hi, I think the fix works under windows...
But on linux (ubuntu 2204), the device is never detected (even with bootsel pressed)
sudo dmesg -w
shows nothing... and devices in vscode is empty
Any idea why the device is not detected on linux ? Does it need a specific driver ?
Hi,
I am failing to upload to the T Pico with platformio (vscode), on linux (ubuntu 22.04)
I use same config as in tutorial
Tryied with this config as well, same result:
Compilation works, but not the upload
I am not sure what is going on, but I would say that the board is not detected by the host machine ?
I did boot in 2040 mode (blue lights) via usb C <-> usb A cable
Any Idea of what could be the issue here ?