SWD for nRF52840

Hello,

I'm trying to burn a bootloader to 2 boards: a Seeed XIAO with an nRF52840, and a custom board with the same chip. Are there any step by step tutorials on accomplishing this?

as far as needed hardware and software is concerned, are an nRF52840 DK, and a PC with the nRF Connect SDK sufficient?

  • Hello,

    Once you have connected the debug wires, the steps for programming an external board using the nRF52840 DK are the same as those for programming the on-board nRF chip on the DK.

     

    Debug output

    Other things to keep in mind:

    - The nRF52840 DK includes the optional 32kHz crystal and DC/DC inductors. If these components are not mounted on the target board, the firmware must be configured to select the internal RC oscillator as the low-frequency clock source and not enable the DC/DC regulator (CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y && CONFIG_BOARD_ENABLE_DCDC=n).

    - Ensure you have a common ground, and that the I/O voltage on your DK matches the I/O voltage on your target board. The debugger does not have a built-in level shifter.

    Best regards,

    Vidar

Related