I started using my new to program some developments into ATMEGA micros. So I connected the device to a target board like thishttp://www.evilmadscientist.com/article.php/avrtargetboards
and after changing the upload parameter of the Arduino IDE 22 was able to upload sketches into the micros.
They worked, but they were very slow.
So trough help in this forum I found out that I had to change the fuses for the micro to use the external cristal. Burning the bootloader sounded like a good solution to do that. I connected everything again and selected the Burn Bootloader with USBTiny of the Arduino IDE.
This ended promptly with this error:
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
And after that the micro died: I was never able to communicate with it again, either to upload a sketch or burn the bootloader, or to run a sketch.
The USBTiny board is still alive, because it killed other 2 micros following similar steps, aways after trying to burn the bootloader
Sure is, I´m th one to blame for this USB-killing. Waht did I wrong?
Is it possible to burn the bootloader and the sketches using the USBTiny without an external oscilator? My theory is that when I tried to burn the bootloader using the Aarduino Ide, it changed the CKSEL fuse, and now the micro is expecting an external oscilator to work and establish a connection with the USBTiny. Is this possible or is just nonsense of a newbie writing late into the night? And if its true, how can I solve it? Should I attach a 16MHz Xtal and 22pf capacitors to the XTal pins in the target board?
Please have mercy with this 3 Atmegas and help me getting them back to life!