Difference between revisions of "Black Magic Probe"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
The Black Magic Probe firmware can be build for many different platforms with different pinout. The following sections list the pinout. | The Black Magic Probe firmware can be build for many different platforms with different pinout. The following sections list the pinout. | ||
− | === Blue Pill === | + | === [[Blue Pill]] === |
==== Build ==== | ==== Build ==== | ||
Line 16: | Line 16: | ||
{| | {| | ||
+ | |} | ||
+ | |||
+ | === [[Black Pill]] | ||
+ | |||
+ | ==== Build ==== | ||
+ | |||
+ | <pre> | ||
+ | $ make PROBE_HOST=f4discovery BLACKPILL=1 ENABLE_RTT=1 | ||
+ | </pre> | ||
+ | |||
+ | ==== Pinout ==== | ||
+ | |||
+ | {| class=wikitable | ||
+ | |- | ||
+ | ! Function | ||
+ | ! Pin | ||
+ | |- | ||
+ | | TDI | ||
+ | | PA1 | ||
+ | |- | ||
+ | | TMS/SWDIO | ||
+ | | PA13 | ||
+ | |- | ||
+ | | TCK/SWCLK | ||
+ | | PA14 | ||
+ | |- | ||
+ | | TDO/SWO | ||
+ | | PB3 | ||
+ | |- | ||
+ | | TRST | ||
+ | | PB5 | ||
+ | |- | ||
+ | | SRST | ||
+ | | PB7 | ||
+ | |- | ||
+ | | TX | ||
+ | | PB6 | ||
+ | |- | ||
+ | | RX | ||
+ | | PB7 | ||
|} | |} | ||
Revision as of 05:13, 27 March 2022
Platforms
The Black Magic Probe firmware can be build for many different platforms with different pinout. The following sections list the pinout.
Blue Pill
Build
$ make PLATFORM=bluepill
Pinout
=== Black Pill
Build
$ make PROBE_HOST=f4discovery BLACKPILL=1 ENABLE_RTT=1
Pinout
Function | Pin |
---|---|
TDI | PA1 |
TMS/SWDIO | PA13 |
TCK/SWCLK | PA14 |
TDO/SWO | PB3 |
TRST | PB5 |
SRST | PB7 |
TX | PB6 |
RX | PB7 |