2024-12-09 11:34 AM - last edited on 2024-12-10 01:37 AM by Andrew Neil
Hello,
First I want to clarify that STM32CubeProgrammer is a very cool and useful software.
The purpose of my question is that in my company we need to integrate a "Firmware Flasher" into one of our Software products since we are not going to indicate our customers to download, install, and use STM32CubeProgrammer to update their device's firmware.
I was wondering if there is a sample project or code that uses libusb (preferably in C or C++), that I can use as a reference to develop a firmware flasher. I say ideally in C and C++ but if it is not in any of these languages that is ok. I can just translate it from whatever to C++ using ChatGPT.
Thanks!
Solved! Go to Solution.
2024-12-09 01:06 PM
Try Github? Likely to be a place to find USB DFU code, ST or otherwise.
2024-12-09 11:30 AM - last edited on 2024-12-10 01:39 AM by Andrew Neil
Duplicate thread merged.
Hello,
First I want to clarify that STM32CubeProgrammer is a very cool and useful software.
The purpose of my question is that in my company we need to integrate a "Firmware Flasher" into one of our Software products since we are not going to indicate our customers to download, install, and use STM32CubeProgrammer to update their device's firmware.
I was wondering if there is a sample project or code that uses libusb (preferably in C or C++), that I can use as a reference to develop a firmware flasher. I say ideally in C and C++ but if it is not in any of these languages that is ok. I can just translate it from whatever to C++ using ChatGPT.
Thanks!
2024-12-09 01:06 PM
Try Github? Likely to be a place to find USB DFU code, ST or otherwise.
2024-12-09 01:08 PM
Perhaps you can find SW engineers with Windows, USB experience on places like Fiverr ?
2024-12-09 01:16 PM
Ok, I have heard about the USB DFU protocol before but I wasn't sure if the STM32 USB DFU implementation is just regular USB DFU or a custom version created by ST that they just called USB DFU.
I'll search for any USB DFU protocol examples. Thanks!
2024-12-09 03:32 PM
The ST implementation also is known as "DfuSe".