nrfjprog throwing erros

I have been using visual studio code on mac for development, and it started showing error code 63 when I try to start debugging on the 9160 based hardware. It used to work okay few days back.

To see more details , I tried running the nrfjprog directly on command line:
------

# nrfjprog --program /Users/admin/NordicProjects/asset_tracker_v2/build/zephyr/merged.hex --sectorerase --verify -f NRF91 --snr 801042885 

[error] [    nRF] - Exception encountered while attempting to initialize multiprocess client: Operation not permitted

ERROR: An internal error has occurred, please try again.

NOTE: For additional output, try running again with logging enabled (--log).

NOTE: Any generated log error messages will be displayed.

# nrfjprog --program /Users/admin/NordicProjects/asset_tracker_v2/build/zephyr/merged.hex --sectorerase --verify -f NRF91 --snr 801042885 --log

[error] [    nRF] - Exception encountered while attempting to initialize multiprocess client: Operation not permitted

ERROR: An internal error has occurred, please try again.

----------------
Tried installing version 10.23.5 tools for macOS, and still errors out but with a differnet message. 

---

# nrfjprog --program /Users/admin/NordicProjects/asset_tracker_v2/build/zephyr/merged.hex --sectorerase --verify -f NRF91 --snr 801042885 --log

[error] [ Client] - Encountered error -102: Command read_device_info executed for 131 milliseconds with result -102

[error] [ Worker] - An unknown error.

[error] [ Worker] - An unknown error.

[error] [ Client] - Encountered error -102: Command read_memory_descriptors executed for 27 milliseconds with result -102

Failed to read device memories.

ERROR: JLinkARM DLL reported an error. Try again. If error condition

ERROR: persists, run the same command again with argument --log, contact Nordic

ERROR: Semiconductor and provide the generated log.log file to them.
---

 Any guess what is going on?

Parents
  • Hello,

    I am unable to access the log file you shared. Could you try using the insert tab to paste the log? Also, please share which OS X version you are using. Is this a development kit or a 9160-based custom board? Additionally, could you try using a different version of the nRF command line tools? I recommend a version earlier than 10.17, as there are known issues with Mac and nrfjprog versions later than 10.17. Please give it a try and let me know the outcome.

    Kind regards,

    Abhijith

Reply
  • Hello,

    I am unable to access the log file you shared. Could you try using the insert tab to paste the log? Also, please share which OS X version you are using. Is this a development kit or a 9160-based custom board? Additionally, could you try using a different version of the nRF command line tools? I recommend a version earlier than 10.17, as there are known issues with Mac and nrfjprog versions later than 10.17. Please give it a try and let me know the outcome.

    Kind regards,

    Abhijith

Children
No Data
Related