cancel
Showing results for 
Search instead for 
Did you mean: 

Flash via I2C bootloader problem for STM32G0B1CEU6

abasty
Associate

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!

 

1 REPLY 1
abasty
Associate

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