Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7503

SDK • Pico does not start using VS Code (But does with Aduino Toolchain)

$
0
0
Hello,

This is my first time using PI Pico.
I installed the VS Code tool chain. I continued trying to compile and run the “Blink” example.

When I use the VS Code tool chain, everything looks fine from the log window.
However, Pico does not start. It remains in “External Storage” mode and does not contain any files.
When I manually copy the uf2 file and reset by disconnecting/reconnecting the USB cable, nothing visible happens.
The copied files are gone, that's all.

One might suspect the Pico or the cabling, but it works perfectly with the Arduino toolchain.
(Of course, in Arduino environment the provided "Blink.ino" example was used.)
Changing, recompiling, or outputting information to USB is also no problem in the Arduino toolchain.

Only in VS Code does nothing work.
All in all, my VS Code settings and/or installation and/or handling are “somehow” wrong.
To round off the message, here is a piece of log:

Executing task: C:\Users\martin/.pico-sdk/picotool/2.2.0-a4/picotool/picotool.exe load e:/Documents/1a_VS Code/blink/build/blink.elf -fx
Loading into Flash: [==============================] 100%
The device was rebooted to start the application.
* Terminal will be reused by tasks, press any key to close it.

One might suspect the Pico or the cabling, but it works perfectly with the Arduino toolchain. Changing, recompiling, or outputting information to USB is also no problem in the Arduino toolchain.

How to fix?

Martin

Statistics: Posted by MartinHill — Sun Jan 25, 2026 5:35 pm — Replies 1 — Views 19



Viewing all articles
Browse latest Browse all 7503

Trending Articles