Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 662 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 662 Bytes

nrfprog.sh

This is a loose shell port of the nrfjprog.exe program distributed by Nordic. It relies on JLinkExe (from https://www.segger.com/jlink-software.html) to interface with the JLink hardware.

The generated scripts were basically lifted from the Makefiles distributed with the nrf51-pure-gcc-setup project, so much thanks to @hlnd.

usage:

nrfjprog.sh <action> [hexfile]

where action is one of:

  • --info
  • --reset
  • --pin-reset
  • --erase-all
  • --flash
  • --flash-softdevice
  • --rtt
  • --gdbserver
  • --memwr <addr> --val <val>
  • --memrd <addr> [--w <width>]