Erasing the kit

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

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

There are different ways to erase the kit. You can, for example, use SEGGER Embedded Studio (SES) or the command line tool nrfjprog (part of the nRF Command Line Tools).
  • To erase the contents of the kit with SES, complete the following steps:
    1. Select Target > Connect J-Link.
      Select Target > Connect J-Link
    2. After the connection is established, select Target > Erase All.
      Select Target > Erase All
  • 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