|
@@ -68,8 +68,8 @@ the following:
|
68
|
68
|
|
69
|
69
|
Set the Boot switch (SW1) on the PD Buddy Sink to the position not marked on
|
70
|
70
|
the silkscreen to set the device to DFU mode. If your Sink doesn't have a Boot
|
71
|
|
-switch, you can simply bridge the two long, close-together pads on the
|
72
|
|
-footprint for SW1 with a blob of solder to achieve the same effect. Once the
|
|
71
|
+switch installed, you can simply bridge the two pads of SW1 circled in [this
|
|
72
|
+image][dfu pads] with a blob of solder to achieve the same effect. Once the
|
73
|
73
|
Sink is set to DFU mode, plug it into your computer. Flash the firmware with:
|
74
|
74
|
|
75
|
75
|
$ dfu-util -a 0 -s 0x08000000:leave -D build/pd-buddy-firmware.bin
|
|
@@ -77,6 +77,8 @@ Sink is set to DFU mode, plug it into your computer. Flash the firmware with:
|
77
|
77
|
Don't forget to set the switch back to normal mode (or remove the solder blob)
|
78
|
78
|
after unplugging the device.
|
79
|
79
|
|
|
80
|
+[dfu pads]: docs/dfu_pads.jpg
|
|
81
|
+
|
80
|
82
|
### stlink
|
81
|
83
|
|
82
|
84
|
If you have an ST-LINK/V2, you can use it to flash the firmware via SWD as
|