[ABANDONED] programming option bits in STM32G473CC

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [ABANDONED] programming option bits in STM32G473CC

    I'm attempting to program a hex file into an STM32G473CC microcontroller with jflash.
    However, I'm encountering an issue with setting the controller configuration to single bank mode. Although the flash content reads correctly after disabling read protection, the program doesn't execute due to the current dual bank setup.

    To resolve this, I've tried modifying the option bits to enable single bank mode specifically for the STM32G473CC. Here are the techniques I've tried so far:


    1. I added this at the end of my HEX file to program the configuration

      :020000041FFFDC:04780000430F70AA18

    2. Edited line 66 in the jflash file to reset the bits that I want
      ExitStep8_Value1 = 0xFB3FFF00





    None of the above techniques gives the wanted result.



    What can I try next?
    Files