This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

DTM test procedure over Bootloader + SoftDevice

Hello,

 

I am using nRF52840, SDK_16.0.0, S140 SoftDevice and Segger 4.16 for flashing the image.

 

1) At factory first we will load Secure Serial Bootloader and SoftDevice. Without erasing them, we want to do DTM. Whether can I load DTM package from below path using nrfutil.

                \examples\dtm\direct_test_mode\pca10056\blank\ses

 

2) As per below post can’t I use load SoftDevice along with DTM.

a) Since SoftDevice only loaded but nowhere enabled, still DTM can be loaded. Please correct my understanding.

                https://devzone.nordicsemi.com/f/nordic-q-a/42488/how-to-run-dtm-on-nrf52840-development-kit-using-mt8852b/167016#167016

                https://devzone.nordicsemi.com/f/nordic-q-a/33236/52840-dtm

 

Thanks & Regards

Vishnu Beema

Parents
  • Hi Vishnu,

    Your understanding is not entirely correct. There is no problem having both the SoftDevice and a DTM application in flash at the same time. The point is that the DTM firmware uses the radio directly, which is not allowed when the SoftDevice is enabled. So you can use DTM as long as you make sure to not enable the SoftDevice.

    In practice, I would say it makes more sense to use specific firmware for the DTM, and then program the actual firmware later. Bu tif you like, you could, for instance, read a GPIO input (or some other input) and use that to decide whether you should enter "normal" mode, enabling the SoftDevice etc., or "test mode", where you don't enable the SoftDevice but run DTM code.

    Br,

    Einar

Reply
  • Hi Vishnu,

    Your understanding is not entirely correct. There is no problem having both the SoftDevice and a DTM application in flash at the same time. The point is that the DTM firmware uses the radio directly, which is not allowed when the SoftDevice is enabled. So you can use DTM as long as you make sure to not enable the SoftDevice.

    In practice, I would say it makes more sense to use specific firmware for the DTM, and then program the actual firmware later. Bu tif you like, you could, for instance, read a GPIO input (or some other input) and use that to decide whether you should enter "normal" mode, enabling the SoftDevice etc., or "test mode", where you don't enable the SoftDevice but run DTM code.

    Br,

    Einar

Children
No Data
Related