2020-04-07 05:49 PM
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.
Solved! Go to Solution.
2020-04-07 07:50 PM
> 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.
2020-04-07 07:50 PM
> 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.
2020-04-07 07:58 PM
> 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
2020-04-07 10:45 PM
Thanks for the AN2606 Reference. I knew I read it somewhere.
2020-04-07 10:48 PM
Sad to say but I'm not too experienced writing my own updater. But it sure will be great simplifying a lot of things.