Atmel SAM-ICE Debug Error

atmel sam4l errorFailed to launch program

Error: reading arm chip id failed

This error is caused when the JTAG interface is selected in the Tool section of the Project settings.

To fix the the issue, select SWD from the drop down.

We initially thought that the SAM-ICE was only a JTAG debugger and didn’t work with Serial Wire Debug. Turns out it only works on SWD.

More info here: