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

Daplink software released by arm-mbed for nrf52840 dk does not detect external target

Hi,

I need to upload compiled binaries from mbed studio to my custom board based on nrf52840 using nrf52840 dk.

I have replaced the jlink software(J-Link OB-SAM3U128-V2-NordicSemi 170724.bin) on nrf52 dk with daplink software for nrf52840 dk released by arm-mbed.

By making this change, I was able to upload from mbed studio compiled binaries to the nrf52840 dk and it worked well.

Now the problem is that, i am not able to upload the mbed compiled binaries to my custom board. I have tried to connect it with nrf52840 dk as we use it with jlink(By connecting the swd lines of dk to my custom board) but it didn't work. it is getting uploaded to dk.

The daplink  software for nrf52840dk released by arm-mbed is shown below, (i have used this one)

armmbed.github.io/.../0253_sam3u2c_mkit_dk_dongle_nrf5x_0x5000.bin

i want to know what is the best way to use mbed studio with nrf52840 boards ?

(fyi, i am able to upload to my custom board using nrfjprog and everything is fine. )

  • Don't you think that fixing this issue would benefit both nordic and mbed ?

    On the mbed forum:

    "the J-Link OB Firmware of the Nordic Boards should be capable to support mbed directly."

    and, in reply to that:

    "The only downside to Daplink is you lose compatibility with Segger's J-Flash and J-Link Commander software and Nordic's nrfjprog software. I don't see any reason not to use the OB J-Link"

    (my emphasis)

    os.mbed.com/.../

  • Hi awneil, 

    Thanks for the help.

    what i wanted to do was, use nrf52840 dk as daplink programmer to upload to external nrf52 target.

    The daplink software i have mentioned is for the samd controller (interface controller that runs jlink software)

    Of course a separate micro-controller or any daplink programmer will do it.

    Wouldn't it be a good feature if this can be done through the dk itself ?(especially those who use dk as programmer for nrf52840 targets).

    jlink Software in the interface mcu is able detect an external target based on the voltage level of vtg pin without making any other changes. so i just wanted to know why the same thing cannot be achieved for the daplink ?

    I have posted this question here because this looked to be a common issue for those who use mbed rather than the native nrf52 sdk.

  • i have tried the  J-Link OB Firmware and it is able to upload but takes lot of time and fails sometime.

    It looked unstable for me :(

  • You can always cut SB47 again if you need to use the onboard nRF52840. I will make note of this and report it internally, but I can't guarantee that Daplink/mBed compatibility will come out any time soon.

    Best regards,

    Simon

Related