[Memo] nRF Connect:Programmer & nRF Toolbox

4109 단어 NordicBLEnRF52832
사용법 메모.

환경



  • 소프트웨어
  • Windows 10
  • nRF Connect for Desktop
  • pc-nrfutil
  • iOS - nRF Toolbox


  • Hardware
  • nRF52-DK (nRF52832)


  • Steps to burn base FW (SoftDevice and Bootloader).


  • nRF Connect

    => Install & Open "Programmer"


  • Programmer (No device connected)
  • Programmer (Device is connected)

    => 셀렉트 디바이스

  • Programmer : Adding HEX files

  • "s132_nrf52_7.0.1_softdevice.hex": SoftDevice(S132) for nRF52832
  • "secure_bootloader_ble_s132_pca10040.hex": Bootloader

  • Programmer : After 2 HEX files are added.


  • Programmer : "Erase all", "Read", "Write"and then "Read"


  • DFU 파일



  • Use "nrfutil"to generate Dfu file from .hex and private key.

    Example
    APPNAME=APP001
    nrfutil pkg generate --hw-version 52 --sd-req 0x00cb --application-version 0x0000 --key-file ./key/priv.pem --application ${APPNAME}.hex ${APPNAME}.zip
    

  • Send email with ".zip"(DFU file) to iOS device
  • Open email, do long press the attached ZIP file, and select Copy to "nRF Toolbox"

  • iOS: nRF Toolbox


  • Go to DFU

  • DFU
  • Select File > User Files > Inbox > Select zip file
  • Select Device
  • Tap: Update
  • Done: :-)

  • 좋은 웹페이지 즐겨찾기