table of contents
| 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
- -c <copies>
- Write multiple redundant values
- -r, --raw
- Set raw 24-bit values
- -e, --ecc
- Use error correction
- -s, --set-bits
- Set bits only
- -i <filename>
- Include extra otp definition
- <value>
- The value to set
Row/Field Selection
- -z, --fuzzy
- 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
- --bus <bus>
- Filter devices by USB bus number
- --address <addr>
- Filter devices by USB device address
- --vid <vid>
- Filter by vendor id
- --pid <pid>
- Filter by product id
- --ser <ser>
- Filter by serial number
- -f, --force
- 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
- -F, --force-no-reboot
- 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 |