2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[Memo] nRF Connect:Programmer & nRF Toolbox

Last updated at Posted at 2019-12-02

使い方メモ.


Environment

Steps to burn base FW (SoftDevice and Bootloader).

  • nRF Connect

    image.png

    => Install & Open "Programmer"
  • Programmer (No device connected)
    image.png

  • Programmer (Device is connected)
    image.png
    => Select Device

  • Programmer : Adding HEX files
    image.png

    • "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.
    image.png

  • Programmer : "Erase all", "Read", "Write" and then "Read"
    image.png

DFU File

  • 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
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/75594/ace30be6-f203-f697-b667-e70567398b62.png)

- DFU<br>![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/75594/5927c97f-c664-0aa7-2070-e871b69720c2.png)

    - Select File > User Files > Inbox > Select zip file 
    - Select Device<br>![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/75594/bb7007da-a657-bd45-83c9-2e126a4b0e87.png)
    - Tap: Update<br>![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/75594/a15e02cc-02d7-3d46-94ec-806b9583c7c2.png)


    - Done: :-)<br>![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/75594/80fcc9d9-c3bd-de74-d84e-3f1f90a8deb2.png)
2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?