環境構築
Black Magic Probeのファームウェアアップデート
接続確認
arm-none-eabi-gdb
rem target extended-remote COM3 # COM番号の桁数によって書き方が違うみたい
(gdb) target extended-remote \\.\COM11
Remote debugging using \\.\COM11
(gdb) monitor version
Black Magic Probe (Firmware v1.6.2) (Hardware Version 0)
Copyright (C) 2015 Black Sphere Technologies Ltd.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
■Zadigのインストール
https://black-magic.org/upgrade.html
https://zadig.akeo.ie/
接続確認
dfu-util.exe -d 1d50:6018,:6017 -s 0x08002000:leave -D ..\firmware\blackmagic_fw\blackmagic.bin
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release!!!
Cannot open DFU device 1d50:6018
Opening DFU capable USB device...
ID 1d50:6018
Run-time device DFU version 011a
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Device will detach and reattach...
Cannot open DFU device 1d50:6017
Lost device after RESET?
エラーになった。。
DFUモードでも同様に、DFU Denoにドライバインストールが必要みたい。
■正しいコマンドは以下みたい。。。
https://forum.flirc.tv/index.php?/topic/5930-jeff-probe/
dfu-util --device ,1d50:6017 -s 0x00002000:leave -D blackmagic.bin