The problem is given in the error message:
target doesn't answer
Possible reasons are:
- Incorrect/slacky wiring: Might seem unlikely if you did not change anything since you've successfully programmed the avr before. However, expecially if using a breadboard or jumper cables: Double-Check your connections. Also test for short-circuits between signals.
- Hardware failure: Overvoltage, a short circuit or drawing too much current from the avr can damage the device so that it is simply broken.
- Clock speed: If the clock is too high for your target, you cannot program it. Decrease the baudrate by using the
-b
-option with avrdude. - Fuses: Improper settings of the fuses might have locked you out, e.g. by disabling the reset pin.
- Supply voltage missing or not stable. Use a proper supply and bypass capacitors.