This DFU method uses a serial UART connection for the Device Firmware Update (DFU).
Most Nordic Semiconductor Development Kits (DKs) 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.
Related nRF5 SDK documentation
You can run the nrfutil nrf5sdk-tools dfu serial command to perform this update, together with appropriate options for your setup. To see the list of options, run the nrfutil nrf5sdk-tools dfu serial --help command.
Complete the following steps to perform the DFU:
- Connect the DFU target to your computer.
-
Run
nrfutil nrf5sdk-tools dfu serialwith appropriate options to perform DFU over a serial UART connection.For example, enter the following command to perform a DFU procedure of the file
app_dfu_package.zipover COM3 at 115200 bits per second:nrfutil nrf5sdk-tools dfu serial --package app_dfu_package.zip --port COM3 --baud-rate 115200In this command:
--packagespecifies the package to be transferred.--portspecifies the serial port to which the DFU target is connected.--baud-ratespecifies the baud rate for the serial connection.