Write OTP lock bytes using ST-LINK/V2
Hi,
i try to write the OTP area lock bytes using the ST-LINK/V2 programmer with the ST STM_Programmer_CLI tool included in the STM32CubeProgrammer software package.
I can successfully write to the OTP area blocks using the -w32 command but if i try to also write the according Lock byte it will fail with the following error message:
Command: STM32_Programmer_CLI.exe -c port=SWD -w32 0x1FFF7AC 0xFFFFFF00
Error: Failed to download data!If it's a Flash memory, it may be not erased or protected
Any idea why the write fails for the Lock bytes while OTP blocks are successfully written ?
