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
  • Hi Jonathan,

    We use the Jlink ultra plus debugger. We enabled RTT logging for debugging, hence we use J-link RTT Viewer to view the output logs. For uploading the firmware on the device, we use the nrfjprog command line tool. 

    For the device itself - We run our own firmware developed on connect sdk 2.4.2. The device is a 9160 based custom board and its functionalities include running gpio input and output pins, communicating to server over LTE, running Edge impulse model etc. 

    Let me know if you need any further information. 


    Best regards, 

    Sid

Reply
  • Hi Jonathan,

    We use the Jlink ultra plus debugger. We enabled RTT logging for debugging, hence we use J-link RTT Viewer to view the output logs. For uploading the firmware on the device, we use the nrfjprog command line tool. 

    For the device itself - We run our own firmware developed on connect sdk 2.4.2. The device is a 9160 based custom board and its functionalities include running gpio input and output pins, communicating to server over LTE, running Edge impulse model etc. 

    Let me know if you need any further information. 


    Best regards, 

    Sid

Children
No Data
Related