2022-04-26 11:12 PM
I'm trying to program option bytes in STM32G4 series by Keil, I did steps below but still some problem exists:
I still got a "Contents mismatch at: 1FFFF7802H", and the option byte semms not programmed right yet.
Anyone successed using "STM32G4xx dual bank Flash Options" program the option bytes? What points I missed?
2024-01-25 01:21 AM
Hi,
Items 1 and 2 must be consistent.
If you use the dual bank for the *.s you have to use the dual bank for the Flash Options as well.
STM32G4xx_DB_OPT.s ---> STM32G4xx dual bank Flash Options
STM32G4xx_SB_OPT.s ---> STM32G4xx singol Flash Options