DTM - Desktop app (DIRECT TEST MODE v2.4.0) requesting ,device must be programmed.

I am trying to DTM(direct mode test) for nrf 52832 chip.

I compiled and flashed the DTM code from NRF official(SDK V2.6.0),But when i open the NRF DTM desktop app ,the app request me to reprogram the device to continue with the test.

If i give yes? then the app itself flashing a new DTM firmware in the dev kit and proceeding to DTM tests.
My query is
1.Eventhough i flashed the DTM firmware , still the NRF desktop app is asking to reprogram?
2.Does NRF desktop app using Jlink or UART to send it DTM commands.Does it has any dependency with jlink.

Attached the screenshot for reference.

  • Hello,

    The nRF Connect for Desktop app communicates with the device using the Direct Test Mode (DTM) commands. The DTM commands are sent via a serial connection, which could be a UART or a USB connection. The app does not directly use Jlink for sending DTM commands. However, Jlink is used for programming the device, which is a separate process from sending DTM commands. See this blog post.

    Eventhough i flashed the DTM firmware , still the NRF desktop app is asking to reprogram?

    Yes, the application always prompts you to programme the device. I think the application is designed in such a way to make sure the correct version of the firmware is installed.

    Kind Regards,

    Abhijith

  • Hi Abhijith, 

    Thanks for your response.

    what i am looking for, is to compile and build the compatible DTM  code  that supports DTM-desktop app ,reprograms.

    (ie, DTM- desktop app will find my custom- DTM firmware compatible and it will not ask to reprogram).

    I assumed the DTM code from NRF examples and the DTM-desktop app reprogramming is same.But it obvious they are different as the DTM-desktop asks for reprogramming.

    My aim is to modify the  DTM code and flash into the device and test it with 

    1.DTM-desktop app and

    2.Via any uart terminal(sending hex code commands)

    so that i can test my custom DTM firmware with the DTM-desktop app.

    Can you shed some light on this?

    Regards,

    Jeeva.

     

  • Hello,

    When the Direct Test Mode app is taken, it always validates the firmware, and it's prompting you to programme the available firmware inside the DTM application. But you can always opt out by clicking the NO button to test your updated or custom firmware.

    I recommend reading the blog post, which will give you an idea of testing. 

    For testing: Sadnam kayyil undo?

    Kind Regards,

    Abhijith

  • Hi Abhijith,
    Sadanam undu.

    Can you point me to the latest DTM code base and the command set ? Any link will would be helpful.

    Regards,

    Jeeva.

  • Hello,

    You can find more details inside the Bluetooth:direct test mode section. See the section on testing.

    For testing: nattil evidaya?

    Kind Regards,

    Abhijith

Related