Detect and flash a custom board with a nRF5340 chip on it.

When I get a custom board, how do I detect and flash it? I have three options on the board:

I have a USB cable with:

  • GND
  • D+
  • D-
  • +5V

OR can configure the usb cable connection for:

  • GND
  • SWCLK
  • SWDIO
  • +5V

OR pins directly on the board:

  • GND
  • SWDCLK
  • SWDIO
  • Reset
  • VCC

I do have a segger j-link as well.

Related