Hi. it was a post about same problem with an another CPU wihout answer, try a new post.
i get the follow message when I try to program ATMEGA1284P
"The requested command timed out. Debugger command Memory write failed."
use JTAG , ATMEL-ICE and studio 6.2
Somebody has one idee about that?
try to reduce speed of JTAG
now I will see if my pull-up are perhaps to high. ( I am sure at they are not to low).
But thank you for another solution.