raspberrypi / pico-vscode

The official VS Code extension for Raspberry Pi Pico development. It includes several features to simplify project creation and deployment.
https://marketplace.visualstudio.com/items?itemName=raspberry-pi.raspberry-pi-pico
Mozilla Public License 2.0
82 stars 11 forks source link

Can't upload directly from VSCode #52

Open detoledovictor opened 3 weeks ago

detoledovictor commented 3 weeks ago

When play RUN button, after compling a project the terminal shows this message:

Executing task: C:\Users\viict/.pico-sdk/picotool/2.0.0/picotool/picotool.exe load d:/Perfil/Documents/UNISAL/Arquitetura e Aplicacao/blink/build/blink.elf -fx

ERROR: The RP2040 device returned an error:

will-v-pi commented 3 weeks ago

Could you double check your RP2040 is in bootsel mode, that there is no debugger connected (and you've unplugged the board since the debugging finished), and that you have a driver installed using Zadig (see the picotool section of the Getting Started Guide for more details)? This is a picotool error, rather than an issue with the extension, so I'll transfer it there if you're still having problems.