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

Is it possible to program the nRF52840 dongle using the nRF52832-DK using SWD?

Hello DevZone,

I have recently received the nRF52840 Dongle  and I'm able to program it properly with the nRFConnect App. However, when I try to program it with the nRF52832 DK it just enters in bootloader mode, I believe that the SWD is attempting to erase some protected part of the flash (the part that has the bootloader), I don't know. 

Besides that, when  I tried to do the erase command on the dongle all leds are off and I cannot communicate with the nRF52840 at all, not through the nRFConnect neither the SWD. Any idea what is the problem? 

I'm using the examples for the PCA10059 from the SDK_15.2.0

Thank you in advance! 

Parents
  • Hi.

    Have you tried to recover the nRF52840 DK and Dongle?

    Try: nrfjprog.exe --recover --log

    This will create a log file located in the folder you run the cmd from.

    - Andreas

  • I am not using that DK, instead, I am using the nRF52832 DK. Is it possible to program the nRF52840-dongle with the nRF52832-DK?

  • Hi.

    Yes, but it is really important that the voltage on the nRF52840 Dongle matches the nRF52832 DK.

    The safest way would be for you to solder a ARM Cortex JTAG SWD 10pin Connector onto footprint P1.

    Like this:

    And then use a 10-pin 2x5 1.27 mm pitch cable, like this one, to connect the nRF52840 Dongle to the nRF52832 DK

    Like this:

    Then you simply put the USB into a USB-port, like this:

    You should then be able to program the Dongle from the nRF52832 DK. More information can be found here.

    - Andreas

Reply
  • Hi.

    Yes, but it is really important that the voltage on the nRF52840 Dongle matches the nRF52832 DK.

    The safest way would be for you to solder a ARM Cortex JTAG SWD 10pin Connector onto footprint P1.

    Like this:

    And then use a 10-pin 2x5 1.27 mm pitch cable, like this one, to connect the nRF52840 Dongle to the nRF52832 DK

    Like this:

    Then you simply put the USB into a USB-port, like this:

    You should then be able to program the Dongle from the nRF52832 DK. More information can be found here.

    - Andreas

Children