I am trying to program a Atmega128. ISP programming First I used AVR dragon, I can read the target voltage, but when I go to read the device signature, warning comes
Unable to enter programming mode.
Please verify device selection, interface settings, target power and connections to the target device.
I am using AVR studio 6. I have programmed other Atmega128 with the same AVR dragon, but still I tried to program by using STK500. Its of no use as I got the same warning.
I have searched in google, but I did not find any solution. sCK, RESET, MOSI, MISO, VCC, Ground all connections are perfect and I have put bypass capacitors between Vcc and ground of Atmega128.
Even I replaced the IC with new Atmega128, but the result is same.