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?

Related