ST STM32H7A3 B3 Option Bytes Unlock

From SEGGER Knowledge Base
Jump to navigation Jump to search

The option bytes of the STM32H7A3/B3 series of devices can be reset to default values. SEGGER implemented support for these features via a dedicated utility called Device Provisioner. For more information about this, please refer to the Device Provisioner article. STM32H7A3/B3 Option Bytes Reset features are implemented in the PCode_DevPro_ST_STM32H7A3_B3.pex script file.

Usage

DevPro -operation [operation_name] -if SWD -speed 4000 [-SetConfigVal parameter_name=value] -ScriptFile PCode_DevPro_ST_STM32H7A3_B3.pex
Operation Parameters Values Description
PerformUnlock - - Unlocks the device by resetting the option bytes to default values.

Examples

Option Byte Reset

Example
DevPro.exe -operation PerformUnlock -if SWD -speed 4000 -ScriptFile PCode_DevPro_ST_STM32H7A3_B3.pex
SEGGER Device Provisioner V9.18
Compiled Feb 11 2026 16:32:19
Command line: -operation PerformUnlock -if SWD -speed 4000 -ScriptFile PCode_DevPro_ST_STM32H7A3_B3.pex
Firmware: J-Link V12 compiled Feb  6 2026 17:12:26
S/N: 602009936

J-Link log: DAP initialized successfully.
J-Link log: Reset target...
J-Link log: DAP initialized successfully.
J-Link log: Reset option bytes to factory settings...
J-Link log: DAP initialized successfully.
J-Link log: Option bytes reset successfully!