Flashing issues after updating Command Line Tools on macOS

After updating my nRF Connect Command Line Tools to version 10.24.2 on my 2019 Intel MacBook Pro 16 running Sonoma 14.4.1, I've encountered an issue where the Flash action via the nRF Connect extension in Visual Studio Code no longer functions.

[Please note, I can still successfully flash the merged.hex file to the board using the Programmer application.]


Flashing build-dk to nRF52 DK
west flash -d <PROJECT_PATH>/build-dk --skip-rebuild --dev-id 683441034

-- west flash: using runner nrfjprog
-- runners.nrfjprog: Flashing file: <PROJECT_PATH>/build-dk/zephyr/merged.hex
[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.
FATAL ERROR: command exited with status 63: nrfjprog --program <PROJECT_PATH>/build-dk/zephyr/merged.hex --sectoranduicrerase --verify -f NRF52 --snr 683441034


I've also observed a similar error when attempting to check the version details of nrfjprog in the terminal. However, the command executes without issues when I use sudo to run it.

~ % nrfjprog --version        
[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.

~ % sudo nrfjprog --version   
Password:
nrfjprog version: 10.24.2 external
JLinkARM.dll version: 7.94e

Parents
  • I'm having the same issue on Sonoma 14.4.1 (Macbook Pro on Intel). Also tried via nRF Connect Terminal - 

    % nrfjprog --version
    [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.

Reply
  • I'm having the same issue on Sonoma 14.4.1 (Macbook Pro on Intel). Also tried via nRF Connect Terminal - 

    % nrfjprog --version
    [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.

Children
Related