I have no issues on the baite maple mini. It uploads consistently and the serial port enumerates.
As an experiment, I removed R10 and added a simple USB disconnect circuit to the board. I used a 2N3906 for the PNP transistor, but I suspect most anything would work ok. I used PB9 to be the same as the maple mini.
Here is a picture of the three added parts. I made a new generic bootloader to use the new circuit.
Code: Select all
#elif defined TARGET_GENERIC_F103_PC13_DISC
#define HAS_MAPLE_HARDWARE 1
#define LED_BANK GPIOC
#define LED_PIN 13
#define LED_ON_STATE 0
/* USB Disc Pin Setup. USB DISC is PB9 */
#define USB_DISC_BANK GPIOB
#define USB_DISC 9
Code: Select all
#define BOARD_USB_DISC_DEV GPIOB
#define BOARD_USB_DISC_BIT 9
This board now works like the maple mini.
I can now get consistent uploads without having to press the reset button and the serial port enumerates correctly.