This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

west flash with nrf5340 not working

Hi

I have a new NRF5340-PDK board.

I am using Zephyr OS to build my application like that:

west build -b=nrf5340dk_nrf5340_cpuapp



However, flashing with:

west flash 


doesn't work. I am using the latest version of nrfjprog v10.12.1. on Ubuntu 20.04.

Log file:

2021-Jan-29 00:46:17  --------------------------------------------------------------------------------
2021-Jan-29 00:46:17  nrfjprog --program /home/stefan/workspaces/oscore-edhoc/test/build/zephyr/zephyr.hex -f NRF53 --snr 960163169 --coprocessor CP_APPLICATION --sectorerase --log
2021-Jan-29 00:46:17  nrfjprog version 10.9.0
2021-Jan-29 00:46:17  --------------------------------------------------------------------------------
2021-Jan-29 00:46:17  nRF_logger_open
2021-Jan-29 00:46:17  nRF_logger_open:    nRFJProg logger opened to callback at address 0X5569F4B85C60
2021-Jan-29 00:46:17  nRF_open_dll
2021-Jan-29 00:46:17  nRF_open_dll:    Load library at "/opt/nrfjprog/libjlinkarm_nrf53_nrfjprogdll.so".

2021-Jan-29 00:46:17  . nRF53_logger_open
2021-Jan-29 00:46:17  . nRF53_logger_open:    nRFJProg logger opened to callback at address 0X7FF176139190
2021-Jan-29 00:46:17  . nRF53_open
2021-Jan-29 00:46:17  . . Segger_logger_open
2021-Jan-29 00:46:17  . . Segger_logger_open:    nRFJProg logger opened to callback at address 0X7FF175D89E20
2021-Jan-29 00:46:17  . . Segger_open_dll
2021-Jan-29 00:46:17  . . Segger_open_dll:    No J-Link DLL path was provided. Attempting to auto detect.

2021-Jan-29 00:46:17  . . Segger_open_dll:    Load library at "/opt/SEGGER/JLink/libjlinkarm.so.6".

2021-Jan-29 00:46:17  . . . Segger_dll_version
2021-Jan-29 00:46:17  nRF_enum_emu_snr
2021-Jan-29 00:46:17  . nRF53_enum_emu_snr
2021-Jan-29 00:46:17  . . Segger_is_connected_to_emu
2021-Jan-29 00:46:17  . . Segger_enum_emu_snr
2021-Jan-29 00:46:17  . . . Segger_enum_emu_snr
2021-Jan-29 00:46:17  . . . . Segger_get_num_emus
2021-Jan-29 00:46:17  . . Segger_is_connected_to_emu
2021-Jan-29 00:46:17  nRF_connect_to_emu_with_snr
2021-Jan-29 00:46:17  . nRF53_connect_to_emu_with_snr
2021-Jan-29 00:46:17  . . Segger_is_connected_to_emu
2021-Jan-29 00:46:17  . . Segger_connect_to_emu_with_snr
2021-Jan-29 00:46:17  . . . Segger_is_connected_to_emu
2021-Jan-29 00:46:17  . . . Segger_enum_emu_snr
2021-Jan-29 00:46:17  . . . . Segger_get_num_emus
2021-Jan-29 00:46:18  . . . Segger_connect_to_emu_with_snr
2021-Jan-29 00:46:18  . . . . Segger_connect_to_emu_without_snr
2021-Jan-29 00:46:18  . . . . Segger_connect_to_emu_without_snr:    Segger logging enabled with callback at 0x140675041198976.

2021-Jan-29 00:46:18  . . . . Segger_connect_to_emu_without_snr:    JLink INFO    T7642B740 000:850.737   
2021-Jan-29 00:46:18  . . . . Segger_connect_to_emu_without_snr:    JLink INFO       ***** Error:
2021-Jan-29 00:46:18  . . . . Segger_connect_to_emu_without_snr:    JLink INFO    T7642B740 000:850.851   
2021-Jan-29 00:46:18  . . . . Segger_connect_to_emu_without_snr:    JLink INFO    Cannot connect to J-Link.
2021-Jan-29 00:46:18  . . . . Segger_connect_to_emu_without_snr:    JLink INFO    T7642B740 000:850.923
2021-Jan-29 00:46:18  . . . . Segger_connect_to_emu_without_snr:    JLink INFO    - 13.097ms returns "Cannot connect to J-Link."  
2021-Jan-29 00:46:18  . . . . Segger_connect_to_emu_without_snr:    JLink INFO    T7642B740 000:851.028
2021-Jan-29 00:46:18  . . . . Segger_connect_to_emu_without_snr:    JLink INFO    JLINK_HasError()  
2021-Jan-29 00:46:18  . . . . Segger_connect_to_emu_without_snr:    JLinkARM.dll Open returned error 'Cannot connect to J-Link.'.

2021-Jan-29 00:46:18  . . Segger_is_connected_to_emu
2021-Jan-29 00:46:18  . . Segger_is_connected_to_emu:    JLink INFO    T7642B740 000:851.597
2021-Jan-29 00:46:18  . . Segger_is_connected_to_emu:    JLink INFO    JLINK_IsOpen()  
2021-Jan-29 00:46:18  . . Segger_is_connected_to_emu:    JLink INFO    T7642B740 000:851.648
2021-Jan-29 00:46:18  . . Segger_is_connected_to_emu:    JLink INFO    - 0.071ms returns 0x00  
2021-Jan-29 00:46:18  . . Segger_is_connected_to_emu:    JLink INFO    T7642B740 000:851.688
2021-Jan-29 00:46:18  . . Segger_is_connected_to_emu:    JLink INFO    JLINK_HasError()  
2021-Jan-29 00:46:18  nRF_close_dll
2021-Jan-29 00:46:18  . nRF53_close
2021-Jan-29 00:46:18  . . Segger_is_connected_to_emu
2021-Jan-29 00:46:18  . . Segger_is_connected_to_emu:    JLink INFO    T7642B740 000:851.798
2021-Jan-29 00:46:18  . . Segger_is_connected_to_emu:    JLink INFO    JLINK_IsOpen()  
2021-Jan-29 00:46:18  . . Segger_is_connected_to_emu:    JLink INFO    T7642B740 000:851.848
2021-Jan-29 00:46:18  . . Segger_is_connected_to_emu:    JLink INFO    - 0.083ms returns 0x00  
2021-Jan-29 00:46:18  . . Segger_is_connected_to_emu:    JLink INFO    T7642B740 000:851.907
2021-Jan-29 00:46:18  . . Segger_is_connected_to_emu:    JLink INFO    JLINK_HasError()  
2021-Jan-29 00:46:18  . . Segger_close
2021-Jan-29 00:46:18  . . . Segger_disconnect_from_emu
2021-Jan-29 00:46:18  . . . . Segger_is_connected_to_emu
2021-Jan-29 00:46:18  . . . . Segger_is_connected_to_emu:    JLink INFO    T7642B740 000:851.975
2021-Jan-29 00:46:18  . . . . Segger_is_connected_to_emu:    JLink INFO    JLINK_IsOpen()  
2021-Jan-29 00:46:18  . . . . Segger_is_connected_to_emu:    JLink INFO    T7642B740 000:852.016
2021-Jan-29 00:46:18  . . . . Segger_is_connected_to_emu:    JLink INFO    - 0.060ms returns 0x00  
2021-Jan-29 00:46:18  . . . . Segger_is_connected_to_emu:    JLink INFO    T7642B740 000:852.055
2021-Jan-29 00:46:18  . . . . Segger_is_connected_to_emu:    JLink INFO    JLINK_HasError()  
2021-Jan-29 00:46:18  . . Segger_close:    Freeing Library.

2021-Jan-29 00:46:18  nRF_close_dll:    Freeing Library.

Parents
  • Hello, Stefan!

    Thanks for reaching out. To help you with the issue could you answer the following questions:
    - What version of the nRF Connect SDK are you using? 
    - What version of West are you using?
    - What version is your nRF5340 PDK?

    Best regards,
    Carl Richard

  • Hi Carl,

    - What version of the nRF Connect SDK are you using? 

        -I am not using the SDK but the standard Zephyr OS version 2.3.99

    - What version of West are you using?

       - West version: v0.7.2

    - What version is your nRF5340 PDK?

       - PCA10095 0.8.0 2020.24 960163169

    I also tried to connect to the board using NRF Connect v3.6.1 Programmer tool (version of the programmer tool 1.4.8), which also does not work. I am getting the error message: Unsupported device. The detected device could not be recognized as neither JLink device nor Nordic USB device.

  • Hello again!

    I understand. Your logs report the following: 

    2021-Jan-29 00:46:17  nrfjprog version 10.9.0

    It seems like an old version of nrfjprog is used. Can you ensure that version 10.12.1 is actually installed and used? 

    In addition, downloading the latest J-Link Software and Documentation pack has fixed similar issues for Linux users earlier. I would also recommend that you update west to the newest version.

    Best regards,
    Carl Richard

  • Thank you for the hint. Now I updated and made sure that both are the newest version, however no improvement. my current nrfjprog and JLinkARM.dll are:

    nrfjprog version: 10.12.1
    JLinkARM.dll version: 6.94b

    and the log file:

    [2021-Feb-04 09:33:12] [ info] --------------------------------------------------------------------------------
    [2021-Feb-04 09:33:12] [ info] nrfjprog --program /home/stefan/workspaces/oscore-edhoc/test/build/zephyr/zephyr.hex -f NRF53 --snr 960163169 --coprocessor CP_APPLICATION --sectorerase --log
    [2021-Feb-04 09:33:12] [ info] nrfjprog version 10.12.1
    [2021-Feb-04 09:33:12] [ info] --------------------------------------------------------------------------------
    [2021-Feb-04 09:33:12] [debug] [ nRF0x0] - open_dll
    [2021-Feb-04 09:33:12] [ info] [ nRF0x0] - Load library at /opt/nrfjprog/libjlinkarm_nrf53_nrfjprogdll.so.
    [2021-Feb-04 09:33:12] [ info] [ nRF0x0] - Library loaded, loading member functions.
    [2021-Feb-04 09:33:12] [ info] [ nRF0x0] - Member functions succesfully loaded.
    [2021-Feb-04 09:33:12] [ info] [Backend] - Logger callback at 0x55656d8c0130 registered in Segger backend logger.
    [2021-Feb-04 09:33:12] [ info] [  JLink] - [Info    ] [JLink     ] Logger callback at 0x55656d8c0130 registered in JLink logger.
    [2021-Feb-04 09:33:12] [debug] [nRF530x0] - open
    [2021-Feb-04 09:33:12] [debug] [Backend] - open_dll
    [2021-Feb-04 09:33:12] [ info] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2021-Feb-04 09:33:12] [ info] [Backend] - Load library at /opt/SEGGER/JLink/libjlinkarm.so.6.
    [2021-Feb-04 09:33:12] [ info] [Backend] - Library loaded, loading member functions.
    [2021-Feb-04 09:33:12] [ info] [Backend] - Member functions succesfully loaded.
    [2021-Feb-04 09:33:12] [debug] [Backend] - dll_version
    [2021-Feb-04 09:33:12] [ info] [Backend] - Segger dll version 6.94.b loaded.
    [2021-Feb-04 09:33:12] [debug] [ nRF0x0] - enum_emu_snr
    [2021-Feb-04 09:33:12] [debug] [nRF530x0] - enum_emu_snr
    [2021-Feb-04 09:33:12] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 09:33:12] [debug] [Backend] - enum_emu_snr
    [2021-Feb-04 09:33:12] [debug] [Backend] - ---just_enum_emu_snr
    [2021-Feb-04 09:33:12] [debug] [Backend] - ---just_get_num_emus
    [2021-Feb-04 09:33:12] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 09:33:12] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2021-Feb-04 09:33:12] [debug] [nRF530x0] - connect_to_emu_with_snr
    [2021-Feb-04 09:33:12] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 09:33:12] [debug] [Backend] - connect_to_emu_with_snr
    [2021-Feb-04 09:33:12] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 09:33:12] [debug] [Backend] - ---just_enum_emu_snr
    [2021-Feb-04 09:33:12] [debug] [Backend] - ---just_get_num_emus
    [2021-Feb-04 09:33:12] [debug] [Backend] - ---just_connect_to_emu_with_snr
    [2021-Feb-04 09:33:13] [debug] [Backend] - ---just_connect_to_emu_without_snr
    [2021-Feb-04 09:33:13] [ info] [Backend] - Segger logging enabled.
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ]    ***** Error:
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] Cannot connect to J-Link.
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] - 11.718ms returns "Cannot connect to J-Link."  
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2021-Feb-04 09:33:13] [ info] [Backend] - JLinkARM.dll Open returned error 'Cannot connect to J-Link.'
    [2021-Feb-04 09:33:13] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_IsOpen()  
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] - 0.005ms returns 0x00  
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2021-Feb-04 09:33:13] [debug] [ nRF0x0] - close_dll
    [2021-Feb-04 09:33:13] [debug] [nRF530x0] - close
    [2021-Feb-04 09:33:13] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_IsOpen()  
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] - 0.004ms returns 0x00  
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2021-Feb-04 09:33:13] [debug] [Backend] - close
    [2021-Feb-04 09:33:13] [debug] [Backend] - disconnect_from_emu
    [2021-Feb-04 09:33:13] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_IsOpen()  
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] - 0.004ms returns 0x00  
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2021-Feb-04 09:33:13] [debug] [Backend] - Segger Backend closed.
    [2021-Feb-04 09:33:13] [debug] [nRF530x0] - nRF family DLL closed

Reply
  • Thank you for the hint. Now I updated and made sure that both are the newest version, however no improvement. my current nrfjprog and JLinkARM.dll are:

    nrfjprog version: 10.12.1
    JLinkARM.dll version: 6.94b

    and the log file:

    [2021-Feb-04 09:33:12] [ info] --------------------------------------------------------------------------------
    [2021-Feb-04 09:33:12] [ info] nrfjprog --program /home/stefan/workspaces/oscore-edhoc/test/build/zephyr/zephyr.hex -f NRF53 --snr 960163169 --coprocessor CP_APPLICATION --sectorerase --log
    [2021-Feb-04 09:33:12] [ info] nrfjprog version 10.12.1
    [2021-Feb-04 09:33:12] [ info] --------------------------------------------------------------------------------
    [2021-Feb-04 09:33:12] [debug] [ nRF0x0] - open_dll
    [2021-Feb-04 09:33:12] [ info] [ nRF0x0] - Load library at /opt/nrfjprog/libjlinkarm_nrf53_nrfjprogdll.so.
    [2021-Feb-04 09:33:12] [ info] [ nRF0x0] - Library loaded, loading member functions.
    [2021-Feb-04 09:33:12] [ info] [ nRF0x0] - Member functions succesfully loaded.
    [2021-Feb-04 09:33:12] [ info] [Backend] - Logger callback at 0x55656d8c0130 registered in Segger backend logger.
    [2021-Feb-04 09:33:12] [ info] [  JLink] - [Info    ] [JLink     ] Logger callback at 0x55656d8c0130 registered in JLink logger.
    [2021-Feb-04 09:33:12] [debug] [nRF530x0] - open
    [2021-Feb-04 09:33:12] [debug] [Backend] - open_dll
    [2021-Feb-04 09:33:12] [ info] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2021-Feb-04 09:33:12] [ info] [Backend] - Load library at /opt/SEGGER/JLink/libjlinkarm.so.6.
    [2021-Feb-04 09:33:12] [ info] [Backend] - Library loaded, loading member functions.
    [2021-Feb-04 09:33:12] [ info] [Backend] - Member functions succesfully loaded.
    [2021-Feb-04 09:33:12] [debug] [Backend] - dll_version
    [2021-Feb-04 09:33:12] [ info] [Backend] - Segger dll version 6.94.b loaded.
    [2021-Feb-04 09:33:12] [debug] [ nRF0x0] - enum_emu_snr
    [2021-Feb-04 09:33:12] [debug] [nRF530x0] - enum_emu_snr
    [2021-Feb-04 09:33:12] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 09:33:12] [debug] [Backend] - enum_emu_snr
    [2021-Feb-04 09:33:12] [debug] [Backend] - ---just_enum_emu_snr
    [2021-Feb-04 09:33:12] [debug] [Backend] - ---just_get_num_emus
    [2021-Feb-04 09:33:12] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 09:33:12] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2021-Feb-04 09:33:12] [debug] [nRF530x0] - connect_to_emu_with_snr
    [2021-Feb-04 09:33:12] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 09:33:12] [debug] [Backend] - connect_to_emu_with_snr
    [2021-Feb-04 09:33:12] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 09:33:12] [debug] [Backend] - ---just_enum_emu_snr
    [2021-Feb-04 09:33:12] [debug] [Backend] - ---just_get_num_emus
    [2021-Feb-04 09:33:12] [debug] [Backend] - ---just_connect_to_emu_with_snr
    [2021-Feb-04 09:33:13] [debug] [Backend] - ---just_connect_to_emu_without_snr
    [2021-Feb-04 09:33:13] [ info] [Backend] - Segger logging enabled.
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ]    ***** Error:
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] Cannot connect to J-Link.
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] - 11.718ms returns "Cannot connect to J-Link."  
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2021-Feb-04 09:33:13] [ info] [Backend] - JLinkARM.dll Open returned error 'Cannot connect to J-Link.'
    [2021-Feb-04 09:33:13] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_IsOpen()  
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] - 0.005ms returns 0x00  
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2021-Feb-04 09:33:13] [debug] [ nRF0x0] - close_dll
    [2021-Feb-04 09:33:13] [debug] [nRF530x0] - close
    [2021-Feb-04 09:33:13] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_IsOpen()  
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] - 0.004ms returns 0x00  
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2021-Feb-04 09:33:13] [debug] [Backend] - close
    [2021-Feb-04 09:33:13] [debug] [Backend] - disconnect_from_emu
    [2021-Feb-04 09:33:13] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_IsOpen()  
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] - 0.004ms returns 0x00  
    [2021-Feb-04 09:33:13] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2021-Feb-04 09:33:13] [debug] [Backend] - Segger Backend closed.
    [2021-Feb-04 09:33:13] [debug] [nRF530x0] - nRF family DLL closed

Children
  • Great. Too bad it didn't help. 

    Could you try to run "nrfjprog --recover"? And what is the output of the nRF Connect Programmer app now?

    Best regards,
    Carl Richard

  • Unfortunately no improvement. "nrfjprog --recover" produces an error with the error log:

    [2021-Feb-04 10:20:57] [ info] --------------------------------------------------------------------------------
    [2021-Feb-04 10:20:57] [ info] nrfjprog --recover --log
    [2021-Feb-04 10:20:57] [ info] nrfjprog version 10.12.1
    [2021-Feb-04 10:20:57] [ info] --------------------------------------------------------------------------------
    [2021-Feb-04 10:20:57] [debug] [ nRF0x0] - open_dll
    [2021-Feb-04 10:20:57] [ info] [ nRF0x0] - Load library at /opt/nrfjprog/libjlinkarm_unknown_nrfjprogdll.so.
    [2021-Feb-04 10:20:57] [ info] [ nRF0x0] - Library loaded, loading member functions.
    [2021-Feb-04 10:20:57] [ info] [ nRF0x0] - Member functions succesfully loaded.
    [2021-Feb-04 10:20:57] [ info] [Backend] - Logger callback at 0x55a42fbe5130 registered in Segger backend logger.
    [2021-Feb-04 10:20:57] [ info] [  JLink] - [Info    ] [JLink     ] Logger callback at 0x55a42fbe5130 registered in JLink logger.
    [2021-Feb-04 10:20:57] [debug] [nRFUnknown] - Just_open_dll_tagged_callback
    [2021-Feb-04 10:20:57] [debug] [Backend] - open_dll
    [2021-Feb-04 10:20:57] [ info] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2021-Feb-04 10:20:57] [ info] [Backend] - Load library at /opt/SEGGER/JLink/libjlinkarm.so.6.
    [2021-Feb-04 10:20:57] [ info] [Backend] - Library loaded, loading member functions.
    [2021-Feb-04 10:20:57] [ info] [Backend] - Member functions succesfully loaded.
    [2021-Feb-04 10:20:57] [debug] [Backend] - dll_version
    [2021-Feb-04 10:20:57] [ info] [Backend] - Segger dll version 6.94.b loaded.
    [2021-Feb-04 10:20:57] [debug] [Backend] - set_core_data
    [2021-Feb-04 10:20:57] [debug] [ nRF0x0] - enum_emu_snr
    [2021-Feb-04 10:20:57] [debug] [nRFUnknown] - Just_enum_emu_snr
    [2021-Feb-04 10:20:57] [debug] [Backend] - enum_emu_snr
    [2021-Feb-04 10:20:57] [debug] [Backend] - ---just_enum_emu_snr
    [2021-Feb-04 10:20:57] [debug] [Backend] - ---just_get_num_emus
    [2021-Feb-04 10:20:58] [debug] [ nRF0x0] - connect_to_emu_with_snr
    [2021-Feb-04 10:20:58] [debug] [nRFUnknown] - Just_connect_to_emu_with_snr
    [2021-Feb-04 10:20:58] [debug] [Backend] - connect_to_emu_with_snr
    [2021-Feb-04 10:20:58] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 10:20:58] [debug] [Backend] - ---just_enum_emu_snr
    [2021-Feb-04 10:20:58] [debug] [Backend] - ---just_get_num_emus
    [2021-Feb-04 10:20:59] [debug] [Backend] - ---just_connect_to_emu_with_snr
    [2021-Feb-04 10:21:00] [debug] [Backend] - ---just_connect_to_emu_without_snr
    [2021-Feb-04 10:21:00] [ info] [Backend] - Segger logging enabled.
    [2021-Feb-04 10:21:00] [ info] [  JLink] - [Info    ] [JLink     ]    ***** Error:
    [2021-Feb-04 10:21:00] [ info] [  JLink] - [Info    ] [JLink     ] Cannot connect to J-Link.
    [2021-Feb-04 10:21:00] [ info] [  JLink] - [Info    ] [JLink     ] - 13.360ms returns "Cannot connect to J-Link."  
    [2021-Feb-04 10:21:00] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2021-Feb-04 10:21:00] [ info] [Backend] - JLinkARM.dll Open returned error 'Cannot connect to J-Link.'
    [2021-Feb-04 10:21:00] [debug] [ nRF0x0] - close_dll
    [2021-Feb-04 10:21:00] [debug] [nRFUnknown] - Just_close_dll
    [2021-Feb-04 10:21:00] [debug] [Backend] - close
    [2021-Feb-04 10:21:00] [debug] [Backend] - disconnect_from_emu
    [2021-Feb-04 10:21:00] [debug] [Backend] - is_connected_to_emu
    [2021-Feb-04 10:21:00] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_IsOpen()  
    [2021-Feb-04 10:21:00] [ info] [  JLink] - [Info    ] [JLink     ] - 0.050ms returns 0x00  
    [2021-Feb-04 10:21:00] [ info] [  JLink] - [Info    ] [JLink     ] JLINK_HasError()  
    [2021-Feb-04 10:21:00] [debug] [Backend] - Segger Backend closed.

    and the Programmer App returns the same error:

    Unsupported device. The detected device could not be recognized as neither JLink device nor Nordic USB device.

  • Understood. I will do some digging! Just for clarification: you have not done any modifications to the HW, with regards to switches, solder bridges or similar?

    Best regards,
    Carl Richard

  • Ok! Could you try to reboot your computer? It was successful for the Linux user in this thread.

    I'll have access to a Ubuntu desktop tomorrow and can do some more testing then.

    Best regards,
    Carl Richard

Related