Debug Daisy with Segger j-link edu in Visual Studio Code

Has anyone managed to get Daisy debugging working with a Segger j-link edu? I have tried a lot of different things suggested in the forum and the interwebs and I still get errors that openocd server cannot start. Anyone got a step by step setup and config guide? I am stumped.

I got it all working this morning! Turns out the Segger was still using the proprietary driver instead of WinUSB. Zadig sorted that out and I am now able to debug. The only thing I changed in the launch.json was to use “interface/jlink.cfg” instead of the stlink.cfg file.

2 Likes

@TheTenOfSwords ,
Are you also able to compile your apps with the APP_TYPE = SRAM and still use the debugger to load code and debug?

Thanks,
Brett