Dear Support,
how do i update the option bytes with STMStudio with Cube IDE?
I'm using STM32G474RE MCU.
The wiki mentions the following instructions:
wiki.segger.com/STM32G4
I could also work with JlinkExe.
But the steps are not clear for me. E.g. Using JLink EXE. Is there some simple jlink script, which I can use to program the option bytes (i want to change the boot bits)
Thank you so much for the help! I'm really lost!
-Michael
how do i update the option bytes with STMStudio with Cube IDE?
I'm using STM32G474RE MCU.
The wiki mentions the following instructions:
wiki.segger.com/STM32G4
Segger Wiki wrote:
STM32G4 option byte programming
For STM32G4 devices, the option byte page(s) can be programmed via J-Flash.When programming the option bytes, the following conditions must be met:
- Per bank: All option bytes must be written in one go. It is not possible to only write - for example - one word.
- Reserved bits must be written with "1" otherwise writing the option bytes will not work as expected and the verify of the written area will fail.
I could also work with JlinkExe.
But the steps are not clear for me. E.g. Using JLink EXE. Is there some simple jlink script, which I can use to program the option bytes (i want to change the boot bits)
Thank you so much for the help! I'm really lost!
-Michael