blackmagic/src/platforms/blackpillv2
dragonmux 04cf410247 platform: Moved the aux serial functions into their own header 2022-08-22 12:59:24 -07:00
..
Makefile.inc misc: Renamed cdcacm.{c,h} to usb_serial.{c,h} 2022-08-12 22:25:52 -07:00
Readme.md blackpillv2: clarify how to exit bootloader mode 2022-07-01 06:56:57 -04:00
platform.c platform: Moved the aux serial functions into their own header 2022-08-22 12:59:24 -07:00
platform.h misc: Updated comments and READMEs to properly reflect pinouts and function 2022-06-26 16:51:58 -07:00
usbdfu.c blackpillv2: Renamed blackpill to blackpillv2 to prevent ambiguity. 2022-06-04 01:31:27 -04:00

Readme.md

Firmware BMP for STM32F401/stm32f411 MiniF4 aka BlackPillV2 boards

Allows the use of BlackPillV2 as a Black Magic Probe

https://github.com/WeActTC/MiniSTM32F4x1

Connections

  • JTAG/SWD

    • PA1: TDI
    • PA13: TMS/SWDIO
    • PA14: TCK/SWCLK
    • PB3: TDO/TRACESWO
    • PB5: TRST
    • PB4: nRST
  • USB USART

    • PB6: USART1 TX (usbuart_xxx)
    • PB7: USART1 RX (usbuart_xxx)
  • +3V3.

    • PB8 - turn on IRLML5103 transistor

How to Build

cd blackmagic
make clean
make PROBE_HOST=blackpillv2

How to Flash with dfu

  • After build:
      1. apt install dfu-util
      1. Force the F4 into system bootloader mode by keeping BOOT0 button pressed while pressing and releasing NRST button. System bootloader should appear.
      1. dfu-util -a 0 --dfuse-address 0x08000000 -D blackmagic.bin

To exit from dfu mode just press and release NRST. The newly Flashed BMP firmware should boot and enumerate.

10 pin male from pins

PB3/TDO PB7/RX PB6/TX X PA1/TDI
PB4/nRST +3V3/PB8 SW PA13/SWDIO PA14/SWCLK GND

SWD/JTAG frequency setting

https://github.com/blackmagic-debug/blackmagic/pull/783#issue-529197718

mon freq 900k helps at most