Connecting and disconnecting SWD debugger resets the device

Hello,

We have many nrf9160 based devices currently on the market running for our customers. These devices are facing some problems that we are trying to debug right now by letting them run overnight and reading the RTT logs from it.

However, as soon as we conenct and disconnect our devices with an SWD debugger, the device immediately resets, and hence we can not read any logs. I was reading that J-link might have that as part of their conenction sequence to have the device reset. However we are not sure why the device would reset during disconnection of the SWD port as well. Which led us to believe that it could be a Nordic way of connecting. 

Is there any way to connect to this devices over SWD to read RTT logs without resetting the device everytime? If so, how to do that?



Thanks
Sid

Parents Reply Children
No Data
Related