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

JLINKARM_DLL_COULD_NOT_BE_OPENED

OS: Ununtu 20.3 LTS - Kernel: 5.4.0-109-generic

Software: Power Profiler launched through nRF Connect for Desktop v3.11.0

Hardware: Power Profiler Kit II

Problem: Cannot connect to PPK2

When I open Power Profiler I get an error: Failed to get the library versions: JLINKARM_DLL_COULD_NOT_BE_OPENED (Origin: "Failed to get module versions.")

Linux itself picks up the device as follows:

[ 3461.245809] usb 1-4: new full-speed USB device number 5 using xhci_hcd
[ 3461.581567] usb 1-4: New USB device found, idVendor=1915, idProduct=c00a, bcdDevice= 1.00
[ 3461.581571] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3461.581574] usb 1-4: Product: PPK2
[ 3461.581576] usb 1-4: Manufacturer: Nordic Semiconductor
[ 3461.581578] usb 1-4: SerialNumber: DB2BFA1BC4C2
[ 3461.617423] cdc_acm 1-4:1.1: ttyACM0: USB ACM device
[ 3461.619424] usbcore: registered new interface driver cdc_acm
[ 3461.619425] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

systemd gives the following coredump:

PID: 35689 (nrfconnect)
UID: 0 (root)
GID: 0 (root)
Signal: 5 (TRAP)
Timestamp: Tue 2022-04-19 19:01:00 SAST (24h ago)
Command Line: /tmp/.mount_nrfconbY3LnQ/nrfconnect
Executable: /tmp/.mount_nrfconbY3LnQ/nrfconnect
Control Group: /user.slice/user-1000.slice/[email protected]/apps.slice/apps-org.gnome.Terminal.slice/vte-spawn-a0ba016c-0170-4e85-ab33-ccd9e42da6eb.scope
Unit: [email protected]
User Unit: vte-spawn-a0ba016c-0170-4e85-ab33-ccd9e42da6eb.scope
Slice: user-1000.slice
Owner UID: 1000 (ernst)
Boot ID: 98fd9a43018e441e963214193a048de0
Machine ID: 09143d0261be487380a9ec9bf41d5922
Hostname: ernst
Storage: /var/lib/systemd/coredump/core.nrfconnect.0.98fd9a43018e441e963214193a048de0.35689.1650387660000000000000.lz4
Message: Process 35689 (nrfconnect) of user 0 dumped core.

Stack trace of thread 35689:
#0 0x000055645b12ace3 n/a (/tmp/.mount_nrfconbY3LnQ/nrfconnect + 0x4685ce3)
#1 0x0000556458895f98 n/a (/tmp/.mount_nrfconbY3LnQ/nrfconnect + 0x1df0f98)
#2 0x000055645963294c n/a (/tmp/.mount_nrfconbY3LnQ/nrfconnect + 0x2b8d94c)
#3 0x00005564596312e3 n/a (/tmp/.mount_nrfconbY3LnQ/nrfconnect + 0x2b8c2e3)
#4 0x0000556459631432 n/a (/tmp/.mount_nrfconbY3LnQ/nrfconnect + 0x2b8c432)
#5 0x0000556458892f0e n/a (/tmp/.mount_nrfconbY3LnQ/nrfconnect + 0x1dedf0e)
#6 0x00007f92505530b3 __libc_start_main (libc.so.6 + 0x240b3)
#7 0x000055645858a96a n/a (/tmp/.mount_nrfconbY3LnQ/nrfconnect + 0x1ae596a)

Parents Reply Children
  • Do the following to install:

    Test if the device is found under Linux:

    Execute:

    sudo dmesg |tail -n 10

    It should give an output similar to this:

    [ 1831.263435] usb 1-4: USB disconnect, device number 2
    [ 1847.709868] usb 1-4: new full-speed USB device number 4 using xhci_hcd
    [ 1848.038989] usb 1-4: New USB device found, idVendor=1915, idProduct=c00a, bcdDevice= 1.00
    [ 1848.038994] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 1848.038996] usb 1-4: Product: PPK2
    [ 1848.038997] usb 1-4: Manufacturer: Nordic Semiconductor
    [ 1848.038999] usb 1-4: SerialNumber: DB2BFA1BC4C2
    [ 1848.067804] cdc_acm 1-4:1.1: ttyACM0: USB ACM device
    [ 1848.067823] usbcore: registered new interface driver cdc_acm
    [ 1848.067824] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters


    Download:
    1) The AppImage for nrf Connect for Desktop for Linux

    https://www.nordicsemi.com/Products/Development-tools/nRF-Connect-for-desktop/Download#infotabs


    2) JLink v7.88j 64-bit (Note you must use this version as of 2023/12/27)

    https://www.segger.com/downloads/jlink/


    3) nrf-udev
    https://github.com/NordicSemiconductor/nrf-udev/releases

    Install:
    1) sudo dpkg -i JLink_Linux_V788j_x86_64.deb
    2) sudo dpkg -i nrf-udev_1.0.1-all.deb
    2) Execute the nrf Connect AppImage (nrfconnect-4.3.0-x86_64.appimage - for December 2023)
    3) Install Power Profiler

Related