cancel
Showing results for 
Search instead for 
Did you mean: 

option byte programming failed

NHarr.2
Associate II

using stm32cubeprogrammer and i get the error - option byte programming failed

expected value for option byte "RDP": 0xAA, found: 0xE7

10 REPLIES 10
istepne
Associate III

Hi All,

I am also facing Option Bytes programming problem

In my case STM32G031F8 with RESET pin (Pin6) needs to be programmed as I/O .

Which the parameter is option bytes needs to be NRST_MODE= 2 (Default state 3).

I am not able to set this level via "STM32CubeProgrammer API v2.12.0 | Windows-64Bits "

Sequentally gives and messages "nSWAP_BYE does not exist", "DUAL_BANK does not exist" warnings and "DUAL_BANK is not programmable". I can able to program it via ST-LINK Utilty. As far as I remember that I was able to program with Cube Programmer before with old versions.

If it possible to fix that error?

Also the revision of v2.12.0 gives many pop-up "OK" messages while programming. So, everytime I need to click "OK" 2-3 times.

Regards

Murat