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 nRF Connect Programmer.
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.