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. )

Parents
  • Hi

    I think you will have to contact ARM about this issue, as we have nothing to do with the daplink software. A suggestion might be (if at all possible) to change the default output pins from the interface MCU to use the debug out pins by default. You can try shorting solder bridge SB47, as this will enable the nRF52840 DK to supply power through the Debug OUT connector (P19), but I'm not sure if this will work as I haven't tested daplink at all before. Wile SB47 is shorted, it should not be possible to program the onboard nRF52840 SoC, so keep that in mind.

    Best regards,

    Simon

  • Hi Simonr,

    Thanks for the suggestion, appreciate it very much.

    I do not want to short sb47 as i will need to use the onboard nrf52840 occasionally.

    I just wanted to know weather you already have any solutions for this issue.

    as i mentioned earlier, i am able to upload the mbed compiled binaries using nrfjporg

    Don't you think that fixing this issue would benefit both nordic and mbed ? (Since nordic already have partnership with arm and fixing this doesn't seem to take much time )

Reply
  • Hi Simonr,

    Thanks for the suggestion, appreciate it very much.

    I do not want to short sb47 as i will need to use the onboard nrf52840 occasionally.

    I just wanted to know weather you already have any solutions for this issue.

    as i mentioned earlier, i am able to upload the mbed compiled binaries using nrfjporg

    Don't you think that fixing this issue would benefit both nordic and mbed ? (Since nordic already have partnership with arm and fixing this doesn't seem to take much time )

Children
Related