Can the KDS IDE connect or attach to a MCU already running an application? CW10.x could, but I haven't found that option for the debug configuration in KDS.
Unfortunately not with Segger yet, see
The J-Link hardware debugging Eclipse plug-in | GNU ARM Eclipse
Note: due to some implementation issues in the startup sequence of the J-Link GDB server, which ignores the -noreset option and always issues a target reset, the Connect to running target option, although fully implemented in the plug-in, is not yet functional; we are working close with the SEGGER specialists to fix it as soon as possible;
I need to see if there is another option. What connection type are you using? P&E? OpenOCD?
I'm using a P&E Multilink Universal for most development right now.
I quickly checked with P&E and did some tests, and the P&E connection does a reset too (like Segger), so does not work as intended.
I have contacted P&E and they are looking into it.
Where it works with KDS is with OpenOCD connection: for this I have 'Connect to running target' enabled:
Plus 'Load Executable' disabled:
But this does not really help you if you have a custom board with P&E Multilink, unless you would use an OpenOCD FRDM board to your board.
Retrieving data ...