I bought 4 Blue Pills (STM32F103C8T6) that, as far as I can remember, didn't have bootloaders. I was able to burn bootloaders on all 4 and they showed up as a Maple Serial COM port in Device Manager.
I went to program Arduino code but had some wrong settings and after the download windows says "USB Device Not Recognized". With the proper settings I was able to program a different one of the 4.
I have been trying to rescue the Blue Pill that says "USB Device Not Recognized" and nothing seems to work. The set of Blue Pills came with a knock off ST-Link V2 that I have been using with the STM32 ST-LINK Utility to download "generic_boot20_pc13.bin". It appears to program successfully:
Code: Select all
13:26:11 : V2J29S7
13:26:11 : Connected via SWD.
13:26:11 : SWD Frequency = 4,0 MHz.
13:26:11 : Connection mode : Normal.
13:26:11 : Device ID:0x410
13:26:11 : Device flash Size : 64KBytes
13:26:11 : Device family :STM32F10xx Medium-density
13:27:48 : [generic_boot20_pc13.bin] opened successfully.
13:27:48 : [generic_boot20_pc13.bin] checksum : 0x00192077
13:27:52 : Memory programmed in 1s and 360ms.
13:27:52 : Verification...OK
13:27:52 : Programmed memory Checksum: 0x00192077
I have also tried to do the USART uploading as described in the beginning of the following tutorial but it fails at the start and says it can't connect:
https://circuitdigest.com/microcontroll ... g-usb-port
I have tried using the STM32 ST-LINK Utility to fully erase the chip but it didn't fix the problem either.
I have tried swapping the BOOT0 and BOOT1 jumpers but I have read that it doesn't matter for SWD programming and I need to have both BOOT jumpers set to 0 to run.
Does anyone have any ideas of how to rescue my Blue Pill?