This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

"Unknown board" issues with nRF Connect for Visual Studio Code

I've run into two oddities with the Connected Devices feature of nRF Connect for Visual Studio Code and two different nRF52840 dongles that are connected via a J-Link. In both scenarios, Connected Devices initially recognizes the attached device as NRF52840_xxAA, but it will then change to say "Unknown board". This is occurring on a PC that was just freshly installed with Windows 10.

The main difficulty I've had with this is that the NRF Terminal cannot connect via RTT to an "Unknown board".

If I open VS Code and click on the NRF CONNECT icon, my Connected Devices will look like this:

However, if I click that refresh button, it will then state "Unknown board".

Refreshing does not help at this point. Closing VS Code down and restarting it will occasionally return Connected Devices to the initial case above, but it tends to stay "stuck" displaying "Unknown board".

Unfortunately, simply avoiding clicking refresh doesn't help here, as it seems that it will become "Unknown board" at some point on its own.

It's worth noting that I haven't seen an issue like this before, and I was doing my own Zephyr development in VS Code before nRF Connect for Visual Studio Code came out. This also does not happen under Linux. This only happens in the Windows 10 environment.

Parents
  • Hi,

    I have contacted experts regarding the issue and will update you soon.

    Kind Regards,

    PK

  • This problem is manifesting itself in exactly the same way on Linux Ubuntu 21.10. My mistake there -- I hadn't noticed it under Linux before now. 

    This could be related to the use of a J-Link EDU Mini here. The first time an EDU Mini is used each day, a dialog box pops up reminding the user that the device is for non-commercial development. The EDU Mini will not function until that is accepted, and initially Connect for Visual Studio Code will show "Unknown board" for that reason. Restarting VS Code after accepting the dialog box will then show that a NRF52840_xxAA is connected, but refreshing the boards will result in "Unknown board" again.

    Just to simplify that:

    1. Start VS Code
    2. Refresh boards
      1. Initial board refresh shows the EDU Mini accept dialog box
    3. Accept the dialog box
    4. Restart VS Code
      1. "Connected Devices" will show NRF52840_xxAA is connected
    5. Refresh boards
      1. "Connected Devices" will now show "Unknown board"

Reply
  • This problem is manifesting itself in exactly the same way on Linux Ubuntu 21.10. My mistake there -- I hadn't noticed it under Linux before now. 

    This could be related to the use of a J-Link EDU Mini here. The first time an EDU Mini is used each day, a dialog box pops up reminding the user that the device is for non-commercial development. The EDU Mini will not function until that is accepted, and initially Connect for Visual Studio Code will show "Unknown board" for that reason. Restarting VS Code after accepting the dialog box will then show that a NRF52840_xxAA is connected, but refreshing the boards will result in "Unknown board" again.

    Just to simplify that:

    1. Start VS Code
    2. Refresh boards
      1. Initial board refresh shows the EDU Mini accept dialog box
    3. Accept the dialog box
    4. Restart VS Code
      1. "Connected Devices" will show NRF52840_xxAA is connected
    5. Refresh boards
      1. "Connected Devices" will now show "Unknown board"

Children
Related