nrfjprog.sh
nrfjprog.sh copied to clipboard
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:
--reset--pin-reset--erase-all--flash--flash-softdevice