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

Direct test mode for DK nRF5340 :: Illegal value 0x21001238 written to register 66 (MSP_NS) ignored

Hi,

I am using nRF 5340DK borad, trying to flash Direct test mode sample "nordic,nrf5340-dk-nrf5340-cpunet". My aim is the enable direct test mode on the nrF board in order to test Constant tone extension features of BT 5.1 specs.

I downlaoded the direct test mode code from examples samples , it compiled successfully but when zephyr.elf file is downloaded to nRF 5340DK board it gives this error

Illegal value 0x21001238 written to register 66 (MSP_NS) ignored

Can you suggest alternative way to flash right firmware to test.

Can Nordic support team or someone please upload possibly the DTM firmware .elf or .hex or .bin file with your working setup.

Please also find attached snapshots for your reference. Can you please guide how can i get DTM on nRF 5340 or some issue in my setup will be appreciated.

thanks

Parents
  • Hi, 

    The support staff is reduced during the summer holidays, and you may experience delayed answers.

    I see the same issue on Segger, but our segger expert is on vacation. I will contact him when he is back in the office. 

    I would suggest you use west to build and program the DTM sample. You could open command prompt from the tool manager:

    Locate under  NCS\v1.6.0\nrf\samples\bluetooth\direct_test_mode and execute:

    west build -b nrf5340dk_nrf5340_cpunet && west flash --recover

    Locate under NCS\v1.6.0\nrf\samples\nrf5340\empty_app_core
    west build -b nrf5340dk_nrf5340_cpuapp && west flash --recover

    Then, you could test the DTM now. 

    -Amanda 

  • Hi Amanda,

    I tried exact steps as you mentioned and also were successfull, firstly i had to install nrf command tools and set correct environment paths manually.

    Flasing of both steps was success : attached PIC

    but still DTM commands are not working, can you help please. Are USB pins correctly configured in default project as nRF5340 DK board , can it be issue ?? How can i check

    on Board i see following

    TXD P.020 andP1.01

    RXD P.022 and P1.00

    are these pins same in the default program ?

    thanks

  • should i chage the pins and try it, is this correct place ??

  • I took leap of faith and chaged TXD-->20, RXD-->22 RTS-->19 CTS-->21 pins -->then clean soution and build and flash again with command line --> but same issue DTM commands dont work

    Can you please check as well thanks

Reply Children
Related