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

Using nRF52840 DK to program a second nRF52840 SoC

Hello,

I have an nRF52840 chip (Holyiot nRF52840 module) and I want to program the chip using an nRF52840 DK. The Holyiot module is basically an nRF52840 mounted on a PCB.

https://www.aliexpress.com/item/holyiot-18010-Nordic-nRF52840-module-Bluetooth-low-energy-development-board-for-BLE-mesh-bluetooth-5/32868002366.html

So, I connected the following pins to P20 connector of nRF52840 DK and tried to program with nRFgo Studio. Although I am able to program nRF52840 DK itself, I am not able to program the second device.

1. P20. 1 (VDD_nRF) to V_nRF. In Holyiot, this is VDD/VDDH.

2. P20. 3 (SH_VTG) to V_nRF.

3. P20. 4 (SH_SWDIO) to SWDIO

4. P20. 5 (SH_SWCLK) to SWCLK

5. P20. 8 (SH_GND_DETECT) to GND.

5. P1. GND to GND (three GND pins on Holyiot).

The above setting did not work, I also connected VBUS to GND, no change.

Can you please help me find the problem?

Thanks

Parents
  • I've got my hands on the Holyiot module, I'll see if I can reproduce your issue. 

    Update:

    I had no problem connecting to the holyiot module. Most likely you forgot to cut SB40 or use the wrong pin mapping. 

    I powered the module from a bench top power supply at 3V. On the DK I cut the power supply to the on-board nRF52840 by cutting SB40, connected VTG to DK-VDD and GND Detect to DK-GND. I then connected SWDIO and SWDCLK.

    After connecting the DK to my computer and powering the holyiot module I ran 'nrfjprog -f nrf52 -e' and successfully erased the module. 

      

Reply
  • I've got my hands on the Holyiot module, I'll see if I can reproduce your issue. 

    Update:

    I had no problem connecting to the holyiot module. Most likely you forgot to cut SB40 or use the wrong pin mapping. 

    I powered the module from a bench top power supply at 3V. On the DK I cut the power supply to the on-board nRF52840 by cutting SB40, connected VTG to DK-VDD and GND Detect to DK-GND. I then connected SWDIO and SWDCLK.

    After connecting the DK to my computer and powering the holyiot module I ran 'nrfjprog -f nrf52 -e' and successfully erased the module. 

      

Children
Related