2022-08-04 07:09 AM
Subj.
Cannot find this in CubeProgrammer v 2.6.0 or ST-Link utility.
The OTP is 1024 bytes at 0x1FF0F000.
Solved! Go to Solution.
2022-08-04 07:38 AM
Recent versions of OpenOCD do. In target/stm32f7.cfg there is
"flash bank $_CHIPNAME.otp stm32f2x 0x1ff0f000 0 0 0 $_TARGETNAME".
2022-08-04 07:38 AM
Recent versions of OpenOCD do. In target/stm32f7.cfg there is
"flash bank $_CHIPNAME.otp stm32f2x 0x1ff0f000 0 0 0 $_TARGETNAME".
2022-08-04 08:18 AM
Great, thank you.
2022-08-04 09:10 AM
I've used the STLink-Utility CLI for this on 'F4.
STLink Utility (the "visual" one) *can* reprogram OTP on 'F4 too, but it's way too "autonomous" - you can set it to display the OTP area, and then whenever you modify some word it it, it automatically writes with no prompt. It may quite well be that an appropriately addressed hex could be loaded and then programmed, I did not try.
I don't have time and energy to find out how CubeProgrammer works, with its childish design of randomly scattered controls, but I believe its CLI would work as expected. Maybe.
JW