So in one of my project i was using atmega2560 and i was using arduino as ISP to burn the program and everything was working fine. On one such occasion i accidently disturbed the wire, ( When IDE was actually reading the program ) and it stopped reading with some error which i didn't notice. But after that iam not able to program it. I bought a UsbAsp and tried with that too but it throws me an error in IDE that target doesnt answer
avrdude:error:programm enable : target doesn't answer.1
avrdude:initialisation failed,rc=-1
and yikes!invalid device signature.
What is the way out of this ?... do i have to get a new atmega ?, Desoldering this is a hectic job..:-)