This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error with nrfjprog

Hi,

When I want use nrfjprog to program my NRF52, I have a problem.

This why I write to program my nerf : nrfjprog -f nrf52 --program _build/astronaut.hex --sectorerase --log

But I have this error :

ERROR: [SeggerBackend] - The J-Link library does not support execution inside rosetta 2. Try executing with arch -arch arm64 nrfjprog...

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

I try with NRF Connect and that work correctly, I have the impression that nrfjprog is not using the right JLink. 

Can you please help me.

Parents Reply
  • Thank you for sharing me this post. 

    But when I try the same I command I have always an error : 

    arch -arch arm64 nrfjprog -v --log       

    ERROR: [SeggerBackend] - Dll failed to open.

    ERROR: JLinkARM DLL load failed. Try again. If it keeps failing, please

    ERROR: reinstall latest JLinkARM from Segger webpage.

     

    I need to reinstall something ?

Children
Related