cancel
Showing results for 
Search instead for 
Did you mean: 

Can't write option bytes with stm32cubeprogrammer

VPurb.1
Associate

Is there any option to write option bytes to control the boot option for STM32G070 from uart after the first upload or any solution to change the option bytes from stm32cubeprogrammer?

I can't change the boot config from option bytes using the stm32cubeprogrammer, I've used multiple virgin mcu, STM32G031, STM32L071, STM32G070, but none of it can change the option bytes.

Possibly the closest problem is like in troubleshooting section of https://www.beningo.com/configuring-the-stm32-option-bytes-using-segger-j-flash/

0693W00000JPQuLQAX.png

1 REPLY 1
RetroInTheShade
Associate III

Hi,

I have Nucleo-32 with a STM32G031. I just did a quick test and I confirm that I can change option bytes with STM32cubeprogrammer v2.8.0 connected via UART.

The console in your screen shot shows lots of general comms issues. Are programming issues isolated to option bytes?

I've included a screen shot of what I see for the same operation.

Cheers.0693W00000JPUAlQAP.png