stm32_write_option_bytes
Change STM32 option bytes (e.g., RDP, nBOOT0) by specifying key-value pairs via SWD. Apply settings like read protection removal directly to the target MCU.
Instructions
Modify target MCU Option Bytes (e.g. set RDP=0xAA to remove read protection, set nBOOT0, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Connection port | SWD |
| option_bytes | Yes | Option byte key-value pairs (e.g. 'RDP=0xAA' or 'BOR_LEV=0x00') |