2020-11-25 01: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.
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
2020-11-25 02:28 AM
Install USB DFU driver from STM32CubeProgrammer package and read AN3156.
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