nrf connect desktop app blank screen

I have read the related issues, none of them provided a solution for me. There was one answer which suggested to downgraded libstdc++6 as a solution without giving any specific instructions on how to do that, what version etc.

So, the 'Bluetooth low energy app' is suddenly starting with blank screen after trying to flash the firmware at the start. Other apps work fine (e.g. power profiler).

I am on Ubuntu 22.04.2 LTS 64bit using nrfconnect-4.1.2-x86_64.AppImage, nrf-command-line-tools_10.23.0_amd64.deb

I would like to use the app to perform dfu upgrades. I also tried that with nrfutil (nrfutil 7.1.0 (c86ddc2 2022-11-29)):

nrfutil device program --firmware dfu_mtk_v0.11.3_7b555.zip --serial-number 1050312843

gorazd@gorazd-Victus-by-HP-Laptop-16-e0xxx:~/Programs/nrf-rust/firmware$ nrfutil device program --firmware dfu_mtk_v0.11.3_7b555.zip --serial-number 1050312843
[00:00:02] ------   0% [2/3 1050312843] Failed, [jlink] INTERNAL_ERROR
Error: One or more program tasks failed

Enter your choice: : 0
  [------------------------------------]    0%
Traceback (most recent call last):
  File "nordicsemi/__main__.py", line 1555, in <module>
  File "click/core.py", line 1137, in __call__
  File "click/core.py", line 1062, in main
  File "click/core.py", line 1668, in invoke
  File "click/core.py", line 1668, in invoke
  File "click/core.py", line 1404, in invoke
  File "click/core.py", line 763, in invoke
  File "nordicsemi/__main__.py", line 1215, in ble
  File "nordicsemi/dfu/dfu.py", line 115, in dfu_send_images
  File "nordicsemi/dfu/dfu.py", line 88, in _dfu_send_image
  File "nordicsemi/dfu/dfu_transport_ble.py", line 474, in open
  File "nordicsemi/dfu/dfu_transport_ble.py", line 103, in open
  File "pc_ble_driver_py/ble_driver.py", line 106, in wrapper
pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: NRF_ERROR_TIMEOUT
[75261] Failed to execute script '__main__' due to unhandled exception!


Parents Reply
  • what worked for me without downgrading libstdc++ was to run it from terminal with preloading system libstdc++ version via  LD_PRELOAD like this

    LD_PRELOAD=/lib/x86_64-linux-gnu/libstdc++.so.6 ~/opt/nrfconnect-bluetooth-low-energy/nrfconnect-bluetooth-low-energy-4.0.4-x86_64.AppImage

    my guess is that the AppImage contains older version of libstdc++ and having both in memory may cause this so by preloading system version there is only one loaded

Children
Related