Hello there..i am quite new with bluepill STM32F103 board.
Here what i've done
1. i bought 4 bluepill board (china), and changed the 10K resistor to 1K5 resistor
2. i bought 2 STLINK downloader
3. i have 2 USB cable
4. download Roger Clark's Arduino_STM32-master, copied and unzipped it to Documents\Arduino\hardware
5. download generic_boot20_pc13.bin
6. set the BOOT0 jumper to 0 (GND)
7. turned on the bluepill using USB cable which was connected to my laptop
8. flashed the bin file using command line stlink (i think that using STLINK, it doesnt care if the BOOT0 jumper set to 0 or to 1) and succeeded.
9. if i unplug and replug the USB cable, the LED on PC13 was blinking fast and then blinking slow, and then OFF (as expected)
10. ran install_drivers.bat in folder drivers, succeeded.
11. windows recognized the device as Maple Serial (COMxx)
12. i opened Arduino IDE, open blink LED sketch from examples
13. i changed PB (port B) to PC13
14. i set the board to Generic STM32F103 series, set upload method : serial, and set the COM Port
15. compile success,but when i uploaded the HEX, error happened :
Error probing interface "serial_w32"
stm32flash 0.4
Cannot handle device "COM11"
Failed to open port: COM11
http://stm32flash.googlecode.com/
16. i thought that this was because the bluepill is on RUNNING MODE (not bootloader MODE)
17. i unplugged the USB cable, switch BOOT0 to 1 (VCC 3.3V), and replugged the USB cable
18. after that, windows had error, USB device not recognized.
19. i was confused, i thought that : Maple serial driver is serial driver when RUNNING MODE, and MAple-DFU driver is serial driver when bootloader MODE.
20. i turned bluepill off (unplug the USB cable), set the BOOT0 jumper to 0, and then replugged the cable. Windows recognized again as Maple Serial.
21. i tried with other STLINK, bluepill, and USB cable. the result is always the same.
22. But if i tried to flash the blink code to bluepill using external USB to serial TTL (TX & RX connected to PA9 & PA10) in bootloader mode, it succeeded.
so my problem is, i failed to have the USB bootloader working, because when in bootloader MODE, windows cannot recognize the device.
what did i do wrong here?