Datasheet
3. Manually Burning the Bootloader via nrfjprog
You can also manually burn the bootloader from the command line, using `nrfjprog` from Nordic.
You can either download nRF5x-Command-Line-Tools (https://adafru.it/vaJ) for OSX/Linux/Win32, or use the version
that ships with the BSP in the tools/nrf5x-command-line-tools folder.
Run the folllwing commands, updating the path to the .hex file as appropriate:
$ nrfjprog -e -f nrf52
$ nrfjprog --program bootloader_with_s132.hex -f nrf52
$ nrfjprog --reset -f nrf52
You should see something similar to the following output, followed by a fast blinky on the status LED to indicate that
you are in DFU/bootloader mode since no user sketch was found after the device reset:
OS X Note: You may need to create a symlink in `/usr/local/bin` to the
All commands below were run from 'tools/nrf5x-command-line-tools/osx/nrfjprog'
$ ./nrfjprog -e -f nrf52
Erasing code and UICR flash areas.
Applying system reset.
$ ./nrfjprog --program ../../../../bin/bootloader/bootloader_v050_s132_v201.hex -f nrf52
Parsing hex file.
Reading flash area to program to guarantee it is erased.
Checking that the area to write is not protected.
Programing device.
$ ./nrfjprog --reset -f nrf52
Applying system reset.
Run.
© Adafruit Industries https://learn.adafruit.com/bluefruit-nrf52-feather-learning-guide Page 32 of 175