This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How should I reset my device when using RTT?

I just started using RTT because I needed to trace execution through some ble events and the uart could not keep up.

It is very nice, but I am used to frequently resetting the microcontroller using the IF BOOT/RESET button on my PCA10028 board. This is nice because it doesn't break uart connection so I can debug a bit faster.

If I press this button, I am unable to program using Keil 5.14.0.0, it complains that:

**JLink Warning: RESET (pin 15) high, but should be low. Please check target hardware.

Sure -- I can reprogram the firmware but I would prefer to set up a button on the development kit dedicated to resetting (and it shouldn't reset the RTT connection).

Related