2023-06-08 02:20 PM
Hi, I am working on a project with the STM32H730 that needs DFU capabilities for users to update software from a website. This project boots from an external flash memory due to large size requirements for program memory.
Is there a way the DFU feature can work with this setup? Is a custom bootloader necessary or is it possible with other configuration. My project is written in C++ using the STM32CubeIDE
2023-06-08 05:21 PM
You would need to make a USB DFU device familiar with your hardware arrangements.
Another possibility is a USB MSC where you make part of the QSPI look like a drive, and the user can drag-n-drop updates which you subsequently apply once disconnected.
You can't use the External Loader methods of STM32 Cube Programmer via USB/DFU, you have to facilitate.
2023-06-08 05:29 PM
@Community member That sounds like a custom bootloader then. Is that correct?
This needs to have a consistent process with other DFU devices on the user side so MSC is not an option unfortunately.