I am trying to upload a sketch to the atmega168 (i bought from yuo some weeks
age the chip worked for two weeks and now it’s making problems)and it doesn’t seem to work
when i try to upload i get this error
[code]avrdude: verification error, first mismatch at byte 0x0000
0x0c != 0x00
[/code]
and when i try verbose i get that the verification receives zeros instead of the program
[code]######avrdude: Send: U [55] . [00] . [02] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: d [64] . [00] d [64] F [46] $ [24] 0 [30] 1 [31] . [f4] . [80] . [91] . [80] . [00] . [8f] } [7d] . [80] . [93] . [80] . [00] . [18] . [c0] ! [21] 0 [30] . [19] . [f4] . [84] . [b5] . [8f] w [77] . [04] . [c0] " [22] 0 [30] ! [21] . [f4] . [84] . [b5] . [8f] } [7d] . [84] . [bd] . [0d] . [c0] & [26] 0 [30] ! [21] . [f4] . [80] . [91] . [b0] . [00] . [8f] w [77] . [05] . [c0] ’ [27] 0 [30] ) [29] . [f4] . [80] . [91] . [b0] . [00] . [8f] } [7d] . [80] . [93] . [b0] . [00] . [e3] / [2f] . [f0] . [e0] . [ee] X [58] . [ff] O [4f] . [e4] . [91] . [f0] . [e0] . [80] . [81] [20] . [e0] 0 [30] . [e0] . [89] # [23] . [11] . [f0] ! [21] . [e0] 0 [30] . [e0] . [c9] . [01] . [08] . [95] . [f8] . [94] . [ff] . [cf] . [0d] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
| 100% 0.88s
avrdude: 1124 bytes of flash written
avrdude: verifying flash memory against /home/arny/arduino-0012/examples/Digital/Blink/applet/Blink.hex:
avrdude: load data flash data from input file /home/arny/arduino-0012/examples/Digital/Blink/applet/Blink.hex:
avrdude: input file /home/arny/arduino-0012/examples/Digital/Blink/applet/Blink.hex contains 1124 bytes
avrdude: reading on-chip flash data:
Reading | avrdude: Send: U [55] . [00] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
avrdude: Send: t [74] . [00] . [80] F [46] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00]
avrdude: Recv: . [10]
#####avrdude: Send: U [55] @ [40] . [00] [20]
[/code]
at the end of the failed upload avrdude reports that the fuses are zero
[code]avrdude: Send: V [56] P [50] . [00] . [00] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: safemode read 1, lfuse value: 0
avrdude: Send: V [56] P [50] . [00] . [00] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: safemode read 2, lfuse value: 0
avrdude: Send: V [56] P [50] . [00] . [00] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: safemode read 3, lfuse value: 0
avrdude: safemode: lfuse reads as 0
avrdude: Send: V [56] X [58] . [08] . [00] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: safemode read 1, hfuse value: 0
avrdude: Send: V [56] X [58] . [08] . [00] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: safemode read 2, hfuse value: 0
avrdude: Send: V [56] X [58] . [08] . [00] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: safemode read 3, hfuse value: 0
avrdude: safemode: hfuse reads as 0
avrdude: Send: V [56] P [50] . [08] . [00] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: safemode read 1, efuse value: 0
avrdude: Send: V [56] P [50] . [08] . [00] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: safemode read 2, efuse value: 0
avrdude: Send: V [56] P [50] . [08] . [00] . [00] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [10]
avrdude: safemode read 3, efuse value: 0
avrdude: safemode: efuse reads as 0
avrdude: safemode: Fuses OK
avrdude: Send: Q [51] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
[/code]