VSCode Actions Flash on OSX missing JLinkARM.dll

ERROR: JLinkARM DLL load failed. Try again. If it keeps failing, please
ERROR: reinstall latest JLinkARM from Segger webpage.

I tried downloading three different versions of the Segger JLink Package for an m1 Mac. (https://www.segger.com/downloads/jlink/?step=1&file=JLink_510d)

I tried 7.66a and currently have 7.66b installed. And also some 5.xx version. But all of them are missing this file. 

When using Run - Start Debugging in VSCode it all seems to work fine but the "Flash" Action just doesn't work. 

Happened with nRF Connect SDK 1.9.1 and 2.0.0.

This would not be an issue but currently I try to run BLE audio examples on a nRF5340 but there seems to be an issue where it hangs in the

hci_core.c:3681    err = bt_dev.drv->open();
to which this thread says (https://devzone.nordicsemi.com/f/nordic-q-a/73237/nrf5340-debugging-using-segger-embedded-studio-for-bluetooth-related-apis) that one must make sure that the network core gets flashed. But I don't see an option to do that besides using the "Flash" Action which does not work for me as explained.
Parents Reply
  • VS Code Version:

    Version: 1.68.0 (Universal)
    Commit: 4af164ea3a06f701fe3e89a2bcbb421d2026b68f
    Date: 2022-06-08T11:44:00.250Z
    Electron: 17.4.7
    Chromium: 98.0.4758.141
    Node.js: 16.13.0
    V8: 9.8.177.13-electron.0
    OS: Darwin arm64 21.5.0



    Using erase Board does nothing at all

    Same issue as already described when using Flash or Erase and Flash.

    But using erase in "Connected Devices" works. 

Children
Related