Segger J-Link Plus not listed in VS Code connected devices

Hello Experts,

On my Windows 10 PC, I have installed nRF for Desktop v5.0.2 and J-Link Pack version 7.94e got installed along with it.

Also installed Nordic command line tools using " nrf-command-line-tools-10.24.2-x64 ".

In VS code have installed and enabled all nRF extensions however the J-Link Plus connected never appears in Connected Devices for a nRF5340 custom board.

Also the Welcome and Applications Screen never appears as shown in the screen snap below.

Tried different versions of J-Link package however no progress. 

I am using ncs v2.6.0 and VS code v1.92.1

Also uninstalled and installed VS Code, Tool Chain, a couple of times however no effect 

 PS: previously with the same hardware I had no such issues. Something has changed.

Kindly guide me towards the solution

Thanks,

AbhiAsh

Parents
  • Hi Abhishek,

    Do you open VSCode directly, or via the Toolchain Manager? While opening via the Toolchain manager too, do you face this issue? 
    Also, as mentioned by @jorg fischer, your debug adapter might also need a firmware update.

    Regards,

    Priyanka

  • 1. On my PC I installed the J-Link Package v7.98 release
    Then using J-Link configurator I updated the J-Link Plus to latest firmware available
    Product = J-Link PLUS V12.00
    HostFW = 2024 Jul 3 16:56
    EmuFW = 2024 Jul 3 16:56

    2. When I launch the VScode directly then still it does not show J-link in connected devices
       Then I also launched it using nRF for Desktop > Tool Chain Manager v1.5.1 .... same behaviour

    3. Then I used the J-Link Commander i.e. Jlink. With this it connects to the target

    Specify target interface speed [kHz]. <Default>: 4000 kHz
    Speed>
    Device "NRF5340_XXAA_APP" selected.

    LOG>
    Connecting to target via SWD
    ConfigTargetSettings() start
    ConfigTargetSettings() end - Took 30us
    InitTarget() start
    InitTarget() end - Took 2.36ms
    Found SW-DP with ID 0x6BA02477
    DPIDR: 0x6BA02477
    CoreSight SoC-400 or earlier
    AP map detection skipped. Manually configured AP map found.
    AP[0]: AHB-AP (IDR: Not set)
    AP[1]: AHB-AP (IDR: Not set)
    AP[2]: MEM-AP (IDR: Not set)
    AP[3]: MEM-AP (IDR: Not set)
    AP[0]: Core found
    AP[0]: AHB-AP ROM base: 0xE00FE000
    CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)
    Feature set: Mainline
    Cache: No cache
    Found Cortex-M33 r0p4, Little endian.
    FPUnit: 8 code (BP) slots and 0 literal slots
    Security extension: implemented
    Secure debug: enabled
    CoreSight components:
    ROMTbl[0] @ E00FE000
    [0][0]: E00FF000 CID B105100D PID 000BB4C9 ROM Table
    ROMTbl[1] @ E00FF000
    [1][0]: E000E000 CID B105900D PID 000BBD21 DEVARCH 47702A04 DEVTYPE 00 Cortex-M33
    [1][1]: E0001000 CID B105900D PID 000BBD21 DEVARCH 47701A02 DEVTYPE 00 DWT
    [1][2]: E0002000 CID B105900D PID 000BBD21 DEVARCH 47701A03 DEVTYPE 00 FPB
    [1][3]: E0000000 CID B105900D PID 000BBD21 DEVARCH 47701A01 DEVTYPE 43 ITM
    [1][5]: E0041000 CID B105900D PID 002BBD21 DEVARCH 47724A13 DEVTYPE 13 ETM
    [1][6]: E0042000 CID B105900D PID 000BBD21 DEVARCH 47701A14 DEVTYPE 14 CSS600-CTI
    [0][1]: E0040000 CID B105900D PID 000BBD21 DEVARCH 00000000 DEVTYPE 11 TPIU
    Memory zones:
    Zone: "Default" Description: Default access mode
    Cortex-M33 identified.

  • That looks strange. It should ideally appear in the output window:

    If this also doesn't work, could you try uninstalling the extension, SDK, nRF Connect for Desktop application and re-installing them? 

    Apologies for the trouble, but sometimes some problems during download or installations can cause strange activity after installation.

    -Priyanka

  • Device "NRF5340_XXAA_APP" selected.

    Hi there,

    I don't think this is the correct device... Try picking a different device.

    HTH

    GL :-) PJ :v:

  • Hi,

    I have uninstalled VScode, RF commandline tools, nRF for Desktop, ncs folder removed.

    When I tried to install using nRFconnect for Desktop, the behaviour is still the same and issue not resolved

    Then I tried to install according to the video on nordic website to install via VS code

    https://www.youtube.com/watch?v=EAJdOqsL9m8

    However getting the errors as attached.

    1. First Time - Output Window

    [west]: === updating uoscore-uedhoc (modules/lib/uoscore-uedhoc):
    [west]: --- uoscore-uedhoc: initializing
    [west]: Initialized empty Git repository in C:/ncs/v2.6.0/modules/lib/uoscore-uedhoc/.git/
    [west]: --- uoscore-uedhoc: fetching, need revision 150f4eb2955eaf36ac0f9519d4f4f58d5ade5740
    [west]: From github.com/.../uoscore-uedhoc
    [west]: * branch 150f4eb2955eaf36ac0f9519d4f4f58d5ade5740 -> FETCH_HEAD
    [west]: HEAD is now at 150f4eb [zephyr fromlist] Adapt to changes in name generation in zcbor 0.8.0
    [west]: HEAD is now at 150f4eb [zephyr fromlist] Adapt to changes in name generation in zcbor 0.8.0
    [west]: === updating zcbor (modules/lib/zcbor):
    [west]: --- zcbor: initializing
    [west]: Initialized empty Git repository in C:/ncs/v2.6.0/modules/lib/zcbor/.git/
    [west]: --- zcbor: fetching, need revision d3093b5684f62268c7f27f8a5079f166772619de
    [west]: From github.com/.../zcbor
    [west]: * branch d3093b5684f62268c7f27f8a5079f166772619de -> FETCH_HEAD
    [west]: HEAD is now at d3093b5 Update version from 0.8.99 to 0.8.1
    [west]: HEAD is now at d3093b5 Update version from 0.8.99 to 0.8.1
    [west]: ERROR: update failed for project cmock

    [west]: exited with code 1.

    2. Second Time - Output Window

    [west]: updating c:\ncs\v2.6.0...

    [west]: === updating zephyr (zephyr):
    [west]: --- zephyr: initializing
    [west]: Initialized empty Git repository in C:/ncs/v2.6.0/zephyr/.git/
    [west]: --- zephyr: fetching, need revision v3.5.99-ncs1
    [west]: From github.com/.../sdk-zephyr
    [west]: * tag v3.5.99-ncs1 -> FETCH_HEAD
    [west]: HEAD is now at d96769fac [nrf noup] samples: lwm2m_client: Add support for nRF91x and nRF700x
    [west]: HEAD is now at d96769fac [nrf noup] samples: lwm2m_client: Add support for nRF91x and nRF700x
    [west]: === updating bsim (tools/bsim):
    [west]: --- bsim: initializing
    [west]: Initialized empty Git repository in C:/ncs/v2.6.0/tools/bsim/.git/
    [west]: --- bsim: fetching, need revision 384a091445c57b44ac8cbd18ebd245b47c71db94
    [west]: fatal: unable to access 'github.com/.../': Could not resolve host: github.com
    [west]: FATAL ERROR: command exited with status 128: fetch -f --filter=tree:0 -- github.com/.../bsim_west 384a091445c57b44ac8cbd18ebd245b47c71db94

    [west]: exited with code 128.

    Output in Notification

  • Hi Abhishek,

    Your error shows that there was an issue with the network connectivity. Please make sure you have a stable network connection and also maybe some firewall is preventing the github website.

    Please make sure your internet connection is stable and that you can access github.com through a web browser.

    After everything is checked, then do the "west update"

    -Priyanka

  • I was able to complete the setup without any errors.

    The J-Link Plus also showed up in the "CONNECTED DEVICES"

    However after restarting the Laptop, it comes back to the same behavior where the J-Link is not detected and not shown in the CONNECTED DEVICES.

    Also no support information is shown in the Output.

    Anyways I have given up and shifted to another PC where it works.

    Thanks a lot

Reply
  • I was able to complete the setup without any errors.

    The J-Link Plus also showed up in the "CONNECTED DEVICES"

    However after restarting the Laptop, it comes back to the same behavior where the J-Link is not detected and not shown in the CONNECTED DEVICES.

    Also no support information is shown in the Output.

    Anyways I have given up and shifted to another PC where it works.

    Thanks a lot

Children
No Data
Related