Verifying Flash Fails on SAMD51 using Atmel Studio with Atmel ICE

1 post / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I get the error "Verifying Flash...Failed! address=0x0000 expected=0x70 actual=0xa0" whenever I try to program the chip using Tools->Device programming. I've tried every setting for changing the BOOTPROT fuse and I've verified that the NVMCTR_REGION_LOCKS fuse is set to 0xFFFFFFFF. It's able to Erase the device and read the device signature.


I'm using an Adafruit Metro M4 board and connecting via the SWD 10 pin connector to the Atmel ICE.


I'm able to program through the Arduino IDE through USB but not through Atmel Studio.