Scroll to navigation

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

NAME

picotool-otp-set - Set the value of an OTP row/field

SYNOPSIS

picotool otp set [-c <copies>] [-r] [-e] [-s] [-i <filename>] [-z] <selector> <value> [device-selection]

OPTIONS

Redundancy/Error Correction Overrides

Write multiple redundant values
Set raw 24-bit values
Use error correction
Set bits only
Include extra otp definition
<value>
The value to set

Row/Field Selection

Allow fuzzy name searches in selector vs exact match
<selector>
The row/field selector, which can select a whole row:

ROW_NAME to select a whole row by name. ROW_NUMBER to select a whole row by number. PAGE:PAGE_ROW_NUMBER to select a whole row by page and number within page.

... or can select a single field/subset of a row (where ROW_SEL is one of the above row selectors):

ROW_SEL.FIELD_NAME to select a field within a row by name. ROW_SEL.n-m to select a range of bits within a row. ROW_SEL.n to select a single bit within a row. .FIELD_NAME to select any row’s field by name.

TARGET SELECTION

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