PCA10059 USB nRF52840 Dongle Direct Mode Test Inquiry

I am all new to nRF52480 dongle, would like to use Direct mode test getting error message in Direct Test Mode software (v2.0.3).

Can not communicate with device. Make sure it is not in use by another application and that it has a Direct Test Mode compatible firmware.

During testing, only run Direct mode test software. Dongle information as below:

PCA10059

2.1.1

Please kindly help to advise where I could get direct test mode firmware or other fixes can resolve this issue.

Thanks a lot!!

  • Hello,

    Could you please share the SDK version you are trying with? Are you following any of the samples in our SDK? 

    Kind Regards,

    Abhijith

  • Dear Abhijith,

    For you kind information, we did not try the SDK sample yet.

    We installed nRF connect for Desktop and connect the dongle to PC to have a trial test. 

    When we first run the dongle with "Bluetooth Low Energy" app, it asked to program the dongle.  After programming, it run and can be detected by the smartphone.

    After that, we want to try coded PHY mode - longer range test with Direct Test mode app. Then we get the mentioned error message.

    Currently we would like to do a simple test on coded PHY mode on long range connection with smartphone.

    Please kindly advise how we should approach to make it work.

    Thanks in advance for the help.

    Best regards

  • Hello,

    Could you please download the nrf commmand line tool and run "nrfjprog --recover" before programming? The error you are seeing  might be because of the access port protection enabled in nRF boards. After running the command, you try programming the dongle again.

    Kind Regards,

    Abhijith

  • Dear Abhijith,

    Having tried to use j-link debugger and "nrfjprog --recover" command to recover the dongle and got "[SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error." message.  (see attached log)

    6320.log.log

    Besides, we found the following Direct test mode example files in SDK 17.1.  Please help to advise which one may compatible with PCA10059 nrF52840 dongle?  If not, is there available BIN for PCA10059 for Direct test mode.

    Thanks in advance for your kind help.

  • Hello,

    Really sorry you won't be able to find a direct sample/firmware for 52840 dongle in our SDK. One way you can do DTM test with dongle is to adapt 52840dk sample and modify it for 52840dongle,  for doing the same you can refer  this blog.

    In this ticket, My colleague has shared a file using USB and DTM. Keep this as a reference and  this thread and SDK used looks quite old. So I don't guarantee that it's a complete working model. Just keep it for your reference.

    I checked your log, what version of the JLINK are you trying and how are you programming the dongle. Are you connecting it directly to the PC?

    Sorry for  the response time I took. We are less in numbers due to Christmas vacation. So please expect some delay from my side.

    Kind Regards,

    Abhijith

Related