Remember:
The algorithm to program option bytes is for STmicro totally different than programming code flash.
Other keys to use etc etc Check MCU reference manual for the right Algorithm.
Tip:
To test your scripts you can just use printf statements to give debug feedback.
The algorithm to program option bytes is for STmicro totally different than programming code flash.
Other keys to use etc etc Check MCU reference manual for the right Algorithm.
Tip:
To test your scripts you can just use printf statements to give debug feedback.