2024-10-22 01:43 AM
Hello,
I encountered a problem with the internal Bootloader of the STM32G0B1CEU6 MCU.
Conditions
First, the option bytes are set with an STLINK-V3 programming adapter (SWD interface) and CubeProgrammer (2.15.0) according to Pattern 11 of AN2606:
nBoot_SEL => unchecked
nboot1 => checked
nboot0 => unchecked
Reproduction
1. In our product assembly process:
Initial programming of the user software is successful with STLINK-V3 Programming Adapter via SWD interface.
STM3CubeProgrammer is used to flash the controller the first time.
A SOM board has to regrogram the controller by using I2C in bootmode at address 0x5d. Pin PB6 and PB7 are used to access I2C bootloader.
2. Trying to reprogram the controller:
Now, with the software already running on STM32G0B1CEU6 (verified) we go through the STM bootloader activation Pattern 11 (AN2606, Sec. 4.1) with pulling boot0 and reset low, then pulling boot0 and afterwards reset high.
Expected
3. MCU is reflashable via I2C bus.
Observed
4. MCU is not responding.
Is there any known issue with I2C Bootloader similar?
Thanks a lot in advance!
2024-10-22 02:51 AM
Also with no application loaded and after forced the boot mode by putting
nBoot_SEL => checked
nboot1 => checked
nboot0 => unchecked
the uC doesn't enter in boot mode