Skip to main content
BHan.1
Associate III
Apr 8, 2020 12:49 AM UTC
Solved

STM32 USB Firmware update via High speed or Full speed?

Hello,

Has anyone tried updating STM32 firmware over HS USB?

I can't remember where I read it, but I remember the default STM32 DFU mode is only compatible with the FS USB.

My device is a "USB Device" and it only needs HS USB to do the job, FS is not really required.

So I'm looking for ways to implement DFU mode with the HS USB connection.

I searched everywhere for the FS or HS connection DFU mode, but I'm only seeing how to use DFU mode not what USB type to use.

This topic has been closed for replies.
TDK
TDKBest answer
Apr 8, 2020 2:50 AM UTC

> My device is a "USB Device" and it only needs HS USB to do the job, FS is not really required.

FS (12Mbps) is a lower speed than HS (480 Mbps).

The ST USB DFU bootloader only supports full speed.

You can look at AN2606 to see what bootloader options are supported. Note that all the USB options listed are full speed.

"If you feel a post has answered your question, please click ""Accept as Solution""."

4 replies

TDK
TDKBest answer
Apr 8, 2020 2:50 AM UTC

> My device is a "USB Device" and it only needs HS USB to do the job, FS is not really required.

FS (12Mbps) is a lower speed than HS (480 Mbps).

The ST USB DFU bootloader only supports full speed.

You can look at AN2606 to see what bootloader options are supported. Note that all the USB options listed are full speed.

"If you feel a post has answered your question, please click ""Accept as Solution""."
BHan.1
BHan.1Author
Associate III
Apr 8, 2020 5:45 AM UTC

Thanks for the AN2606 Reference. I knew I read it somewhere.

Pavel A.
Apr 8, 2020 2:58 AM UTC

> So I'm looking for ways to implement DFU mode with the HS USB connection.

Make your own updater with DFU interface. Look for examples for DFU device class in ST HAL bundle for your MCU.

-- pa

BHan.1
BHan.1Author
Associate III
Apr 8, 2020 5:48 AM UTC

Sad to say but I'm not too experienced writing my own ​updater. But it sure will be great simplifying a lot of things.