nRF52832 HCI/UART DFU Bootloader - From nRF5 SDK v11.0.0
Device firmware update (DFU) bootloader which allows the nRF52832's firmware and/or SoftDevice to be updated serially.
nrfutil v0.5.2 can be used to transfer a firmware image from computer to nRF52832.
To enter the bootloader, press and hold button1 on bluey and then press and release RESET button -- must be held low on startup or reset. The Blue LED will blink in a "timebomb" pattern to indicate the board is in the bootloader state.
For more information on the Nordic BLE & HCI/UART Bootloader/DFU, check out their SDK Reference Page.
- /config -- Platform-specific configurations.
- /hex -- Compiled hex files for the SoftDevice (S132) and bootloader.
- main.c -- Main source file for bootloader application
Documentation for the nRF5 SDK (v11.0.0) can be found at http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Findex.html. Follow along with the instructions there to install and set up the SDK. Note that GCC is used instead of Keil or IAR.
Building the Bootloader
Once that is set, open this "bootloader-custom" folder in a command terminal and type
sfe_nrf52832_dfu.hex should be created in a "_build" folder, which can be uploaded to the Bootloader section of the nRF52832's flash.