Closed
Description
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:
- Use ST-Link or USB-to-UART adapter to first mass erase the flash
- Burn in generic_boot20_pc13.bin
- Reboot the Bluepill, "Maple DFU" device shows up (asssumes driver is installed
- Select Bluepill C8 and Maple Bootloader 2.0 in the Tool settings
- Hit upload
- See an invocation of
"C:\Users\Max\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.2.2/win/busybox.exe" sh "C:\Users\Max\AppData\Local\Arduino15\packages\STMicroelectronics\tools\STM32Tools\2.2.2/maple_upload.sh" COM1 2 0x0483 0xdf11 "C:\Users\Max\AppData\Local\Temp\arduino\sketches\68F814A2F7381590CAB9CFF90ED55329/sketch_jun16a.ino.bin"
Get hit with failure
No DFU capable USB device found
(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):
- OS: Windows 10
- Arduino IDE version: 2.3.2
- STM32 core version: 2.8.0
- Tools menu settings if not the default: per
- Upload method: Maple Bootloader 2.0
Board (please complete the following information):
- Name: Bluepill STM32F103C8
- Hardware Revision: -/-
- Extra hardware used if any: None
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done