Over the last few weeks the Nordic team has been working on getting support for programming our devices in Linux as well as adding support for using our Python programming module ‘Pynrfjprog’ with Python 3.
We are pleased to report that this support has been added and published! We now support both Linux and Python 3!
The tools offering now consists of the following components which can be downloaded from our webpages:
- nRF5x-Tools-Win32 - nRF5x toolset installer for Windows (JLinkARM, JLink CDC, nRFjprog, and mergehex)
- nRF5x-Tools-Linux - nRF5x toolset tar for Linux (nRFjprog)
- nRF5x-Pynrfjprog - Python binding for nrfjprog.dll. Only usable in 32 bit Python 2.7, 3.4, and 3.5, in Windows and Linux.
Our Python development tool is in addition to being available for download on our webpages, uploaded to the Python Package Index server - PyPI. It can thus be downloaded and installed using the Python package installer ‘pip’ using the command [ $ pip install pynrfjprog ]
Feedback:
If you download the tool and experience any issue, please let us know so that it can be improved. Any questions can be posted here on ‘DevZone - Questions’ to make sure that they are handled properly.
Known issues/limitations:
- The software has only been tested in Ubuntu 14.04.3 - 64-bit
- The SEGGER software for Linux is necessary for the nRF5x-Tools to work
- The SEGGER software can be found and downloaded from their webpages
- The SEGGER software is expected to be found at its default location ‘/opt/SEGGER/JLink/’
- Using their .deb installer will give this setup for Ubuntu
- The Linux tools are currently implemented in the same way as the Windows tools, meaning all necessary files needs to be located in the same folder for them to function properly
- Note: The nrfjprog files cannot be located in the same folder as the SEGGER/JLink files
- The Linux tools currently only works on 64-bit version, a 32-bit will be published later
- The error messages given are not modified to match the Linux version