Making a Blackmagic Probe

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.
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

Erase Chip

$ ./stm32loader.py -e

Upload Blackmagic Firmware

$ ./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)

See if the BMP enumerates

$ 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.

ttyACM0 – Virtual Serial Port GDB Interface 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

Tamojit
sahatamo1995@gmail.com
113.21.74.129
2018-09-12
13:12:07
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