Binary firmware burning error

Finding Arduino SAMD core v1.8.9…
arduino:samd 1.8.9 1.8.14 Arduino SAMD Boards (32-bits ARM Cortex-M0+)
Finding Arduino SAMD core OK
Finding Arduino MKRZero…
Finding Arduino MKRZero OK at COM16
Flashing Arduino firmware…
No new serial port detected.
Atmel SMART device 0x10010005 found
Device : ATSAMD21G18A
Chip ID : 10010005
Version : v2.0 [Arduino:XYZ] Apr 11 2019 13:09:53
Address : 8192
Pages : 3968
Page Size : 64 bytes
Total Size : 248KB
Planes : 1
Lock Regions : 16
Locked : none
Security : false
Boot Flash : true
BOD : true
BOR : true
Arduino : FAST_CHIP_ERASE
Arduino : FAST_MULTI_PAGE_WRITE
Arduino : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
done in 0.837 seconds

Write 101012 bytes to flash (1579 pages)
[==============================] 100% (1579/1579 pages)
done in 0.806 seconds

Verify 101012 bytes of flash with checksum.
Verify successful
done in 0.096 seconds
CPU reset.
Flashed your Arduino MKRZero development board. Board restarting…

等待 0 秒,按 CTRL+C 退出 …
Writing NN model to flash…
Program : 100% [============================================================]
sum = 63016 (0xf628) 304340 bytes written in 2.600 sec, 936430 bits/s
Read : 100% [============================================================]
0x000000: read 0xff != expected 0x01
0x000001: read 0xff != expected 0x00
0x000002: read 0xff != expected 0x00
0x000003: read 0xff != expected 0x00
0x000004: read 0xff != expected 0x04
0x000005: read 0xff != expected 0x00
0x000006: read 0xff != expected 0x00
0x000007: read 0xff != expected 0x00
0x000008: read 0xff != expected 0xa1
0x000009: read 0xff != expected 0xe5
0x00000a: read 0xff != expected 0xbd
0x00000b: read 0xff != expected 0x53
0x00000c: read 0xff != expected 0x1e
0x00000d: read 0xff != expected 0x00
0x00000e: read 0xff != expected 0x00
0x00000f: read 0xff != expected 0x00
0x000010: read 0xff != expected 0x05

It seems the firmware can’t be written successfully. I’m using a Syntiant TinyML board for voice recognition experiments. Has anyone encountered similar issues? The Arduino IDE approach isn’t as convenient as with the Arduino 33 BLE.

Hello @Arch,

You can have a look at this tutorial as well to understand how to run integrate your Edge Impulse model with a custom C++ application:

There are also a good project from our Expert Network worth having a look: Illegal Logging Detection - Syntiant TinyML - Edge Impulse Documentation.

The Arduino IDE approach isn’t as convenient as with the Arduino 33 BLE.

Indeed, this board has an ultra-low-power NDP which complexify the approach to run your application.

Best,

Louis