LoginSignup
0
0

Nordic E73@nRF52840 メモ

Last updated at Posted at 2024-01-30

環境構築

Black Magic Probeのファームウェアアップデート

■デバッカインストール
https://akerun.hateblo.jp/entry/2021/12/16/JeffProbe#:~:text=samples/basic/blinky-,%E3%83%87%E3%83%90%E3%83%83%E3%82%AC%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB,-%E3%83%87%E3%83%90%E3%83%83%E3%82%AC%E3%81%AB%E3%81%AF

Add Path to evnのチェックを忘れずに
image.png

接続確認
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/

image.png

Install Driverをクリックして待つ
image.png

Reinstall Driverが表示されたら成功
image.png

接続確認
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にドライバインストールが必要みたい。
image.png

■正しいコマンドは以下みたい。。。
https://forum.flirc.tv/index.php?/topic/5930-jeff-probe/
dfu-util --device ,1d50:6017 -s 0x00002000:leave -D blackmagic.bin

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0