Erasing the kit

Getting started with nRF5 SDK and Keil (nRF51 & nRF52 Series)

Before you program an example to the development kit, you should erase the contents of the kit.

There are two ways to erase the kit. You can use the command line tool nrfjprog (part of the nRF Command Line Tools) or the Programmer app.
  • To erase the contents of the kit with nrfjprog, enter the following command:
    • For nRF51 devices: nrfjprog --family nRF51 --eraseall
    • For nRF52 devices: nrfjprog --family nRF52 --eraseall
  • To erase the contents of the kit with the nRF Connect Programmer, select your device in the navigation bar. Then click Erase all in the Device section.
    Erasing in nRF Connect Programmer