EasyManua.ls Logo

Raspberry Pi Pico Series - Using Picotool

Raspberry Pi Pico Series
54 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NOTE
If you are building on Microsoft Windows you should invoke CMake as follows,
C:\Users\pico\picotool> mkdir build
C:\Users\pico\picotool> cd build
C:\Users\pico\picotool\build> cmake .. -G "NMake Makefiles"
C:\Users\pico\picotool\build> nmake
Using picotool
The picotool binary includes a command-line help function,
$ picotool help
PICOTOOL:
Ê Tool for interacting with RP2040/RP2350 device(s) in BOOTSEL mode, or with an RP2040/RP2350
Ê binary
SYNOPSIS:
Ê picotool info [-b] [-p] [-d] [--debug] [-l] [-a] [device-selection]
Ê picotool info [-b] [-p] [-d] [--debug] [-l] [-a] <filename> [-t <type>]
Ê picotool config [-s <key> <value>] [-g <group>] [device-selection]
Ê picotool config [-s <key> <value>] [-g <group>] <filename> [-t <type>]
Ê picotool load [-p] [--family <family_id>] [-n] [-N] [-u] [-v] [-x] <filename> [-t <type>]
Ê [-o <offset>] [device-selection]
Ê picotool encrypt [--quiet] [--verbose] [--hash] [--sign] <infile> [-t <type>] [-o <offset>]
Ê <outfile> [-t <type>] <aes_key> [-t <type>] [<signing_key>] [-t <type>]
Ê picotool seal [--quiet] [--verbose] [--hash] [--sign] [--clear] <infile> [-t <type>] [-o
Ê <offset>] <outfile> [-t <type>] [<key>] [-t <type>] [<otp>] [-t <type>] [--major
Ê <major>] [--minor <minor>] [--rollback <rollback> [<rows>..]]
Ê picotool link [--quiet] [--verbose] <outfile> [-t <type>] <infile1> [-t <type>] <infile2>
Ê [-t <type>] [<infile3>] [-t <type>] [-p] <pad>
Ê picotool save [-p] [device-selection]
Ê picotool save -a [device-selection]
Ê picotool save -r <from> <to> [device-selection]
Ê picotool verify [device-selection]
Ê picotool reboot [-a] [-u] [-g <partition>] [-c <cpu>] [device-selection]
Ê picotool otp list|get|set|load|dump|permissions|white-label
Ê picotool partition info|create
Ê picotool uf2 info|convert
Ê picotool version [-s] [<version>]
Ê picotool coprodis [--quiet] [--verbose] <infile> [-t <type>] <outfile> [-t <type>]
Ê picotool help [<cmd>]
COMMANDS:
Ê info Display information from the target device(s) or file.
Ê Without any arguments, this will display basic information for all connected
Ê RP2040 devices in BOOTSEL mode
Ê config Display or change program configuration settings from the target device(s) or
Ê file.
Ê load Load the program / memory range stored in a file onto the device.
Ê encrypt Encrypt the program.
Ê seal Add final metadata to a binary, optionally including a hash and/or signature.
Ê link Link multiple binaries into one block loop.
Ê save Save the program / memory stored in flash on the device to a file.
Ê verify Check that the device contents match those in the file.
Ê reboot Reboot the device
Ê otp Commands related to the RP2350 OTP (One-Time-Programmable) Memory
Getting started with Raspberry Pi Pico-series
Using picotool 26

Table of Contents

Related product manuals