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!


  • Thanks, do the blank screen happen just after selecting device, or does it happen before?

    Regards

    Runar

  • Thanks

    Could you try to open the app an then disconnect and reconnect the device and then select it and post the logs?

    Regards

    Runar

  • 2023-08-22T07:20:32.124Z DEBUG Application data folder: /home/gorazd/.config/nrfconnect-bluetooth-low-energy/bundle
    2023-08-22T07:20:32.200Z INFO Using nrf-device-lib-js version: 0.4.4
    2023-08-22T07:20:32.200Z INFO Using nrf-device-lib version: 0.10.3
    2023-08-22T07:20:32.200Z INFO Using nrfjprog DLL version: 10.15.1
    2023-08-22T07:20:32.200Z INFO Using JLink version: JLink_V7.86e
    2023-08-22T07:20:32.207Z DEBUG App pc-nrfconnect-ble v4.0.4 official
    2023-08-22T07:20:32.207Z DEBUG App path: /tmp/.mount_nrfcon2XsxeX/resources/app.asar/resources/bundle/
    2023-08-22T07:20:32.207Z DEBUG nRFConnect 4.0.4, required by the app is (^3.8.0)
    2023-08-22T07:20:32.207Z DEBUG nRFConnect path: /tmp/.mount_nrfcon2XsxeX/resources/app.asar
    2023-08-22T07:20:32.207Z DEBUG HomeDir: /home/gorazd
    2023-08-22T07:20:32.207Z DEBUG TmpDir: /tmp
    2023-08-22T07:20:32.229Z INFO Installed JLink version does not match the provided version (V7.66a)
    2023-08-22T07:20:32.232Z INFO Updated list of uuids with data from https://github.com/NordicSemiconductor/bluetooth-numbers-database/tree/master/v1
    
    2023-08-22T07_22_59.745Z-log.txt

    Procedure:


    * Open nrf connect app

    * start Nrf connect for Deskto BLE...

    * Recover and disable protection on nrf52 dev board:

    gorazd@gorazd-Victus-by-HP-Laptop-16-e0xxx:~$ nrfjprog --recover
    Recovering device. This operation might take 30s.
    Erasing user code and UICR flash areas.
    Writing image to disable ap protect.
    gorazd@gorazd-Victus-by-HP-Laptop-16-e0xxx:~$ nrfjprog --memwr 0x10001200 --val 0xfffffffe
    Parsing parameters.
    Writing.
    gorazd@gorazd-Victus-by-HP-Laptop-16-e0xxx:~$


    * ABOUT -> verbose logging -> restart with verbose logging


    * unplug and plug back in nrf52 dev board into usb port


    * Select Device -> NRF52DK -> Device must be prorammed, do you want t proceed? Yes

    * BLANK SCREEN

  • Sorry I forgot to post my replay earlier. Thanks for the logs, I'm awaiting feedback from the developers and will update as soon as they get back to me

    Regards

    Runar

Related