A standalone ATmega8 with internal oscillator at 8MHz can't communicate with avrdude to upload a sketch.
Everything else works:
- De standard bootloader with external crystal of 16MHz works. I can upload sketches without problem
- The reset, TX and RX are fine. I can upload a sketch with a programmer when using the internal 8MHz (with the 8MHz ATmega8 in boards.txt). So I tested the Serial communication and the reset and it works without problem.
I tried this: http://www.robertoinzerillo.com/wordpress/?p=45
And I made my own Optiboot 5.0 bootloader for the ATmega8 for internal oscillator.
Optiboot: Google Code Archive - Long-term storage for Google Code Project Hosting.
Both have the same result, when trying to upload a sketch, the board is not detected at all.
I would like to make a few minimal circuits, which have a serial connector to upload a sketch and I2C to communicate with others.
Does anyone have the Optiboot working for the ATmega8 with internal oscillator at 8MHz ?