I have a mk2 programmer(clone version;support pdi programming).
I use to program atxmega16a4u.
when i try to program or erase chip in atmelstudio6.1
give me this error:
Erasing device failed
Timestamp: 2014-02-27 10:30:36.615
ModuleName: TCF (TCF command: Device:erase failed.)
Error status received from tool: Result received is 0x03.
All of connections is correct.
when i try to programing chip ;
Programmer detect chip correct and read chip signature and target voltage correctly but when i want to erase or program flash AS6 give me an error.
its really confusing because it detect even i can read fusebits but unable to programming .
also xmega is alone and no additional device in broad.
Thanks for advance. :)