1 / 6
STM32 blue pill case (blackmagic programmer) — image 1
1 / 6

STM32 blue pill case (blackmagic programmer)

Order a print of this model

We calculate the final price from your selected file. You review and accept it before payment.

Saved on this device.

The low cost bluepill board can be converted into a blackmagic probe, which supports JTAG/SWD debugging of many…

Rating
5 / 5
Likes
10
Downloads
175
Makes
1
Views
1,688
Reviews
1

Updated at source:

Model information

Category
Electronics
License
Creative Commons — Attribution

The low cost bluepill board can be converted into a blackmagic probe, which supports JTAG/SWD debugging of many targets.

To do this DFU/blackmagic.bin is needed, can be programmed onto the stm32 using serial bootloader or with an STLINK. I've added the zip as compiling it can be a bit of work, target=STLINK. Pins are as follows:

Pinout (SWD, 6 pin):

  • 1 - Clk - A5
  • 2 - IO - B14
  • 3 - Rst - B0
  • 4 - n/c
  • 5 - 3.3V
  • 6 - Gnd

Pinout (JTAG):

  • TDI - A7
  • TDO - A6
  • TCK - A5
  • TMS - B14

Pinout (serial), provided by jonnyw2k:

  • Target(RXD) -> A3 (TXD on Bluepill/BMP)
  • Target(TXD) -> A2 (RXD on Bluepill/BMP)

stlink platform github: https://github.com/blacksphere/blackmagic/blob/master/src/platforms/stlink/platform.h

Dimensions I used are specific to my board, so I'm not sure how well other boards will fit. Pin header retention didn't print to well, but seemed to work OK, glue would help.

I managed to "kill" a SAMD21 using the debugger, still trying to figure out how to recover it. But otherwise it worked well to load .hex bootloader and code.

Print Settings

Printer:

Anycubic

Rafts:

No

Supports:

No

Resolution:

0.2mm

Infill:

100%

Category: Electronics

Tags