This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

why is this code not running in nrfjprog tool

the code is nrfjprog -f nrf52 --snr --memwr 0x10001080 --val 0xabcd0102

I am doing the example infocenter.nordicsemi.com/index.jsp

I am able to get everything up to step 2 of the second part and the command above is not being executed in the command prompt.

The message being given is "system cannot find file specified"

Parents
  • Hi,

    You need to use the serial number found on the on-board Segger programmer/debugger(The big chip on the DK) when you use the --snr parameter. The serial number on a nRF52-DK starts with 682. Note that you only need to use the --snr <SN> parameter when you have multiple programmers connected. If you only have one connected you can use nrfjprog -f nrf52 --memwr 0x10001080 --val 0xabcd0102.

Reply
  • Hi,

    You need to use the serial number found on the on-board Segger programmer/debugger(The big chip on the DK) when you use the --snr parameter. The serial number on a nRF52-DK starts with 682. Note that you only need to use the --snr <SN> parameter when you have multiple programmers connected. If you only have one connected you can use nrfjprog -f nrf52 --memwr 0x10001080 --val 0xabcd0102.

Children
Related