Question
STM32G0B1KC change dual/single bank option by code
I am faced with a flash erase issue at page 126 on a 256k device (STM32G0B1KCU7), although the writing at this location works well (but only one time, of course). It seems to be related to the dual/single bank option.
I've seen a clue in the "STM320B1RE cannot erase page 127 on 256k version" topic.
But changing the bank mode with SetupSTM32CubeProgrammer in production is not an option.
What code should I add to my application to change this bank option?
Many thanks in advance for any help.
