Arduino Nicla Vision AI fails to flash


I’m trying to flash a (brand new) Arduino Nicla with the latest firmware using Mac OS X. After installing all tools I get the following error:

You’re using an untested version of Arduino CLI, this might cause issues (found: 0.34.0, expected: 0.18.x)
Finding Arduino Mbed core…
Finding Arduino Mbed OK
Finding Arduino Nicla Vision…
Finding Arduino Nicla Vision OK
Flashing board…
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x68 pc=0x10085a079]

some links to github removed becuase the forum does not allow me to include them

Flashing failed. Here are some options:
If your error is ‘incorrect FQBN’ you’ll need to upgrade the Arduino core via:
$ arduino-cli core update-index
$ arduino-cli core install arduino:mbed_nicla@3.2.0
Otherwise, double tap the RESET button to load the bootloader and try again

I did try both options listed without success and I can’t find a way to downgrade the Arduino CLI to 0.18 to make sure this isn’t the problem. Any pointers would be very much appreciated.



Hi @berndmeyer, I didnt notice your topic and added almost exactly the same one 3 hours later :slight_smile:

If you will find any solution please share,
Regards, Rob

Hi Robert,

Indefinitely will if I do



Since it appears to be the same issue, let’s keep the conversation in one thread Arduino Nicla Vision flashing problem.