Closed maxgerhardt closed 2 months ago
And wtf is this doing
It spells 0xLEAF
but L
for sure is not a hexadecimal number, it should be 1EAF
Oh lookie lookie there, when I change
to be
upload.vid=0x1eaf
upload.pid=0x0003
I do get a successfull upload
So obviously, when Tools -> Upload Method --> Maple DFU Bootloader 2.0 is selected, it should use 1EAF:0003 as the VID:PID for DFU-Util. This is probably even irregardless of the selected chip (doesn't matter whether "Generic STM32F103C8" or "Bluepill C8", since the Maple DFU bootloader will always show up as that VID:PID. I'm not sure what this core here is doing using that other 0x0483:0xdf11, because that is the generic "STM Device in DFU Mode" VID/PID, not the one for Maple.
I'm a bit baffled that the most popular Bluepill board with the most popular USB bootloader can't be used in this core out of the box-
Hi @maxgerhardt Thanks for reporting this
And wtf is this doing
A typo mistake, sorry for this. I've made a lot of changes to feat new Arduino specification. I've tested the Blue Pill but when rebased and squashed several branches I've made a mistake. I'm only human so please be comprehensive....
I'm a bit baffled that the most popular Bluepill board with the most popular USB bootloader can't be used in this core out of the box-
Same here, this kind of comment is really not constructive and only your opinion. It is a community project and all contributions are welcome (PR, review, discussions,...). Doing my best (alone) ...
Fixed by #2440.
Describe the bug When selecting a Bluepill STM32F103C8 and the Mapple Bootloader 2.0 from here, the STM32Duino core fails to use the correct USB PID/VID of 0x1EAF:0x003 and instead uses 0x0483:0xdf11. Upload subsequently fails to find the correct device.
To Reproduce No source code relevant. Blinky sketch for PC13.
Steps to reproduce the behavior:
Get hit with failure
(no wonder if you select teh wrong VID/PID)
Expected behavior Uploading with the Maple bootloader actually uses the right PID/VID
Screenshots None
Desktop (please complete the following information):
Board (please complete the following information):
Additional context Add any other context about the problem here.