bleutooth low energy app not working properly

When I select a programmer device (a nrf52840 dongle) It programs the device as a sniffer, when connecting to that device the screen turns blank. cntrl shift i says "devtools was disconnected from page."

  • 2023-09-11T22:19:28.927Z DEBUG Application data folder: /home/bergm006/.config/nrfconnect-bluetooth-low-energy/bundle
    2023-09-11T22:19:28.965Z INFO Using nrf-device-lib-js version: 0.4.4
    2023-09-11T22:19:28.966Z INFO Using nrf-device-lib version: 0.10.3
    2023-09-11T22:19:28.966Z INFO Using nrfjprog DLL version: 10.15.1
    2023-09-11T22:19:28.966Z INFO Using JLink version: JLink_V7.92d

    ubuntu 22.04

    5.19.0-50-generic

    toolchain/sdk 2.4.2

    app version 4.0.4 standalone.

  • 2023-09-11T22:19:28.927Z DEBUG Application data folder: /home/bergm006/.config/nrfconnect-bluetooth-low-energy/bundle
    2023-09-11T22:19:28.965Z INFO Using nrf-device-lib-js version: 0.4.4
    2023-09-11T22:19:28.966Z INFO Using nrf-device-lib version: 0.10.3
    2023-09-11T22:19:28.966Z INFO Using nrfjprog DLL version: 10.15.1
    2023-09-11T22:19:28.966Z INFO Using JLink version: JLink_V7.92d
    2023-09-11T22:19:28.968Z VERBOSE [nrfdl][trace](00:19:28.938) DeviceLister::enumerate: Checking future_status of enumerate_task_status
    2023-09-11T22:19:28.968Z VERBOSE [nrfdl][trace](00:19:28.938) DeviceLister::enumerate: Waiting for enumerate task to complete
    2023-09-11T22:19:28.969Z VERBOSE [nrfdl][trace](00:19:28.938) DeviceLister::enumerate::enumerate_task: Start
    2023-09-11T22:19:28.969Z VERBOSE [nrfdl][trace](00:19:28.938) DeviceLister::enumerate::enumerate_task: Device_pool is empty
    2023-09-11T22:19:28.970Z VERBOSE [nrfdl][trace](00:19:28.938) DeviceLister::enumerate::enumerate_task: Before async_lister->enumarate
    2023-09-11T22:19:28.970Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Starting iteration 0
    2023-09-11T22:19:28.970Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #0
    2023-09-11T22:19:28.971Z DEBUG [nrfdl][debug](00:19:28.938) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=3, idVendor=7531
    2023-09-11T22:19:28.971Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2023-09-11T22:19:28.972Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Starting iteration 1
    2023-09-11T22:19:28.972Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #1
    2023-09-11T22:19:28.973Z DEBUG [nrfdl][debug](00:19:28.938) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=240, idVendor=1739
    2023-09-11T22:19:28.973Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2023-09-11T22:19:28.974Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Starting iteration 2
    2023-09-11T22:19:28.975Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #2
    2023-09-11T22:19:28.975Z DEBUG [nrfdl][debug](00:19:28.938) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=8467, idVendor=16700
    2023-09-11T22:19:28.976Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2023-09-11T22:19:28.976Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Starting iteration 3
    2023-09-11T22:19:28.976Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #3
    2023-09-11T22:19:28.977Z DEBUG [nrfdl][debug](00:19:28.938) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=12314, idVendor=16700
    2023-09-11T22:19:28.978Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2023-09-11T22:19:28.978Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Starting iteration 4
    2023-09-11T22:19:28.979Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #4
    2023-09-11T22:19:28.979Z DEBUG [nrfdl][debug](00:19:28.938) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=2049, idVendor=6720
    2023-09-11T22:19:28.979Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2023-09-11T22:19:28.980Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Starting iteration 5
    2023-09-11T22:19:28.980Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #5
    2023-09-11T22:19:28.981Z DEBUG [nrfdl][debug](00:19:28.938) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=10263, idVendor=8457
    2023-09-11T22:19:28.982Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2023-09-11T22:19:28.982Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Starting iteration 6
    2023-09-11T22:19:28.983Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #6
    2023-09-11T22:19:28.983Z DEBUG [nrfdl][debug](00:19:28.938) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=258, idVendor=8457
    2023-09-11T22:19:28.983Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2023-09-11T22:19:28.984Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Starting iteration 7
    2023-09-11T22:19:28.984Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #7
    2023-09-11T22:19:28.984Z DEBUG [nrfdl][debug](00:19:28.938) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=2049, idVendor=6720
    2023-09-11T22:19:28.985Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2023-09-11T22:19:28.985Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Starting iteration 8
    2023-09-11T22:19:28.985Z VERBOSE [nrfdl][trace](00:19:28.938) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #8
    2023-09-11T22:19:28.986Z VERBOSE [nrfdl][trace](00:19:28.939) USBPlatformAPI::copyDeviceToUSB: Getting string descriptor for manufacturer
    2023-09-11T22:19:28.986Z VERBOSE [nrfdl][trace](00:19:28.939) USBPlatformAPI::copyDeviceToUSB: Getting string descriptor for product
    2023-09-11T22:19:28.986Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::copyDeviceToUSB: Getting string descriptor for serialnumber
    2023-09-11T22:19:28.987Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Found new device, adding it
    2023-09-11T22:19:28.987Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: New device added, in total 1 devices are added
    2023-09-11T22:19:28.987Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Starting iteration 9
    2023-09-11T22:19:28.988Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #9
    2023-09-11T22:19:28.988Z DEBUG [nrfdl][debug](00:19:28.940) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=46784, idVendor=1266
    2023-09-11T22:19:28.988Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2023-09-11T22:19:28.989Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Starting iteration 10
    2023-09-11T22:19:28.989Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #10
    2023-09-11T22:19:28.989Z DEBUG [nrfdl][debug](00:19:28.940) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=38, idVendor=32903
    2023-09-11T22:19:28.990Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2023-09-11T22:19:28.990Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Starting iteration 11
    2023-09-11T22:19:28.990Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #11
    2023-09-11T22:19:28.991Z DEBUG [nrfdl][debug](00:19:28.940) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=2, idVendor=7531
    2023-09-11T22:19:28.991Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2023-09-11T22:19:28.991Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Starting iteration 12
    2023-09-11T22:19:28.992Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #12
    2023-09-11T22:19:28.992Z DEBUG [nrfdl][debug](00:19:28.940) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=33107, idVendor=3034
    2023-09-11T22:19:28.992Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2023-09-11T22:19:28.992Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Starting iteration 13
    2023-09-11T22:19:28.993Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #13
    2023-09-11T22:19:28.993Z DEBUG [nrfdl][debug](00:19:28.940) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=2071, idVendor=8457
    2023-09-11T22:19:28.994Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2023-09-11T22:19:28.994Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Starting iteration 14
    2023-09-11T22:19:28.995Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #14
    2023-09-11T22:19:28.995Z DEBUG [nrfdl][debug](00:19:28.940) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=3, idVendor=7531
    2023-09-11T22:19:28.996Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2023-09-11T22:19:28.996Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Starting iteration 15
    2023-09-11T22:19:28.996Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Doing copyDeviceToUsb of device #15
    2023-09-11T22:19:28.997Z DEBUG [nrfdl][debug](00:19:28.940) NRFDLException(6): Unable to open USB device. Error code: -3. idProduct=2, idVendor=7531
    2023-09-11T22:19:28.997Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: new device is not registered, skipping to next entry in list!
    2023-09-11T22:19:28.998Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::enumerate: Found 1 devices
    2023-09-11T22:19:28.998Z VERBOSE [nrfdl][trace](00:19:28.940) USBPlatformAPI::copyDeviceToUSB: Getting string descriptor for manufacturer
    2023-09-11T22:19:28.998Z VERBOSE [nrfdl][trace](00:19:28.941) USBPlatformAPI::copyDeviceToUSB: Getting string descriptor for product
    2023-09-11T22:19:28.998Z VERBOSE [nrfdl][trace](00:19:28.941) USBPlatformAPI::copyDeviceToUSB: Getting string descriptor for serialnumber
    2023-09-11T22:19:28.999Z VERBOSE [nrfdl][trace](00:19:28.942) USBPlatformAPI::copyDeviceToUSB: Getting string descriptor for manufacturer
    2023-09-11T22:19:28.999Z VERBOSE [nrfdl][trace](00:19:28.942) USBPlatformAPI::copyDeviceToUSB: Getting string descriptor for product
    2023-09-11T22:19:28.999Z VERBOSE [nrfdl][trace](00:19:28.942) USBPlatformAPI::copyDeviceToUSB: Getting string descriptor for serialnumber
    2023-09-11T22:19:29.000Z DEBUG [nrfdl][debug](00:19:28.943) USBLister: Adding device with serial number: F947785B665E
    2023-09-11T22:19:29.000Z VERBOSE [nrfdl][trace](00:19:28.943) DeviceLister::enumerate::enumerate_task: After async_lister->enumarate
    2023-09-11T22:19:29.000Z VERBOSE [nrfdl][trace](00:19:28.943) DeviceLister::enumerate: Enumerating with sync lister
    2023-09-11T22:19:29.001Z VERBOSE [nrfdl][trace](00:19:28.943) SerialPortLister::enumerate
    2023-09-11T22:19:29.001Z DEBUG [nrfdl][debug](00:19:28.943) Linux serialport enumerate.
    2023-09-11T22:19:29.001Z VERBOSE [nrfdl][trace](00:19:28.945) DeviceLister::enumerate: Enumerating with sync lister
    2023-09-11T22:19:29.001Z VERBOSE [nrfdl][trace](00:19:28.945) JLinkLister::enumerate
    2023-09-11T22:19:29.002Z DEBUG [nrfdl][debug](00:19:28.945) [->] enumerate
    2023-09-11T22:19:29.002Z VERBOSE [nrfdl][trace](00:19:28.945) [NRFJPROG] [HighLevel] [Debug] dll_open
    2023-09-11T22:19:29.003Z DEBUG [nrfdl][debug](00:19:28.945) nrfjprog_function return value: 0
    2023-09-11T22:19:29.003Z VERBOSE [nrfdl][trace](00:19:28.945) [NRFJPROG] [HighLevel] [Debug] get_connected_probes
    2023-09-11T22:19:29.004Z DEBUG [nrfdl][debug](00:19:28.946) nrfjprog_function return value: 0
    2023-09-11T22:19:29.004Z VERBOSE [nrfdl][trace](00:19:28.946) [NRFJPROG] [HighLevel] [Debug] dll_close
    2023-09-11T22:19:29.005Z VERBOSE [nrfdl][trace](00:19:28.946) [NRFJPROG] [HighLevel] [Info] Closing and freeing sub dlls.
    2023-09-11T22:19:29.023Z DEBUG App pc-nrfconnect-ble v4.0.4 official
    2023-09-11T22:19:29.023Z DEBUG App path: /tmp/.mount_nrfconmgWclm/resources/app.asar/resources/bundle/
    2023-09-11T22:19:29.023Z DEBUG nRFConnect 4.0.4, required by the app is (^3.8.0)
    2023-09-11T22:19:29.023Z DEBUG nRFConnect path: /tmp/.mount_nrfconmgWclm/resources/app.asar
    2023-09-11T22:19:29.023Z DEBUG HomeDir: /home/bergm006
    2023-09-11T22:19:29.023Z DEBUG TmpDir: /tmp
    2023-09-11T22:19:29.026Z INFO Installed JLink version does not match the provided version (V7.66a)
    2023-09-11T22:19:29.027Z WARN [nrfdl][warning](00:19:29.023) JlinkArm version non expected one found: JLink_V7.92d, expected: JLink_V7.58b
    2023-09-11T22:19:29.036Z INFO Updated list of uuids with data from https://github.com/NordicSemiconductor/bluetooth-numbers-database/tree/master/v1
    2023-09-11T22:19:29.060Z DEBUG [nrfdl][debug](00:19:29.045) [<-] enumerate [took 100ms]
    2023-09-11T22:19:29.061Z VERBOSE [nrfdl][trace](00:19:29.045) DeviceLister::enumerate: Enumerating with sync lister
    2023-09-11T22:19:29.061Z VERBOSE [nrfdl][trace](00:19:29.045) BrokenLister::enumerate
    2023-09-11T22:19:29.062Z VERBOSE [nrfdl][trace](00:19:29.045) DeviceLister::enumerate: Found device with serial number: F947785B665E
    2023-09-11T22:19:29.062Z VERBOSE [nrfdl][trace](00:19:29.045) DeviceLister::enumerate: device registered to device list
    2023-09-11T22:19:29.062Z VERBOSE [nrfdl][trace](00:19:29.045) DeviceLister::enumerate: Completed waiting for enumerate task
    2023-09-11T22:19:29.063Z VERBOSE [nrfdl][trace](00:19:29.045) DeviceLister::enumerate: done

  • Hi Boris

    Thanks for the information, there is unfortunately an incompatibility which is caused by updating libstdc++6 to 12.3.0-1ubuntu1~22.04. The only available is replacing the libstdc++6  package with an older date tag. I will update the post with a command how to after I have verified it on my end

    Regards

    Runar

  • I'm sorry Boris, I thought I had posted a replay the other day. 

    So the fix I was recommended was to grab this package

    wget http://archive.ubuntu.com/ubuntu/ubuntu/pool/universe/g/gcc-12/libstdc++6-12-dbg_12-20220319-1ubuntu1_amd64.deb 

    And then either downgrade or you could manually replace the overwrite the files in  /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30

    Regards

    Runar

Related