First post here, but I need help figuring out an error I've been getting trying to read/program my AVR XMEGA 128A3. I'm using an Atmel ICE debugger to read (or program) the chip.
I've tried to use both Atmel Studio and the Atmel Command Line and both have yielded the same error: "PDI Enable Failed: Debugger command Activate physical failed. TCF error code 1."
I've triple checked all the connections and everything looks good.
Any help/insight at all would be greatly appreciated! Thanks!
EDIT: When I use the Device Programmer tool in Atmel Studio, I can read/program the chip if I select "Simulator" as my tool instead of "Atmel-ICE." This leads me to believe there's an issue with the ICE and not the XMEGA.