Flash problem with SEGGER J-Link Software and Documentation Pack and nRF Command Line Tools on MasOS

Hi all,

I am dealing with a similar problem to this post: https://devzone.nordicsemi.com/f/nordic-q-a/110715/creating-development-env-for-nzrzf5340-error-warning-nrfjprog-couldn-t-be-executed-please-ensure-that-segger-j-link-software-and-documentation-pack-and-nrf-command-line-tools-are-both-installed

However, the post was about Windows and I am on MacOS, when I installed the Segger J-link software, I did not have to option to give "legacy usb drivers" in all future versions of nrf-command-line-tools." 

Also, I have ensure that SEGGER J-Link Software and Documentation Pack and nRF Command Line Tools are installed and even reinstalled. The problem still remains. Please help!!

I am using VS code, following this tutorial: https://www.youtube.com/watch?v=EAJdOqsL9m8

[15:31:55] =========== Toolchain validation report for nRF Connect SDK Toolchain v2.6.1 ===========
 Using the nRF Connect SDK v2.6.1 at /opt/nordic/ncs/v2.6.1
️️ nrfjprog couldn't be executed. Please ensure that SEGGER J-Link Software and Documentation Pack and nRF Command Line Tools are both installed.

Parents Reply Children
  • Thank you for the reply. I downloaded the nRF Command 10.24.2 macOS version. 

    For the output error generated in the VS code when flash, it is the following: 

    "Flashing build to 683591443 west flash -d /Users/andrew/Downloads/Ble_hardware/bt-fund/v2.8.x-v2.7.0/l2/l2_e1_sol/build --skip-rebuild --dev-id 683591443 -- west flash: using runner nrfjprog -- runners.nrfjprog: reset after flashing requested -- runners.nrfjprog: Flashing file: /Users/andrewchao/Downloads/Ble_hardware/bt-fund/v2.8.x-v2.7.0/l2/l2_e1_sol/build/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 /Users/andrewchao/Downloads/Ble_hardware/bt-fund/v2.8.x-v2.7.0/l2/l2_e1_sol/build/merged.hex --sectoranduicrerase --verify -f NRF52 --snr 683591443"

    I tried both toolchains and SKDs v2.6.1 and v2.8.1 and got the same error. 

    I am hoping to test the Bluetooth exercise: https://github.com/NordicDeveloperAcademy/bt-fund

  • There was a new version of the VS Code extension released yesterday. Could you please try installing this? 

Related