Using the STM32F103C8T6 minimum system development board described in the hardware section.
Using the serial upload method using stm32loader.py described previously.
We need a copy of the blackmagic firmware to upload.
https://github.com/blacksphere/blackmagic - Source
https://github.com/RickKimball/blackmagic - Source
http://www.stm32duino.com/download/file.php?id=56 – Old Pre-built Binary
If you are setup to compile the source then it is available on GitHub, otherwise I found the older prebuilt binary to work for me so far.
Connect Up USB/Serial Converter to the board you are going to turn into a BMP.
Set Jumpers (BOOT0 = 1, BOOT1=0)
Reset Board
$ ./stm32loader.py -e
$ ./stm32loader.py – w blackmagic.bin
Set Jumpers (BOOT0 = 0, BOOT1 = 0)
Reset Board
Disconnect USB/Serial Converter
Plug in microUSB and connect to PC (Linux in my case)
$ dmesg usb 7-3: new full-speed USB device number 27 using ohci-pci usb 7-3: New USB device found, idVendor=1d50, idProduct=6018 usb 7-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 7-3: Product: Black Magic Probe (JC66CoreBoard), (Firmware v1.6-rc0-77-gb8881fd) usb 7-3: Manufacturer: Black Sphere Technologies usb 7-3: SerialNumber: C1C19AFD cdc_acm 7-3:1.0: ttyACM0: USB ACM device cdc_acm 7-3:1.2: ttyACM1: USB ACM device
If all goes well the device should enumerate as something like above.
ttyACM1 – Virtual Serial Port USB/UART
So now we have a working BMP clone board to use. The next step to doing something useful will be to install the toolchain.
Back to Index
Thanks! My approach was a bit different regarding flashing Blue-Pill Board with BMP Firmware. I have documented my setup in github. Link: https://github.com/TamojitSaha/STM32f103-Black-Magic-Probe-Firmware