ST STM32F76 F77 Option Bytes Unlock

From SEGGER Knowledge Base
Jump to navigation Jump to search

The option bytes of the STM32F76/F77 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. STM32F76/F77 Option Bytes Reset features are implemented in the PCode_DevPro_ST_STM32F76_F77.pex script file.

Usage

DevPro -operation [operation_name] -if SWD -speed 4000 [-SetConfigVal parameter_name=value] -ScriptFile PCode_DevPro_ST_STM32F76_F77.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_STM32F76_F77.pex
SEGGER Device Provisioner V9.14
Compiled Aug 12 2019 10:29:20
Command line: -operation PerformUnlock -if SWD -speed 4000 -ScriptFile PCode_DevPro_ST_STM32F76_F77.pex
Firmware: J-Link STLink V21 compiled Jun 26 2017 10:35:16
S/N: 776263380

J-Link log: DAP initialized successfully.
J-Link log: Reset target...
J-Link log: Reset option bytes (may take app. 20 seconds)...
J-Link log: Option bytes reset successfully!