|
@@ -57,13 +57,14 @@ submodule.
|
57
|
57
|
You will also need to install some program to flash the firmware. The simplest
|
58
|
58
|
option is [dfu-util][], as it requires no extra hardware (though if upgrading
|
59
|
59
|
from versions older than 1.2.0, either the Boot switch must be installed or two
|
60
|
|
-pads must be bridged). If you prefer to use SWD, you could also use [stlink][]
|
61
|
|
-or [OpenOCD][].
|
|
60
|
+pads must be bridged). If you prefer to use SWD, you could also use
|
|
61
|
+[stlink][], [OpenOCD][], or a [Black Magic Probe][].
|
62
|
62
|
|
63
|
63
|
[toolchain]: https://launchpad.net/gcc-arm-embedded
|
64
|
64
|
[dfu-util]: http://dfu-util.sourceforge.net/
|
65
|
65
|
[stlink]: https://github.com/texane/stlink
|
66
|
66
|
[OpenOCD]: http://openocd.org/
|
|
67
|
+[Black Magic Probe]: https://github.com/blacksphere/blackmagic/wiki
|
67
|
68
|
|
68
|
69
|
## Compiling
|
69
|
70
|
|
|
@@ -125,6 +126,13 @@ ST-LINK/V2, you can easily do this as follows:
|
125
|
126
|
|
126
|
127
|
$ make flash-openocd-stlink
|
127
|
128
|
|
|
129
|
+### Black Magic Probe
|
|
130
|
+
|
|
131
|
+Black Magic Probe debuggers can be used to flash the firmware as well. This
|
|
132
|
+can be easily done as follows:
|
|
133
|
+
|
|
134
|
+ $ make flash-bmp
|
|
135
|
+
|
128
|
136
|
## Usage
|
129
|
137
|
|
130
|
138
|
After first flashing the PD Buddy Sink, the device has no configuration. To
|