This repository contains prebuilt Zephyr BLE HCI <-> UART firmware for an nRF52840 dongle.
-
Install
nrfutil. Follow the Instructions here. -
Install
nrf5sdk-tools:
nrfutil install nrf5sdk-tools
-
Download the
nrf52840dongle_bluetooth_hci_uart.zipfrom the Releases. -
Reset the board into the Nordic bootloader by pressing the RESET button.
The push button is on the far side of the board from the USB connector. Note that the button does not face up. You will have to push it from the outside in, towards the USB connector:
The red LED should start a fade pattern, signalling the bootloader is running.
- Find the serial port of the dongle:
E.g. on macOS:
ls /dev/tty.usbmodem*
E.g. on Linux:
ls /dev/serial/by-id/usb-Nordic_Semiconductor_Open_DFU_Bootloader_*
If that doesn't work (because your Linux distro doesn't have the right udev rules).
ls /dev/ttyACM*
- Flash the firmware:
nrfutil nrf5sdk-tools dfu usb-serial -pkg nrf52840dongle_bluetooth_hci_uart.zip -p YOUR-PORT-NUMBER
