Files
Adafruit_nRF52_Arduino/tools/nrfutil-0.5.2
hathach 18f3a82e4c fix #9
Looking closely at the bootloader update progress.

- After transferring the image, the nrf52 save new image in bank1, which
it will perform crc check

- If success then COPY new firmware from bank1 to bank0, erasing bank 0
and writing to bank 0

The issue is after sending the firmware and getting confirm that crc is
matched, nrfutil finished. And Arduino IDE re-open Serial which cause
nrf52 reset while in the middle of erasing bank 0 & writing bank 0. The
solution is simple calculate the delay which is time to erase + time to
write bank0

Worst Erase Page Time is 90 ms
Worst Write One Word Time is 338 us
2017-01-21 19:01:47 +07:00
..
2016-12-13 21:22:55 +07:00
2017-01-21 19:01:47 +07:00
2016-11-24 20:00:25 +07:00
2016-11-24 20:00:25 +07:00
2016-11-24 20:00:25 +07:00
2016-11-24 20:00:25 +07:00
2016-11-24 20:00:25 +07:00

nrfutil

nrfutil is a Python package that includes the nrfutil command line utility and the nordicsemi library.

About

The library is written for Python 2.7.

Prerequisites

To install nrfutil the following prerequisites must be satisfied:

py2exe prerequisites (Windows only):

Installation

To install the library to the local Python site-packages and script folder:

python setup.py install

To generate a self-contained Windows exe version of the utility (Windows only):

python setup.py py2exe

NOTE: Some anti-virus programs will stop py2exe from executing correctly when it modifies the .exe file.

Usage

To get info on usage of nrfutil:

nrfutil --help