The "Flash" action from the nRF Connect for VS Code has stopped working.

Hi,

I just reinstalled a fresh version of VS Code 1.96.2, and I'm using v2024.12.55 of the nRF Connect for VS Code extension. I'm also using nRF SDK v2.1.1.

In the past couple months, my "Flash" action has stopped working. I get this error.

However, if I use the "Start New Terminal in the sources of this build" and put "west flash -d c:\repos\master\src\top\mission_mode\build --skip-rebuild --dev-id 52005670", then it works.

I'm not sure why this has stopped working, but I suspect that it was an update to nRF Connect for VS Code.

Parents Reply
  • Certainly, here you are.

    By the way, I discovered that if I use "Manage SDKs -> Manage West Workspace... -> Set West Manifest Repository -> nRF Connect SDK v2.1.1 -> zephyr (c:\ncs\v2.1.1\zephyr\west.yml)", then the Flash action works again. However, my Build action will now fail.

    If I do the above, but replace "zephyr ..." with "nrf (c:\ncs\v2.1.1\nrf\west.yml)", then Build works, but Flash does not, as in the ticket.

    I tried setting ZEPHYR_BASE=C:\ncs\v2.1.1\zephyr in my system environment variables, but that didn't work unfortunately.

Children
Related