2024-10-17 08:18 AM - last edited on 2024-10-22 08:13 AM by Andrew Neil
Usually, fresh (no firmware) STM32 MCUs will be in bootloader mode by default without needing to toggle the boot and reset pins. In such cases, we proceed directly with the firmware update procedure using the default slave address (0x5d).
However, we have encountered an issue with some of the recent build STM32G0 series MCUs. These units are not in bootloader mode by default. When we attempt to do firmware update using the default slave address (0x5d), the MCU holds the I2C clock line and does not release the bus until we manually toggle the boot and reset pins to bring the MCU into bootloader mode.
In the past, fresh MCUs would automatically be in bootloader mode, allowing us to proceed with the firmware update seamlessly. Given this change, we suspect there may be some base firmware present in these MCUs that is holding the I2C clock line when we attempt communication with the default slave address (0x5d).
Could you provide us with insights on why some of the recent build STM32G0 MCUs are not in bootloader mode by default? Is there a base firmware pre-installed that could be causing this behavior?
We would appreciate any guidance or support you can provide and I looking forward for your response.
2024-10-22 08:09 AM - edited 2024-10-22 08:11 AM
Hi @Saideepak ,
I'm not aware about any change related to bootloader for recent STM32G0 MCUs.
To farther investigate, may you share flash dump of 2 devices: the working properly one and the failing one?
Which STM32G0 part are you using?
Is issue faced with some devices or all recent ones?
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-10-22 10:51 AM
Hi @Saideepak ,
Please discard my previous reply. I correct what I said to share with you a known limitation on latest bootloader version (V11.3) that created a compatibility break on boot sequence versus older versions.
This is well described on page 223 of AN2606 rev 64.
Please check your bootloader revision and try to avoid any reset in bootloader process.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-10-23 06:19 AM
Hi @Amel NASRI ,
Which STM32G0 part are you using?
Is issue faced with some devices or all recent ones?
I am facing this issue in 25% of mcu boards.
Bootloader version - 0x12(For I2C protocol V1.2)
I have another batch mcu where the mcu is not entering the bootloader mode even after making boot pin high. I have attached its image and description below,
2024-10-24 07:03 AM
Hi @Saideepak ,
Face to current situation, the recommendation I can give is to have contact with your FAE and start a FAR (Failure Analysis Request) to understand the problems root-causes.
Keep us informed.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.