nRF Command Line Tools v10.11.1

Calling DLL functions

The nrfjprog DLL functions must be called in a specific order.

This is the recommended sequence of calling the nrfjprog DLL functions:

  1. NRFJPROG_open_dll()
  2. Connect with or without specifying the serial number:
  3. NRFJPROG_connect_to_device()
  4. NRFJPROG_halt()
  5. Other desired functions such as NRFJPROG_read() or NRFJPROG_write()
  6. NRFJPROG_close()