Scroll to navigation

PICOTOOL-SAVE(1) User Commands PICOTOOL-SAVE(1)

NAME

picotool-save - Save the program / memory stored in flash on the device to a file.

SYNOPSIS

picotool save [-p] [-v] [--family <family_id>] <filename> [-t <type>] [device-selection]

picotool save -a [-v] [--family <family_id>] <filename> [-t <type>] [device-selection]

picotool save -r <from> <to> [-v] [--family <family_id>] <filename> [-t <type>] [device-selection]

OPTIONS

Selection of data to save

Save the installed program only. This is the default
Save all of flash memory
Save a range of memory. Note that UF2s always store complete 256byte-aligned blocks of 256 bytes, and the range is expandedaccordingly
<from>
The lower address bound in hex
<to>
The upper address bound in hex

Other

Verify the data was saved correctly
Specify the family ID to save the file as
<family_id>
family ID to save file as

File to save to

<filename>
The file name
Specify file type (uf2 | elf | bin) explicitly, ignoring fileextension

Source device selection

Filter devices by USB bus number
Filter devices by USB device address
Filter by vendor id
Filter by product id
Filter by serial number
Force a device not in BOOTSEL mode but running compatible code toreset so the command can be executed. After executing the command(unless the command itself is a `reboot') the device will berebooted back to application mode
Force a device not in BOOTSEL mode but running compatible code toreset so the command can be executed. After executing the command(unless the command itself is a `reboot') the device will be leftconnected and accessible to picotool, but without the USB drivemounted
December 2025 picotool 2.2.0-a4+dfsg