I'm using J-Link RTT on a Nucleo F429ZI on-board debugger. When I unplug the USB connection from the debugger, my debugger continues to try communicating (as the LED on my debugger continues to blink). I'm wondering if there's anyway I can detect that the USB has been disconnected from the J-Link RTT debugger, to stop any farther attempts to transmit or receive through the RTT, until a connection has been re-established. I'm wondering if there's any recommended way of doing this? Whether I would just count the consecutive errors from SEGGER_RTT_printf() functions or if there is a better way of doing this.
[ABANDONED] How to Stop RTT Communication Attempts After USB Disconnected
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Share