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

Flashing holyiot using NRF52840 DK

Hello,

I have a NRF52840 Dev Kit and a few Holyiot-17095 modules. From here - https://devzone.nordicsemi.com/f/nordic-q-a/25100/could-you-recommend-nrf51-nrf52-compatible-j-link/98849#98849 i came to know that the Dev Kit can be used to program the external modules.

Could someone let know the connection diagram and process of flashing a program onto Holyiot-17095 using NRF52840 Dev Kit?

Okay, i found this discussion, which helps me understand the connection diagram. I have planned to go ahead with this and try out. However, following query is still valid. Could some one please look at it and suggest?

I am working on an Ubuntu 64 bit machine, which is able to see the dev Kit. I am also able to flash softdevice and programs using nrfjprog utility on NRF52840 Dev Kit over USB. However, not able to understand how to move ahead if an external module (Holyiot-17095) is to be flashed. What should be the tool setup on a Linux machine to achieve this?

Thank you.

-amit

Parents
  • Hi,

    You use the exact same tools (such as nrfjprog) to program the external device using the nRF52 DK as you do to program the nRF52832 on the nRF52 DK itself. In fact, you will not see any difference whatsoever.

    The reason is the GND Detect signal, which you can see in the post you linked to. When you connect the debug out port of the DK to the external board/module/device that is to be programmed, the GND detect will be pulled low, and the onboard debugger will use the programming lines on the debug out port instead of the lines going to the onboard nRF52832 chip.

Reply
  • Hi,

    You use the exact same tools (such as nrfjprog) to program the external device using the nRF52 DK as you do to program the nRF52832 on the nRF52 DK itself. In fact, you will not see any difference whatsoever.

    The reason is the GND Detect signal, which you can see in the post you linked to. When you connect the debug out port of the DK to the external board/module/device that is to be programmed, the GND detect will be pulled low, and the onboard debugger will use the programming lines on the debug out port instead of the lines going to the onboard nRF52832 chip.

Children
Related