Upto a week I had *no* problem in programming a nRF52840 dongle with an app I am porting from the nRF52840dk.
All of a sudden I can't get the app running, the dongle appears dead.
I've reisntalled all software and notice the following behaviour.
From scratch (after reinstall of software for example) I can program the dongle with an app I developed with the nRF5SDK using segger - no problem.
Then I can program the dongle with an example program, in this case the periperal lbs example with segger and nRF Connect SDK - no problem.
If I use VSCode and program the dongle with the periperal lbs example the dongle does not work. (Even though the dongle is reported as successfully programmed (and verified if I use that option).
To get the board working again I have to reprogramme with the app from the nRF5SDK! After programming with the VScode the dongle can't be repgrammed from segger and nRF Connect SDK.
Would appreciate any suggestions to fix the problem!