trouble uploading code from Arduino through DFU interface
Posted: Sun Aug 24, 2025 12:07 pm
I recently created a custom opensource devboard (https://github.com/its-kronos/Databoard) with the STM32F103C8 chip, and it's pretty similar to the Blue Pill board that people have got this working on, except it uses a 16 MHZ clock instead of an 8 MHZ one. To account for this, I changed the PLLXTPRE bit to 1, dividing the HSE output before sending it to PLL input

This can be seen in my fork of roger clarkson's repo: https://github.com/its-kronos/STM32duin ... -DATABOARD
After uploading the generic-none compiled binary made from my fork, the devboard successfully shows up as a maple DFU device under libusb-win32 devices in device manager, but when uploading the code from the arduino ide (using the official STM32duino core), there is an error.



You can see everything that I've tried in my journal for this project here: https://github.com/its-kronos/Databoard ... JOURNAL.md

This can be seen in my fork of roger clarkson's repo: https://github.com/its-kronos/STM32duin ... -DATABOARD
After uploading the generic-none compiled binary made from my fork, the devboard successfully shows up as a maple DFU device under libusb-win32 devices in device manager, but when uploading the code from the arduino ide (using the official STM32duino core), there is an error.



You can see everything that I've tried in my journal for this project here: https://github.com/its-kronos/Databoard ... JOURNAL.md