nrfjprog fails on mac 12.5.1 (monterey)

I was using nrfjprog successfully about a year ago before this evaluation was suspended.  When I now try it fails.

```

nrfjprog --log --program build/zephyr/merged.hex --sectorerase -f NRF91

ERROR: JLinkARM DLL reported an error.

```

I have re-installed nrfjproj but that does not help.  nrfjprog version now 10.12.0

Log file attached. This includes: 

JLinkARM.dll reported "-1", an unknown error.

Any advice appreciated.

Parents Reply
  • Thx. That was very helpful.

    We are now trying to flash with nrfjprog version 10.17.3 external

    First errors are:

    ```

    [debug]: [SeggerBackend] - ---just_select_debug_port_register

    [debug]: [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255

    [trace]: [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)

    [trace]: [  JLink] - - 0.473ms returns -1

    [trace]: [  JLink] - JLINK_HasError()

    [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".

    ```

    Turns out that this was a possible problem with the SoC.  With another one it seemed to go OK.

    As to the error message that's not very helpful.

Children
Related