The nRF Util for nRF5 SDK tool supports Device Firmware Update (DFU) over a serial UART
connection.
Complete the following steps to perform the DFU:
-
Connect the DFU target to your computer.
Most Nordic Semiconductor
Development Kit (DK)s have an interface
MCU that serves as a virtual COM port and transparently maps the UART into a USB
CDC ACM interface. See
Virtual COM port for more
information. If no interface MCU is available, use other options to connect the
DFU target to your computer, such as a USB to TTL adapter or a serial cable with
an RS-232 connector.
-
Run nrfutil dfu serial to do a full DFU over a serial UART
connection.
You can see available options by entering the following
command:nrfutil dfu serial --help
For example, enter the following command to perform a DFU procedure of the file
app_dfu_package.zip over COM3 at 115200 bits per
second:
nrfutil dfu serial -pkg app_dfu_package.zip -p COM3 -b 115200