How to Data communicate with the STM32 BOOTLOADER ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-25 1:58 AM
I want to make a Tool like STM32CubeProgrammer using MFC.
When I checked the device monitoring, STM32CubeProgrammer was able to communicate 2K at a time.
When connected via USB, the device manager shows up as STM32 BOOTLOADER, I am trying to connect this and the tool.
Is there any way to know the communication protocol or API?
I'm sorry if this was an absurd question.
Solved! Go to Solution.
- Labels:
-
STM32CubeProgrammer
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-10 12:36 AM
Hi @Jpark.20
As suggested by Piranha the Bootloader USB DFU protocol is described in AN3256.
You can also reuse STM32CubeProgrammer DLL (API) available inside the tool in order to build your own Programmer.
There is some examples in api folder that show how to do it.
Hope that this help you.
Houda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-11-25 2:28 AM
Install USB DFU driver from STM32CubeProgrammer package and read AN3156.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-10 12:36 AM
Hi @Jpark.20
As suggested by Piranha the Bootloader USB DFU protocol is described in AN3256.
You can also reuse STM32CubeProgrammer DLL (API) available inside the tool in order to build your own Programmer.
There is some examples in api folder that show how to do it.
Hope that this help you.
Houda
