vscode nrf Connect no devices found

I've been using my segger jlink base compact with vscode and the nrfconnect extension.  Everything was working fine, but suddenly, my board stopped showing in the connected devices.  

Normally I would suspect some driver or configuration error, but

  • if I plug in a nrf5340 dev kit, it shows up in vscode nrfconnect panel.  
  • I can still use nrfjprog to interact with my custom board (recover, erase, etc)
  • I can still flash the board with the west utility
  • the jlink shows up in nrf connect programmer and I can interact with my board using it.

I'm left to assume that all of the hardware is working correctly, but there is some sort of vscode config is broken.

Things I've tried:

Anyone have some insight on this?

Parents Reply Children
  • Hi ,

    This should have been fixed, but it might be a similar issue.

    Can you create a new ticket for this issue where you add information about which board you are using (custom or DK), which external debugger if you are using any, and upload the support information?

    To get support information from VS Code, do the following:

    • Open the command palette (Ctrl + Shift + P or View > Command Palette).
    • Write "nRF Connect: Generate support information" and press enter.
    • Copy the entire support information output.
    • Upload it in the new ticket using Insert > Code or upload a .txt file with Insert > Image/video/file.

    Make sure to remove confidential information you do not want to be shared in a public case.

    Best regards,
    Marte

  • Hi Marte,

    Sure I could when/if I see it again. I assume it is when updating the tools.

    Hint: It is likely the default value of the parameter (forgot what this parameter is called but you will know) which ought to be set to nrfjprog after update, but I notice that the default ("default" written in light gray) next to entry nrftools. So manually changing to nrfjprog solves the issue in both cases I have experienced. This was win11. First case was either win10 or ubuntu - sorry forgot which one.

    But again - it is not something I would be able to reproduce - the fallback to the nonworking default, that is.

    Changing parameter to nrftools is (obviously) easy once you know and it will fail with same error but that is not the problem.

    br henning

Related