2025-05-27 1:49 AM
Hello,
i have a project created with STM32Cube IDE Version 1.18.1 for the STM32G473CCU micro-controller with 256k flash. My binary file is 180k length and the debugger launched from STM32Cube fails to program the flash because it enables the dual bank mode. The flash is programmed correctly from 0 to 128k, then the verify fails from 128k to 180k. I'm using a Segger J-LINK and this problem NEVER happens using the JFlash software. In order to re-enable the single bank flash mode i have to erase and program the flash with JFlash, then also the debugging from STM32Cube works, but only once. Why? How can i configure the Option Bytes?
Leo