Scroll to navigation

PICOTOOL-LOAD(1) User Commands PICOTOOL-LOAD(1)

NAME

picotool-load - Load the program / memory range stored in a file onto the device.

SYNOPSIS

picotool load [--ignore-partitions] [--family <family_id>] [-p <partition>] [-n] [-N] [-u] [-v] [-x] <filename> [-t <type>] [-o <offset>] [device-selection]

OPTIONS

Post load actions

When writing flash data, ignore the partition table and write toabsolute space
Specify the family ID of the file to load
<family_id>
family ID to use for load
Specify the partition to load into
<partition>
partition to load into
When writing flash data, do not overwrite an existing program inflash. If picotool cannot determine the size/presence of the programin flash, the command fails
When writing flash data, do not overwrite an existing program inflash. If picotool cannot determine the size/presence of the programin flash, the load continues anyway
Skip writing flash sectors that already contain identical data
Verify the data was written correctly
Attempt to execute the downloaded file as a program after the load

File to load from

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

BIN file options

Specify the load address for a BIN file
<offset>
Load offset (memory address; default 0x10000000)

Target 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