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

General • using picotool to flash pico

$
0
0
Hello, all.

I am trying to flash my .uf2 file to my Pico using picotool but something is wrong.

I am using Ubuntu & connecting to my Pico board thru USB. The board works fine -- I am able to hold down the bootselect button & copy the RPI_PICO-20241129-v1.24.1.uf2 file to the board successfully.

I have also successfully used the SWD method with a Pico Debug probe.

I'd like to use the picotool command line interface to program the Pico.

I went thru the Getting Started with Raspberry Pico documentation & installed the pico-sdk fine. In the pico file folder I see a folder for picotool. I used Terminal & changed to the directory ~/pico/picotool/build then used the commands

Code:

$ export PICO_SDK_PATH=~/pico/pico-sdk$ cmake ../$ make
It took some time but Terminal said "Built target picotool"

I tried the command

Code:

sudo picotool info -a
but got the error

Code:

sudo: picotool: command not found
What am I missing?

Thanks in advance for any help!

Statistics: Posted by ttu_Don — Wed Feb 05, 2025 9:06 pm — Replies 2 — Views 49



Viewing all articles
Browse latest Browse all 5480

Latest Images

Trending Articles



Latest Images