DFU over Bluetooth Low Energy

本篇介紹以 nrfutil 指令控制 nRF52840 USB Dongle,透過ble 對nRF52840-DK寫入firmware


參考 DFU over Bluetooth Low Energy


使用環境


SDK:\SDK\nRF5_SDK_17.1.0_ddde560\examples\dfu\secure_dfu_test_images\ble\nrf52840

Board:pca10056 (nRF52840-DK),pca10059 (nRF52840 USB Dongle)

Software Tool : nRF Connect for Desktop,nRF Util


前置處理


1. 使用Programmer把 softdevice_s140.hex 及 bootloader_secure_ble_debug_without_bonds_s140.hex

    燒進nRF52840-DK,並確定DK進入bootloader mode,ble名為 DfuTest


2. 開啟Windows的CMD視窗,輸入指令確認電腦正確連接USB Dongle,並記下Serial埠數

nrfutil device list



操作


1. 輸入指令以Dongle透過ble對DK進行燒錄

檔案:hrs_application_s140.zip

Serial Port:COM4

目標Ble名稱:DfuTest

nrfutil dfu ble -pkg hrs_application_s140.zip -ic NRF52 -p COM4 -n "DfuTest" -f




留言