Hi Shawn,
Project ID: 273272
Arduino Nano
I use a CLI
The original model worked fine. But when I updated the model I got this error
Complete CLI output:
Last login: Tue Sep 5 16:05:37 on ttys000
/Users/andregerver/Downloads/fan-demo-(anomaly-detection)-nano-33-ble-sense-v11/flash_mac.command ; exit;
The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh
.
For more details, please visit Use zsh as the default shell on your Mac - Apple Support.
(base) Andres-MacBook-Pro:~ andregerver$ /Users/andregerver/Downloads/fan-demo-(anomaly-detection)-nano-33-ble-sense-v11/flash_mac.command ; exit;
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 Nano 33 BLE…
Finding Arduino Nano 33 BLE OK
Flashing board…
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x68 pc=0x105327924]
goroutine 1 [running]:
github.com/arduino/arduino-cli/arduino/sketch.(*Sketch).GetDefaultFQBN(...)
github.com/arduino/arduino-cli/arduino/sketch/sketch.go:241
github.com/arduino/arduino-cli/internal/cli/upload.runUploadCommand(0x140003aa500?, {0x1400013cf60, 0x0, 0x10532ca58?})
github.com/arduino/arduino-cli/internal/cli/upload/upload.go:103 +0x1d4
github.com/spf13/cobra.(*Command).execute(0x140003aa500, {0x1400013cf00, 0x6, 0x6})
github.com/spf13/cobra@v1.2.1/command.go:860 +0x53c
github.com/spf13/cobra.(*Command).ExecuteC(0x140002d6780)
github.com/spf13/cobra@v1.2.1/command.go:974 +0x318
github.com/spf13/cobra.(*Command).Execute(0x0?)
github.com/spf13/cobra@v1.2.1/command.go:902 +0x1c
main.main()
github.com/arduino/arduino-cli/main.go:31 +0x110
logout
Saving session…
…copying shared history…
…saving history…truncating history files…
…completed.
Deleting expired sessions…none found.
[Process completed]
Thanks for you help in advance