Installing the nRF5x Command Line Tools
The nRF5x Command Line Tools are used for developing, programming, and debugging of Nordic Semiconductor's nRF5x SoCs (System on Chip).
When installing the nRF5x Command Line Tools on Windows, SEGGER software is automatically installed in addition to the tools.
Complete the following steps to install the nRF5x Command Line Tools:
Download the software for your operating system:
- Windows: nRF5x-Command-Line-Tools for Win32
- Install the software by running the installer and following the given instructions.
Enter the following command in a command line to make sure that nrfjprog is installed
correctly: nrfjprog --version
If you get an error message that the command cannot be found, nrfjprog must be manually added to the PATH.
Open a new command prompt and repeat the command. It should now succeed.
- Go to the Windows Advanced system settings and click Environment Variables.
- Select the Path variable and click Edit.
Add the following text at the end of the variable value:
;C:\Program Files (x86)\Nordic Semiconductor\nrf5x\binMake sure that you add a semicolon (;) between entries in the PATH values: path1;path2
- Click OK twice.