ATMEGA168PA infinite loop on ISP programming

I'm trying to program an ATMEGA168PA using an arduino Uno as ISP. I uploaded the "ArduinoISP" code into my arduino Uno, did the following wirings (http://arduino.cc/en/uploads/Tutorial/SimpleBreadboardAVR.png), compiled a blink.hex file and this is my avrdude command:

"avrdude -p atmega168p -c avrisp -P COM3 -U lfuse:w:0x62:m -U hfuse:w:0xdf:m -U efuse:w:0xf9:m -b 19200 -U flash:w:blink.hex"

And here is avrdude output:

[...]

Writing | | 0% 0.00s ***failed; Writing | ################################################## | 100% 0.17s

avrdude: 1 bytes of efuse written avrdude: verifying efuse memory against 0xf9: avrdude: load data efuse data from input file 0xf9: avrdude: input file 0xf9 contains 1 bytes avrdude: reading on-chip efuse data:

Reading | ################################################## | 100% 0.01s

avrdude: verifying ... avrdude: verification error, first mismatch at byte 0x0000 0xf9 != 0x01 avrdude: verification error; content mismatch

avrdude: safemode: efuse changed! Was f9, and is now 1 Would you like this fuse to be changed back? [y/n]

==========================

If I put "n", it stops here and nothing is done. If I put "y", it goes to an infinite loop.

With -vvvv flag, here is the infinite loop showed:

avrdude: Send: V [56] . [ac] . [a4] . [00] . [01] [20] avrdude: Recv: . [14] avrdude: Recv: . [00] avrdude: Recv: . [10] avrdude: Send: V [56] P [50] . [08] . [00] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [f9] avrdude: Recv: . [10] avrdude: Send: V [56] P [50] . [08] . [00] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [f9] avrdude: Recv: . [10] avrdude: Send: V [56] P [50] . [08] . [00] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [f9] avrdude: Recv: . [10] avrdude: Send: V [56] P [50] . [08] . [00] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [f9] avrdude: Recv: . [10] avrdude: Send: V [56] P [50] . [08] . [00] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [f9] avrdude: Recv: . [10] avrdude: Send: V [56] P [50] . [08] . [00] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [f9] avrdude: Recv: . [10] avrdude: Send: V [56] P [50] . [08] . [00] . [00] [20] avrdude: Recv: . [14] avrdude: Recv: . [f9] avrdude: Recv: . [10] avrdude: Send: V [56] . [ac] . [a4] . [00] . [01] [20] etc...

Where did I go wrong ?

Many thanks in advance

(deleted)

Same infinite loop ! :/

Using a TinyAVR, I have the same problem, and this infinite loop:

CMD: [ac a4 00 01] [00 ac a4 00]
CMD: [50 08 00 00] [01 50 08 f9]
CMD: [50 08 00 00] [00 50 08 f9]
CMD: [50 08 00 00] [00 50 08 f9]
CMD: [50 08 00 00] [00 50 08 f9]
CMD: [50 08 00 00] [00 50 08 f9]
CMD: [50 08 00 00] [00 50 08 f9]
CMD: [50 08 00 00] [00 50 08 f9]
CMD: [ac a4 00 01] [00 ac a4 00]
etc.

So I don’t think it’s “ArduinoISP” related.

I updated the topic name because of my last post.