Hi,
I would like to generate messages based on whether the nrf52840 SWD is connected (through j-link and Segger Embedded Studio).
Is there a way to query this?
Thanks,
Daniel
Hi,
I would like to generate messages based on whether the nrf52840 SWD is connected (through j-link and Segger Embedded Studio).
Is there a way to query this?
Thanks,
Daniel
As said before, but here is the relevant code fragment:
if (CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk)
As said before, but here is the relevant code fragment:
if (CoreDebug->DHCSR & CoreDebug_DHCSR_C_DEBUGEN_Msk)