Is there a way for firmware running on the nRF52 to detect the presence of a SEGGER (or other) SWD capable device? I've looked through all the nRF registers but couldn't find anything appropriate.
Is there a way for firmware running on the nRF52 to detect the presence of a SEGGER (or other) SWD capable device? I've looked through all the nRF registers but couldn't find anything appropriate.
( ( CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk ) != 0 )
ought to do the trick.