I'm using Atmel Studio 7 and Atmel ICE to program a SAMD20 device on our custom board.
I was able to program the SAMD20 several times. I then used Tools->DeviceProgramming dialog box to erase the chip. The erase failed and thereafter I can't even program the SAMD20 anymore. I can't even read the device ID
No matter what I try, I always get the same error msg: Error no device detected: error 4109
I've tried restarting Atmel studio and also rebooting my PC but nothing helps. Any tips on how to resolve this issue?