trouble uploading code from Arduino through DFU interface

STM32duino bootloader aka Maple bootloader
Post Reply
its_kronos
Posts: 1
Joined: Fri Aug 22, 2025 2:23 am

trouble uploading code from Arduino through DFU interface

Post by its_kronos »

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

Image

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.

Image

Image

Image

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

Return to “USB bootloader”