This DFU method uses a USB Communications Device Class-Abstract Control Model (USB-CDC-ACM) connection for the Device Firmware Update (DFU).
Note
This procedure is compatible only with chips that have USB pins (for example, nRF52840).
The USB port for the interface MCU is not connected to the USB pins on the chip. If you are using the interface MCU, you must perform a DFU over a serial UART connection.
Related nRF5 SDK documentation
You can run the nrfutil nrf5sdk-tools dfu usb-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 usb-serial --help command.
Complete the following steps to perform the DFU:
-
Connect the DFU target to your computer. If your DFU target is an nRF52840 DK, use the USB port marked nRF USB.
-
Run
nrfutil nrf5sdk-tools dfu usb-serialto do a full DFU procedure over a USB CDC ACM 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 usb-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.