Skip to main content
Uwe Bonnes
Chief
January 12, 2025
Solved

Has STM32G0b0K system DFU bootloader or not?

  • January 12, 2025
  • 8 replies
  • 2325 views

STM32G0B0 datasheet DS13565 Rev 3 in Chapter 3.6 Boot modes tells:

"• USB on pins PA11/PA12 (except for STM32G0B0KE)"

This reads like DFU system bootloader is not available. However AN2606 Rev 64 has no restrictions for DFU bootloader on STM32G0B0.

Is the datasheet wrong or at least missleading or does AN2606 miss a clause  for STM32G0B0?

This topic has been closed for replies.
Best answer by Simon.T

Hello,

 

The datasheet is correct.

On the STM32G0B0, the USB DFU bootloader requires an HSE crystal oscillator. However, on packages with 32 pins, it is not possible to have this oscillator. This is why there is an exception for STM32G0B0KE devices.

 

In the previous datasheet revision, the USB peripheral was completely removed from the 32-pin package. However, it is still possible to use it if it is clocked by a high-speed external user clock generated from an external source. This is why it has been updated.

 

If you want to have USB DFU on a 32-pin package, you can check the STM32G0B1, STM32G0C1, or STM32C071.

 

Best regards,

Simon

 

 

8 replies

Tesla DeLorean
Guru
January 12, 2025

If you have parts you can presumably determine the size of the System ROM/FLASH, and the content.

I'd probably look at the Vector Table, and those associated with USB usage.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
AScha.3
Super User
January 12, 2025

At end of pin table see in ds :

AScha3_0-1736716622372.png

So STM32G0B0 has USB boot, but not in 32pin STM32G0B0K .

If you feel a post has answered your question, please click on " Best Answer ".
Uwe Bonnes
Chief
January 13, 2025

I do not find this sentence in DS13565 Rev 3.

AScha.3
Super User
January 13, 2025

Ok, but in DS13565 Rev2 .

DS13565 Rev3 has just in boot modes : 

AScha3_0-1736774701584.png

 

If you feel a post has answered your question, please click on " Best Answer ".
Simon.T
Simon.TBest answer
ST Employee
January 13, 2025

Hello,

 

The datasheet is correct.

On the STM32G0B0, the USB DFU bootloader requires an HSE crystal oscillator. However, on packages with 32 pins, it is not possible to have this oscillator. This is why there is an exception for STM32G0B0KE devices.

 

In the previous datasheet revision, the USB peripheral was completely removed from the 32-pin package. However, it is still possible to use it if it is clocked by a high-speed external user clock generated from an external source. This is why it has been updated.

 

If you want to have USB DFU on a 32-pin package, you can check the STM32G0B1, STM32G0C1, or STM32C071.

 

Best regards,

Simon

 

 

Uwe Bonnes
Chief
January 13, 2025

Ah, now I understand. But AN2606 should also carry this exception!

Simon.T
ST Employee
January 13, 2025

For the next document revision a note will be added. Thanks for your feedback