Skip to main content
This topic has been closed for replies.
Andreas Bolsch
Andreas BolschBest answer
Lead III

Recent versions of OpenOCD do. In target/stm32f7.cfg there is

"flash bank $_CHIPNAME.otp stm32f2x 0x1ff0f000 0 0 0 $_TARGETNAME".

3 replies

Andreas Bolsch
Andreas BolschBest answer
Lead III

Recent versions of OpenOCD do. In target/stm32f7.cfg there is

"flash bank $_CHIPNAME.otp stm32f2x 0x1ff0f000 0 0 0 $_TARGETNAME".

Pavel A.
Pavel A.Author

Great, thank you.

waclawek.jan
Super User

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