STM32G0B1KE System Bootloader Mode Entry
Hello ST Community,
We are using STM32G0B1KE MCU in our project. The MCU firmware will be flashed from the Processor via the I2C interface between the processor and MCU.
As per AN2606, we have tried to activate pattern 11, but the system bootloader couldn’t be detected. At this time, we have identified our problem that the bootloader that always uses PB6 and PB7 pins for I2C in bootloader mode, but we used different pins for connecting I2C. So, we have connected the Processor I2C pins to PB6 and PB7, and not the i2c bootloader can be detected and we can access the bootloader from the processor.
After that, we tried to flash the firmware and we can successfully flash it. But after flashing the firmware if we tried to switch the MCU to system bootloader mode by activating pattern 11, The I2C bootloader was not detected(seems the system bootloader FW was not loaded). This is our issue right now. Kindly help us to resolve the issue.
Note:
We have activated pattern 11 by using the below way.
- Ensure nBoot1(bit) =1 and nBOOT0_SEL(bit) =0 by reading the 0x1FFF7800 memory address.
- Ensure Boot_Lock(bit) = 0 by reading the 0x1FFF7870 memory address.
- Set the reset pin to low
- Set the Boot0(pin) to high
- Set the reset pin to high
Thank You!
Regards,
Malik
