Visual Studio NRF Connect on M1, flashing not working

Hi guys,

I am trying to flash my nrf52840 dongle (with the Segger j-link mini) via your awesome NRF Connect Extension on my Apple M1, but I can't get it to work inside of VS. The following error occures:

-- west flash: using runner nrfjprog
-- runners.nrfjprog: Flashing file: nrf52-demo-pwm/build_dongle/zephyr/zephyr.hex
ERROR: JLinkARM DLL load failed. Try again. If it keeps failing, please
ERROR: reinstall latest JLinkARM from Segger webpage.
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 32: nrfjprog --program nrf52-demo-pwm/build_dongle/zephyr/zephyr.hex --sectoranduicrerase -f NRF52 --snr 801036476

If I run the command in my terminal (not rosetta), it works without a problem.

Idea: West is running as an intel app?!

The following versions are installed:

  • Visual Studio 1.61.2, ARM64 Version
  • West version: v0.11.1
  • nrfjprog version: 10.15.0 external
  • JLinkARM.dll version: 7.56a
  • nrf-command-line-tools 10.15.0

I think I should be up-to-date.

Parents Reply Children
No Data
Related