Cannot flash UF2 on Linux but on Windows

May 8, 2024, 12:38

philip.2000

Hello, I have a weird problem and do not know what to do. I have two Pi Pico Ws and I want to just flash an example UF2 file onto them. If I use my Windows PC, I can flash a blink.uf2 file and everything works. When I try to use my Linux machine, I cannot get the files to load properly (same UF2 file). What I do: lsblk sudo mount /dev/{thepicodev} /mnt sudo cp ~/file.uf2 /mnt Then... nothing happens. If I umount still nothing happens. However, lsblk still shows the pico. When I try to use picotool:
â–¶ sudo ./picotool load ~/Downloads/working_blink.uf2
Loading into Flash: [                              ]  1%
ERROR: The RP2040 device returned an error: <unknown>
I am running Arch (btw) but I have no idea why it doesn't work. Any tips would be appreciated. Thanks a lot and have a nice day 🙂

philip.2000

It was my USB hub... direct USB connection works