
Page 34 of 62
nRF51822 Development Kit User Guide v1.4
6.1.1
Selecting a board to program
1. Open nRFgo Studio
.
2. In the Device Manager pane select which board to program or erase.
3. The nRF51822 DK modules (PCA10004/ PCA10005) cannot be selected directly. The boards must
be selected through the J-Link debugger connected to them. To do this, you either select the
actual module located under
Motherboard > Boardx
or by clicking on
nRF51 Programming
.
4. Select the debugger you want to use from the list of available J-Link debuggers under
Segger to
use
.
6.1.2
Identifying the nRF51 chip and chip content
When you select a board, nRFgo Studio identifies the nRF51822 chip and how its memory is organized.
The following chip and memory information is displayed:
•
nRF51 chip identification
- Identifies the chip by name and code variant (for example,
nRF51822 QFAACA). If the debugger is not connected to the chip, or the debugger has a
problem communicating with the chip, it will show the following message “No device
detected. Ensure that you have the SEGGER connected correctly to the board and that the
board is powered and configured for debugging.”
•
Code memory -
Shows how the code memory is organized in one or two regions (Region 0
and 1) and the size of each region. For devices containing a SoftDevice, the code memory is
divided in two regions, with the SoftDevice in Region 0. The tool shows you how much
memory is used by the SoftDevice and how much is left for the application.
• Memory readback protection -
Shows how the readback protection is set. The two
possible options are readback protection on Region 0 or readback protection of the
whole code memory. If there is only one region the option is readback protection on
(All) or off.
• SoftDevice identification -
nRFgo Studio tries to identify the firmware located in the
chip at Region 0. For the firmware that it recognizes it prints the ID (in clear text) for the
unrecognized firmware it prints the FWID number.
6.1.3
Erase all
Use Erase all in the following situations:
• You have a chip that is programmed with a SoftDevice but you want to remove it and have a
blank chip.
• You have programmed an application on a clean chip using nRFgo Studio with the option
“Lock entire chip from readback”.
To use the
Erase all
function, follow the steps in
Section 6.1.1 “Selecting a board to program”
Then click
Erase all
.