- Get nRF Connect for Desktop
- Start it.
- Install Toolchain Manager.
- Launch Toolchain Manager (Click the Open button)
- Install nRF Connect SDK 2.6.1 (only valid version for low power)
- From the dropdown list select Generate Environment Script, save it to ~/ncs for example
~/ncs is where everything stands
Tools for flashing are required, see below nrf Command line Tools.
Not recommanded but used SDK may not be available from nRF Connect for Desktop later on.
Make sure you source the env.sh script that sets up SDK environment variables
then type:
# make
# make clean
# make prod
Source pages about installations: SDK Installation
Download here
# dpkg -i nrf-command-line-tools_10.24.0_amd64.deb
Last output lines propose to install JLink that comes with the package. This is the preferred way.
Install above should propose to install JLink which is recommended.
However, it may also be installed manually:
We need to install SEGGER JLink took first. Visit SEGGER's download page And install Linux version.
# dpkg -i JLink_Linux_V794i_x86_64.deb
The board J3 connector pins have Vtref, SWDIO, SWDCLK and GND. The three should be properly wired to any SWD compatible programming device (JLink, OB-Jlink, etc).
Cell coin battery MUST NOT be inserted during flashing operation.
The PCA10056 comes with SEGGER J-Link OB with a debug out option. Here is how to wire the DK to board for flashing:
With JLink Probe attached to PC and board type:
# make flash
Warning: AP protection is applied here. No possible debug or memory readback possible after this.
With JLink Probe attached to PC and board type:
# make flash_prod