Hi,

Nordic Semiconductors switches from nrfjprog to nrfutil for new devices.

NRF52840 base boards (pca10056 and pca10059) now use nrfutil as default
programming tool.

Here is page to get tool:
https://www.nordicsemi.com/Products/Development-tools/nRF-Util/Download#infotabs

Once nrfutil is downloaded following commands should be executed to
complete setup

nrfutil upgrade
nrfutil install device

It is still possible to use JLink/GDB for flashing using target's
syscfg.yml with following lines:
syscfg.vals:
    MYNEWT_DOWNLOADER: jlink
To use nrfjprog:
syscfg.vals:
    MYNEWT_DOWNLOADER: jprog

For PCA10059 (NRF52840 USB dongle DK) it's now possible to flash mynewt
project without debugger connection.
This applies to the boards that have programmed Nordic SDK bootloader.
To use such boards:
- install nrfutil
- set BSP_NRF_SDK_FLASH_LAYOUT: 1 in target/application syscfg.yml
- build application: newt build <target> (no newt create image required, no
bootloader target required)
- insert dongle DK into USB port, THEN press reset on the board to enter
DFU mode (red LED blinks with PWM pattern)
- load binary: newt load <target>

best regards
Jerzy

Reply via email to