I have a USB board with STM32F072C8T6 and I want to flash it with a bootloader so that it can work with Arduino IDE.
When I connect the BOOT0 pin to HIGH, the device enumerated in Windows Device Manager under "Universal Serial Bus devices" and shows up as "STM32 Bootloader"
Now, i can proceed from here how to flash a bootloader that can make the USB works with Arduino IDE.
I tried to use this open-source
https://github.com/Jana-Marie/OtterPill/tree/main
and built the dfu-util on Linux Ubuntu machine..... but I have several problems:
1- I cannot find the firmware.bin file that the above URL uses
2- how to use the dfu utility on Windows Machine ?
3- is there any other open-source free Arduino bootloader I can easily flash to my USB board and use it through the USB port to work with Arduino IDE
Any help or guidance is appreciated?
Thanks
Hossam Fattah
Anonymous
This is not a place for Arduino support, but briefly:
Hello Tormod,
Thanks for your reply.
As for the firmware.bin, I am not sure what you mean all necessary build tool installed ?. I run "make" and the binaries for the dfu-utils are generated but can not find the firmware.bin
Thanks
If you run "make" in the dfu-util source folder you will build dfu-util, to run on your computer.
firmware.bin is the Otter Pill binary that should run on your microcontroller, and it is build when you run "make" in the Otter Pill source folder.
Hello Tormod,
Thanks ... I was able to solve this problem by using CubeProgrammer and binary from stnduino32.
Thanks for you r help.
Best