Getting started with Raspberry Pi Pico
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
$ picotool help
PICOTOOL:
Tool for interacting with a RP2040 device in BOOTSEL mode, or with a RP2040 binary
SYNOPSYS:
picotool info [-b] [-p] [-d] [-l] [-a] [--bus <bus>] [--address <addr>]
picotool info [-b] [-p] [-d] [-l] [-a] <filename> [-t <type>]
picotool load [-v] [-r] <filename> [-t <type>] [--bus <bus>] [--address <addr>]
picotool save [-p] [--bus <bus>] [--address <addr>] <filename> [-t <type>]
picotool save -a [--bus <bus>] [--address <addr>] <filename> [-t <type>]
picotool save -r <from> <to> [--bus <bus>] [--address <addr>] <filename> [-t <type>]
picotool verify [--bus <bus>] [--address <addr>] <filename> [-t <type>] [-r <from> <to>]
picotool reboot [-a] [-u] [--bus <bus>] [--address <addr>]
picotool help [<cmd>]
COMMANDS:
info
RP2040 devices in
load
save
verify
reboot
help
Use "picotool help <cmd>" for more info
NOTE
The majority of commands require an RP2040 device in BOOTSEL mode to be connected.
Using picotool
binary includes a command-line help function,
Display information from the target device(s) or file.
Without any arguments, this will display basic information for all connected
BOOTSEL mode
Load the program / memory range stored in a file onto the device.
Save the program / memory stored in flash on the device to a file.
Check that the device contents match those in the file.
Reboot the device
Show general help or help for a specific command
66
Need help?
Do you have a question about the RP2040 and is the answer not in the manual?