I have a Diecimilia connected to the USB port. It has been working wonderfully for several days and have had no issues that weren't readily resolved by either research or simply figuring things out.
After successfully implementing an 8x8 LED matrix (yes, ample current limitig resistors used on LEDs -- kept it ~10 mA) I decided to tear down the circuit and make a simple POV deal with a handful of LEDs. I turned off the Arduino and disconnected the external power. I probably left the USB plugged in. I wired up the circuit which consisted of 5 red LEDs anodes directly connected to digital pins 2 through 6 and cathodes to ground through 330 Ohm resistors. I wrote some simple test code to drive the LEDs in a POV sort of way, turned on the Arduino, and tried to upload the code.
During the familiar avrdude conversation I see this error that I had not yet encountered:
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x0c != 0x00
avrdude: verification error; content mismatch
I try again and again. I reset the Arduino. I cycle the power to it. I uninstall and reinstall the (windoze) USB driver. I resinstall the 0011 environment. All to no effect.
I also tried avrdude standalone. Exact same results.
The program that was loaded atthe time of this failure still runs correctly, so that tells me the bootloader is doing its thing and the processor is actually working otherwise.
I am beginning to suspect maybe something fried in the MCU maybe but cannot find posts to confirm that.
The avrdude session either from within v0011 or standalone avrdude executes and has what looks to be a legitimate conversation with the bootloader. There is plausible RX/TX LED activity and blinking LED on pin 13.
According to avrdude, all fuses are being read as value 0 (zero).
That's about all I can think of that might be important.
Since it has been working flawlessly on USB or external power in a variety of situations for several days seems to me something is cooked.
Can someone explain what is going on? Is it the ATMega168 or could it be the FTDI chip? I am hoping it is something else from which I can recover. I do not have a stand-alone programmer for the AVR but will come up with one if that will help.
This has put a serious damper on my week or Arduino fun so I am anxious to get it running again.
Thanks!