Hello,
Something wrong went USBTinyISP and messed up with my UNO board..
When I power the board NONE of the L, TX, RX LED blinks, only the ON LED stays ON; if I try to upload a sketch only the L and RX LED blinks, TX stays OFF and I get the error "avrdude: stk500_recv(): programmer is not responding".
If I change the uc to other one with the sketch blink, the sketch runs and L blinks; if I try to upload another sketch to the new chip I got the same behavior has before.. only L and RX blinks.
I updated the serial to USB using the DFU mode without errors.. but the problem isn't fixed. What can cause such behavior ? Thanks.
Maybe the fuses are messed up ?
using AVR programmer = probably erased the Arduino bootloader
that explains almost all of your symptoms
I tried to burn the boot loader again using the menu with USBTinyISP:
avrdude: verification error, first mismatch at byte 0x0000
0xff != 0x00
avrdude: verification error; content mismatch
Right after I did the command again and avrdure said:
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
I think the USBTinyISP is completely broken..
If I try the sketch from westfw:
OptiFix Bootstrap programmer.
2011 by Bill Westfield (WestfW)
Starting Program Mode [OK]
Reading signature: Bad value: 0
(no target attached?)
Type 'G' or hit RESET for next chip
I configured a duemilanove as an ISP, disabled reset and tried to burn the bootloader to UNO:
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
OK, the board is good; I used the sparkfun tutorial (Installing an Arduino Bootloader - SparkFun Learn) option one and I was able to set the fuses and burn bootloader to ANOTHER 328 on the same board.
When I try the board's original 328.. no luck setting the fuses (even using the -F option):
avrdude: safemode read 3, efuse value: 0
avrdude: safemode: efuse reads as 0
avrdude: safemode: efuse changed! Was 5, and is now 0
Would you like this fuse to be changed back? [y/n]
If I answer Y avrdude stays on this loop:
avrdude: Send: V [56] . [ac] . [a4] . [00] . [05] [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: . [00]
avrdude: Recv: . [10]
avrdude: Send: V [56] P [50] . [08] . [00] . [00] [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: . [00]
avrdude: Recv: . [10]
avrdude: Send: V [56] P [50] . [08] . [00] . [00] [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: . [00]
avrdude: Recv: . [10]
avrdude: Send: V [56] P [50] . [08] . [00] . [00] [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: . [00]
avrdude: Recv: . [10]
What's wrong with the 328 uc ?
almost everything you've said points to a chip that's not responding, check its ISP connection, its power source, and its clock
also if the clock fuses says to use a different clock type that you are not providing, or if you accidentally disabled reset or disabled SPI, it won't work
With my limited knowledge I agree with you about the uc not responding.
I don't touch connection, power and clock.. I just disconnect the power and exchange chips on the UNO board.
How can I revert the fuses back ?
-edit-
I tried the chip on the UNO board with different speeds: 14400, 9600, 4800.
The output from avrdude is always "avrdude: stk500_getsync(): not in sync: resp=0xff".
One of the AVR Freaks regulars recently posted this tutorial on recovering from this sort of thing:
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=106325