• sales

    +86-0755-88291180

RP2350B-MINI-A picotool Tutorial

【Picotool installation tutorial】


】Install necessary dependencies

You need to install the development environment and ARM cross-compilation tool chain required for compilation first.

sudo apt update

sudo apt install build-essential cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib pkg-config libusb-1.0-0-dev

【Get the source code】

Create a working directory (e.g. pico) and clone the official repositories of pico-sdk and picotool.

mkdir -p ~/pico

cd ~/pico

git clone https://github.com/raspberrypi/pico-sdk.git

git clone https://github.com/raspberrypi/picotool.git

After cloning is complete, you need to initialize and update the submodules within pico-sdk.

cd ~/pico/pico-sdk

git submodule update --init

【Setting environment variables】


You need to tell the build system the location of pico-sdk.


Temporarily set environment variables:


export PICO_SDK_PATH=~/pico/pico-sdk


Setting environment variables permanently


sudo nano ~/.bashrc

Add to

export PICO_SDK_PATH=~/pico/pico-sdk

Then execute

source ~/.bashrc


【Compile and install picotool】


cd ~/pico/picotool

mkdir build

cd build

cmake ..

make -j&nproc # Compile using multiple cores to speed up

sudo make install # Install picotool to the system path (such as /usr/local/bin)


【Verify Installation】


picotool help

If successful, a list of all available commands and options is displayed, indicating that the installation was successful.


【Read device information】


Make sure the Pico is in BOOTSEL mode (shows up as an RPI-RP2 disk when connected to the computer). Then do


picotool info


TAG: FLASH File System Operation ADXL354CZ EVAL BOARD 0.85inch LCD Raspberry Pi CM5 Compute Module 5 Dual Gigabit Ethernet RJ45 Expansion IO Base Board XIAO-nRF52840 Plus 20GPIOs BLE Sense Tiny SuperMini Onboard Mic/Sensor For Arduino For SeeedStudio Spotpear 15.6 inch Dual LCD Computer PC Monitor Display Double Secondary Screen Type C Mini HDMI 1080P For Windows/MacOS Package Kit Raspberry Pi CM4S08032 And Compute Module PoE IO Board spotpear SpotPear Raspberry Pi Pico Raspberry Pi 5 inch DSI MIPI Display LCD (D) Capacitive TouchScreen 720x1280 CPU Monitor Display Raspberry Pi Pico 4.26inch ESP32-P4-ETH RJ45 POE DSI/MIPI 10.1 inch LCD Display Touchscreen/CSI Camera/Audio Speaker AI Deepseek RS485 Bus X1012 Raspberry Pi 5 POE And PCIe to M.2 NVMe SSD Board Pi5 2280 Power over Ethernet SeeedStudio SenseCAP Watcher Clear Enclosure Camera AI ESP32-S3 Himax WiseEye2 HX6538 AI Agent IO BASE MINI Board