nRF52840 bootloading

Hello,

I designed a PCB using nRF52840 for controlling the board.

I have physical access to the following pins : SWDIO, SWDCLK , VSS , VDD , nRESET.

What is the boot loading sequence for the first time boot ?

Please guide me on the steps for the first time bootloading.

  • I assume you have a programmer, like the following J-Link BASE Debug Probe .
    Connect up common ground and the pins for programming to the debug probe. Power on the board and see if the Debug Probe detects it using the Segger J-Link Flash utility.
    A M

  • Hi Shaked,

    I assume you are asking about how to program the chip ? If you are, you just need to connect: SWDIO, SWDCLK , VSS to the programmer. You can use a nRF52 DK as the programmer as well. Just need to use the debug out port (You need to connect the VDDdetect pin so that the DK know that it will have to use the Debug out port). Or it's easier to just use a separate programmer, for example Jlink Base as Anthony suggested. 
    After you have them , you can use nRF Connect for Desktop app -> Programmer to program or you can use nrfjprog.exe command line tool.