Solved: Bootloader standalone Atmega8

Hi

I tried to make a standalone Atmega8 with Arduino. For programming, I use an USBtinyISP programmer, my computer is an iMac, Arduino Version is 1.0.5

What preferences do I have to make for the bootloader install? It only apears the error message:

"avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check."

The connections between the USBtinyISP and the Atmega8 should be right.
Have you any idea what I could do?

New question :slight_smile:

Has anyone programmed an Atmega8 or Atmega16 chip with the USBtinyisp v3.0 programmer?
Can you pleas tell me your preferences in Arduino and how you connected the chip to the usbtinyisp.

Thank you very much!

Show us a photo.

Size to 1280 by 720 or (not too much) less, properly focussed, uploaded using "Additional Options" below the submission window.

These are the connections between Atmega8 and USBtinyISP

Foto 1.JPG

Foto 2.JPG

And now my preferences in Arduino

2.png

4.png

OK, that is more like it.

I just may be wrong here as I have no experience with an ATmega8 as against the 328, but - where's the crystal and capacitors?

(Also the two bypass capacitors for the supply pins on each side.)

I put the 512 byte optiboot on a bunch of ATmega8s. If I remember correctly, the M8 comes out set for internal RC at 1 mHz, no crystal needed. To flash the optiboot for a bare bones board without crystal using internal RC oscillator at 8 mHz, set the fuses to Low E4 and High DC. I think I had to edit the boards.txt file also. I am away from home and my desktop computer where all my files are or I would attach it here.

Get a cristal and connect to it.

Yes you were right!
It is working now.

I connected now a crystal with two capicators and a resistor to the reset pin.

You can now "modify" the subject line of your first post to start with "Solved:".