Scroll to navigation

PICOTOOL-OTP-PERMISSIONS(1) User Commands PICOTOOL-OTP-PERMISSIONS(1)

NAME

picotool-otp-permissions - Set the OTP access permissions

SYNOPSIS

picotool otp permissions <filename> [--led <pin>] [--hash] [--sign] <key> [device-selection]

OPTIONS

<filename>
JSON file to load permissions from
LED Pin to flash; default 25

Signing Configuration

Hash the executable
Sign the executable
<key>
Key file (.pem)

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