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
  •  Hello,

     

    Thank you for your detailed explanation.

     

    1. Yes, you are absolutely correct and your drawing is correct.
    2. Regarding 4a, From address 0 it can be either MBT or application, but before flashing any image, first flash should be erased so that it will be 0xFFFF.
      1. DTM application package starts at address 0 and even overlaps SoftDevice area. So if flash is 0xFFFF then it can write otherwise write fails.
      2. If Flash is not erased, how come DTM package is updated via Serial DFU.

     

    Thanks & Regards

    Vishnu Beema

Reply
  •  Hello,

     

    Thank you for your detailed explanation.

     

    1. Yes, you are absolutely correct and your drawing is correct.
    2. Regarding 4a, From address 0 it can be either MBT or application, but before flashing any image, first flash should be erased so that it will be 0xFFFF.
      1. DTM application package starts at address 0 and even overlaps SoftDevice area. So if flash is 0xFFFF then it can write otherwise write fails.
      2. If Flash is not erased, how come DTM package is updated via Serial DFU.

     

    Thanks & Regards

    Vishnu Beema

Children
No Data
Related