VSCode doesn't list the connected devices although nrfutil device can list them

Hi all, 

Note that I am using a Fedora Workstation VM on VirtualBox for keeping everything clean. I pass the connected USB development board to the VM. I am trying to evaluate the Channel Sounding functionality with some Seeed nRF54L15 XIAO modules. I am using VSCode, I've installed the extension and everything without a problem, I've assembled a test project for both Initiator and Reflector based on your individual projects and I've hooked up the device. Unfortunately the device doesn't show in the Connected Devices list, although when opening a console and using nrfutil device list it lists the connected device. I've done everything (or so I believe) that was needed, I have installed openocd, jlink, added the USB rules, installed the nrfutil and the device command in my local (logged user) bin and yet, the devices do not appear in the list. As you can see from the screenshot below, the device can be listed with the nrfutil via the terminal (both the internal vscode and a normal terminal) but when pressing the refresh button in the Connected Devices, nothing happens. I see from the Output that it is starting the nrfutil but there is no error. Any ideas what could be the problem?

Parents
  • Hi,

    The VS Code extension only shows device are connected via J-Link. The XIAO nRF54L15 has the pins needed to be connected to a J-Link but does not have an on-board J-Link.

    However, if you open a nRF Terminal and type the flashing command manually (west flash), it should be working. I think it will use openOCD under the hood.

    You can see here the compatibility matrix for programming and debugging this module.

    If you have a J-Link controller or a Nordic DK (through the "DEBUG OUT" connector) you might also be able to use it to connect to the J-Link interface of your XIAO nRF54L15 module.

    If you don't have a J-link controller lying around, I believe you should also be able to program it through the USB using nRF Util.

    I hope I was able to help you. If you have any more questions, feel free to ask.

    Best regards,

    Simon D-M

  • Thank you Simon for your detailed response! I do have an old J-Link EDU version, probably needs an update. Since it supports openOCD via USB for debugging, I could try that, even if it means that I wouldn't be able to use it directly from within the extension.

Reply Children
Related