I am having an issue using the DTM app in nRF Connect. It is the latest version of the app (v3.3.0 as of this writing). The issue is that if I disconnect the debug lines (Rx and TX) and the hardware remains powered it will continue to transmit/receive as expected. However, when I reconnect the debug lines to control the radio again I get the following error from the DTM app.
"Can not communicate with device. Make sure it is not in use by another application and that is has a Direct Test Mode compatible firmware."
The only work around I have found so far is to find some way to interrupt the processor - either reprogramming it, reading the memory back or a reset.
Once I do this it will respond as normal. The DTM app works well if I just leave the debugger connected, but that isn't ideal for performing certain regulatory tests where you would like to remove any long cables and such from your product during the test.
Is there way to add a reset command in the DTM firmware and in the DTM app, so if it gets into a state like this, you could simply reset it? Then this allows a testing facility to only need access to the debug lines for the DTM application and not the programming pins.
FYI I have only tested/verified this on some custom hardware that I have developed so far. I have tried various things like unplugging my debug port only from the computer, from the device etc... they all result in the same behavior.
Thanks!