I use NUCLEO-F446ZE board. And I'm trying to lock OTP block 0 by programming 0x00 at 0x1FFF7A00 using ST-Link CLI. I've tried -w8, -w32 and -P commands, but every time utility returns error.
STM32 ST-LINK CLI v126.96.36.199
STM32 ST-LINK Command Line Interface
ST-LINK SN : 0675FF535452775187162432
ST-LINK Firmware version : V2J28M18
Connected via SWD.
SWD Frequency = 4000K.
Target voltage = 3.3 V.
Connection mode : Normal.
Device flash Size : 512 Kbytes
Device family :STM32F446xx
Writing 0x00 at 0x1FFF7A00... Error!
After checking memory dump the lock byte is still 0xFF.