This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF Connect Linux Desktop J-Link issues

Good day

I have Ubuntu 20.04.3 LTS installed on my laptop + fresh installation ( ~/.nrfconnect-apps was cleared and app reinstalled ) of nRF Connect 3.9.1

I use Bluetooth Low Energy application 3.0.0 and Programmer application 2.0.1, my tools are JLink debugger and nRF USB dongle, my target is nrf52840

1. Programmer issue

JLink is connected to target, target is powered and running. nrfjprog utility successfully flashes/erases target from command line

When I open Programmer app I am not able to select JLink ( no devices at all ) and I get log output as:

13:05:11.337 Failed to get the library versions: JLINKARM_DLL_COULD_NOT_BE_OPENED (Origin: "Failed to get module versions.")
13:05:11.427 Application data folder: /home/vvs/.config/nrfconnect/pc-nrfconnect-programmer
13:05:17.510 Error while probing devices, more details in the debug log: JLINKARM_DLL_COULD_NOT_BE_OPENED (Origin: "Error when running nrfdl_enumerate")
2. Bluetooth Low Energy issues
JLink is connected to target, target is powered and running. NRF USB dongle plugged and discovered as ttyACM device
When I open Bluetooth Low Energy app I am not able to select NRF USB dongle to use within application. I get this log output:
13:57:38.286 Failed to get the library versions: JLINKARM_DLL_COULD_NOT_BE_OPENED (Origin: "Failed to get module versions.")
13:57:38.463 Application data folder: /home/vvs/.config/nrfconnect/pc-nrfconnect-ble
13:57:44.536 Error while probing devices, more details in the debug log: JLINKARM_DLL_COULD_NOT_BE_OPENED (Origin: "Error when running nrfdl_enumerate")
As soon as JLink disconnected and Bluetooth Low Energy app relaunched it NRF USB dongle becomes available in select device section
Please advise hot to overcome this - or did I miss something ?
Thank you
 
Parents Reply Children
  • Thank you for quick reply

    The manual via your link worked good for Bluetooth Low Energy application - it works as expected

    The only concern is that - Delete bond information is not active for selected adapter ( adapter was re-flashed on application startup, 1 device was bonded )

    Regarding Programmer application - the issue still exist but with other log message

    12:43:14.681 Application data folder: /home/vvs/.config/nrfconnect/pc-nrfconnect-programmer
    12:43:14.722 Using nrfjprog library 10.12.1, pc-nrfjprog-js 1.7.6
    12:43:23.940 Using nrfjprog to communicate with target
    12:43:23.944 Could not fetch memory size of target devkit: Error: Error occured when get library info. Errorcode: CouldNotOpenDevice (0x4) Lowlevel error: Unknown value (ffffff5e)

    2 last lines come after programmer device selected

Related