STM32 USB Firmware update via High speed or Full speed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-07 5: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.
- Labels:
-
Bootloader
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-07 7: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-07 7: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-07 7: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-07 10:45 PM
Thanks for the AN2606 Reference. I knew I read it somewhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
