Hello,
Is there any way to know that a SWD probe is connected ?
found
// debug session is active (instruction counter is activated by debugger) if (DWT->CYCCNT != 0) { active_debug_session = 1; }
Ok, thanks