Question
STM32CubeProgrammer not clearing the Option Bytes on STM32H7B3i-DK. I can not load any code and stuck. Is it possible to clear these bytes with STM32CubeProgrammer and if so how?
STM32CubeProgrammer not clearing the Option Bytes on STM32H7B3i-DK. I can not load any code.
Is it possible to clear these bytes with STM32CubeProgrammer and if so how?
Below is the error that I am getting.
13:58:53 : Time elapsed during the read operation is: 00:00:00.002
13:59:39 : Option byte command : -ob PROT_AREA_START1=0xff DMEP1=0 DMEP2=0 PROT_AREA_START2=0xff SEC_AREA_START1=0xff DMES1=0 SEC_AREA_START2=0xff DMES2=0
13:59:39 : PROGRAMMING OPTION BYTES AREA ...
13:59:39 : Bank : 0x00
13:59:39 : Address : 0x5200201c
13:59:39 : Size : 308 Bytes
13:59:39 : UPLOADING OPTION BYTES DATA ...
13:59:39 : Bank : 0x00
13:59:39 : Address : 0x5200201c
13:59:39 : Size : 308 Bytes
13:59:39 : OPTION BYTE PROGRAMMING VERIFICATION:
13:59:39 : Error: Expected value for Option Byte "DMEP1": 0x0, found: 0x1
13:59:39 : Error: Expected value for Option Byte "DMEP2": 0x0, found: 0x1
13:59:39 : Error: Expected value for Option Byte "DMES1": 0x0, found: 0x1
13:59:39 : Error: Expected value for Option Byte "DMES2": 0x0, found: 0x1
13:59:39 : Error: Expected value for Option Byte "PROT_AREA_START1": 0xFF, found: 0x0
13:59:39 : Error: Expected value for Option Byte "PROT_AREA_START2": 0xFF, found: 0x0
13:59:39 : Error: Expected value for Option Byte "SEC_AREA_START1": 0xFF, found: 0x0
13:59:39 : Error: Expected value for Option Byte "SEC_AREA_START2": 0xFF, found: 0x0
13:59:39 : Error: Option Byte Programming failed
14:02:54 : Warning: Connection to device 0x480 is lost
14:02:54 : Disconnected from device.