I have a student trying to upload the Nano 33 BLE Sense firmware using flash_windows.bat, and they’re getting the following error message. Any help figuring out what’s wrong would be appreciated!
You're using an untested version of Arduino CLI, this might cause issues (found: 0.16.1, expected: 0.13.x
Finding Arduino Mbed core...
arduino:mbed 1.1.6 1.1.6 Arduino mbed-enabled Boards
Finding Arduino Mbed core OK
Finding Arduino Nano 33 BLE...
Finding Arduino Nano 33 BLE OK at COM8
Error during Upload: uploading error: recipe not found 'upload.pattern'
Press any key to continue . . .
Sorry for the late reply. I couldn’t reproduce this problem using the same arduino-cli version under Windows. Could you ask your student to run the following commands under the directory where the firmware is:
arduino-cli core list
arduino-cli board list
# replacing COMXX with the Arduino COM port
arduino-cli upload -p COMXX --fqbn arduino:mbed:nano33ble --input-dir .
Thanks @aurel ! Here is the response from the student:
C:\Users\nhega\arduino-nano-33-ble-sense>arduino-cli core list
ID Installed Latest Name
arduino:mbed 1.1.6 1.1.6 Arduino mbed-enabled Boards
expressif:esp32 0.0.1 0.0.1 ESP32 Arduino
C:\Users\nhega\arduino-nano-33-ble-sense>arduino-cli board list
Port Type Board Name FQBN Core
COM8 Serial Port (USB) Arduino Nano 33 BLE arduino:mbed:nano33ble arduino:mbed
C:\Users\nhega\arduino-nano-33-ble-sense>arduino-cli upload -p COM8 --fqbn arduino:mbed:nano33ble --input-dir C:\Users\nhega\arduino-nano-33-ble-sense C:\Users\nhega\arduino-nano-33-ble-sense\flash_windows.bat
Error during Upload: uploading error: recipe not found 'upload.pattern'
C:\Users\nhega\arduino-nano-33-ble-sense>