Skip to content

Flashing nRF with OpenOCD ST Link

Alexander Heinrich edited this page Aug 24, 2021 · 5 revisions

Some nRF chips in a small form factor need to be flashed manually. Either by using a J-Link (which can be expensive) or a cheaper ST-Link in combination with openocd.

Steps

  1. Install openOCD
  2. Connect the pins to the correct ST-Link pins. A sample schematic of an nRF52 Beacon can be found below
  3. Build your firmware with the correct keys
  4. Connect openocd
Clone this wiki locally