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

Nrfjprog Error : the system cant find the file specified

Hello ,

I'm trying to change the major and minor values on the nRf51 DK . I installed the command line tools and was able to use the following command to identify the serial number of the connected device : nrfjprog -i which work fine and returns the serial number .

However , when I use the following command to change the major and miro values of the beacon : nrfjprog --snr <681184936> --memwr 0x10001080 --val 0xabcd0102

I get the following error : The system cannot find the file specified.

any ideas on how to resolve this ? I'm using nrf51822 with the S130 installed on it and it is running the beacon example program .

Parents Reply Children
  • nrfjprog -i from any directory

    I seem to be facing a similar problem.

    Unfortunately, I am not getting any output from `nrfjproj -i` with an `nRF52840` connected to the computer. Instead, I obtained the serial number from the `Programmer` in `nRF Connect for Desktop` and I tried the following command:
    ```
       $ nrfjprog --snr CD21B872F31E --memwr 0x10001080 --val 0xabcd0102 --log
       ERROR: Argument provided has a wrong value. Memory access not aligned, value
       ERROR: outside of range or similar.

    ```

    I do have `nrfjproj` installed, though:
    ```
    $ nrfjprog -v
    nrfjprog version: 10.23.2 external
    JLinkARM.dll version: 7.92o

    ```

    Could it be that I still need to configure something in nrfjproj?

  • Please post your question in a new ticket, this is soon 7 years old.

    If nothing is listed by "nrfjprog -i", there is no J-Link debugger connected to the PC. Note that only the DKs contain debugger, not nRF52840 Dongle or other boards. The serial number you listed is not a J-Link serial number, but it looks like it could be a USB serial number for a bootloader.

Related