I’m giving a try to PlatformIO/VSCode on win10. I’m currently working with a nrf52 DK witch I can program with no problem: I tried the simple blink program and also one with soft device.
The problem is when launching debugger; I always get this =
Error: unable to find CMSIS-DAP device
.pioinit:12: Error in sourced command file:
Remote communication error. Target disconnected.: Success.
It depends on the bootloader type. You can use CMSIS-DAP (DAPlink) or J-Link. It seems that your board flashed with J-Link debugger. Please open platformio.ini and add these lines to [env:nrf52_dk] section: