Direct Test Mode v2.4.1 GUI does not work with third party boards

Using nRF Connect for Desktop on Ubuntu 24.04 LTS I am trying to use the Direct Test Mode v2.4.1 software with our own custom board.

On https://docs.nordicsemi.com/bundle/nrf-connect-direct-test-mode/page/index.html you wrote:

> The application also supports third-party devices that are programmed with the DTM standard protocol and expose access to it through a serial port.

But it is not possible. Trying to select the FTDI based UART and running clicking "Start test" I see the following error:

At the same time I am connected to the board via RTT to view logs and don't see any communication.

On the contrast when I use cutecom to send commands as hex codes directly, everything works as expected:

And I see the expected communication activity on the RTT logs:

Help would be much appreciated. It would be much more convenient to use your GUI based Direct Test Mode tool instead of sending and decoding the DTM commands as hex manually.

There are no problems by the way using a nrf52840DK. It only does not work with the custom board, connected via UART, although you explicitly write:

The application also supports third-party devices that are programmed with the DTM standard protocol and expose access to it through a serial port.

Thanks

Alex

  • lx_brz said:
    Sorry, I don't understand how this is supposed to help, maybe there is a misunderstanding somewhere?

    Yeah sorry about that. As well as for how long it took for you to get a reply here. I guess I meant uart.

    Flash DTM to your custom board. Then you can for instance connect the uart pins of the nrf52840DK you have, to whichever uart pins you use on your custom board. I just tried this myself with two '840DKs and it worked fine. 

    Just erase the nRF on the DK (with eg. nrfjprog --recover) to make sure that you are communicating with the correct nRF. The DTM app might prompt you to reflash the DK, but you can just decline that and it should still work.

    Regards,

    Elfving

  • Yeah sorry about that. As well as for how long it took for you to get a reply here.

    No worries and thank you for your reply. I have found the problem now. The nordic Direct Test Mode GUI application assumes a hard-coded baud rate of 19200. The firmware compiled for our custom board used 115200 though. That's why it didn't work. When compiling the sample with a baud rate of 19200 the Direct Test Mode GUI can be used without a problem.

    I only noticed that the original baud rate in the sample was 19200 when I compiled it myself. I received the DTM firmware with 115200 setting from a colleague. That also explains why it worked in the third party tool, since the third party tool allows to set the correct baud rate.

    Thank you for your support, the ticket can be marked resolved.

Related