I'm setting up the nRF52 environment on Linux. I have previously used the pure-gcc setup with the nRF51 and that currently works, but since the nRF52 came with all the GCC support I figured I would go ahead and use what came with the SDK... here is where I'm running into an issue.
First, I had an issue with nrfjprog not being found... added link to PATH (all good there now). Then, it 'claimed' it couldn't find JLinkARM DLL, but I verified it was located in /opt/SEGGAR/JLink and the symbolic links were correct.
I then ran the strace nrfjprog -i
command that was recommended in one of the responses... and turns out its failing to find some of the library .so files. They may be part of gcc? Do I need to be running nrfjprog in a different folder?
Libs that it can't find:
{restOfPath}/nrfjprog/tls/x86_64/libdl.so.2
{restOfPath}/nrfjprog/tls/libdl.so.2
{restOfPath}/nrfjprog/x86_64/libdl.so.2
{restOfPath}/nrfjprog/x86_64/nrfjprog/libdl.so.2
/etc/ld.so.nohwcap
{restOfPath}/nrfjprog/libstdc++.so.6
{restOfPath}/nrfjprog/libgcc_s.so.1
{restOfPath}/nrfjprog/libc.so.6
{restOfPath}/nrfjprog/libm.so.6
{restOfPath}/nrfjprog/libpthread.so.0
/etc/ld.so.nohwcap
{restOfPath}/nrfjprog/librt.so.1
I have the nrfjprog from 'nRF5x-Command-Line-Tools-Linux64' version 8.5.0 that I downloaded earlier this week. It is sitting at the top of my project directory with a sym link to nrfjprog in PATH. Does it need to be somewhere else? Were these libs supposed to be in nrfjprog?
Thanks.