a untouched atmega8 is programmed wrongly with external clock fuse bit instead of internal clock how to change...it is possible to erase the chip? or reprogram the fuse bit???
when i tried to erase or reprogram i got this error
"power turned on..
power turning on failed...." in extreme burner
The AVR needs a valid clock source to be programmed.
If the fuses are set to "external clock" then supply your AVR with an external clock. This enables you to reprogram the fuses.
i bought a usbasp programmer but wrongly set the clock fuse......normally in a eager i will not see the fuse bits and programm mcu madly...so damaged so many avr mcu....so pls suggest me a gud and cheap programmer with that i can reprogram fuse bits of avr..
When the Chip you bought has a pre programmed bootloader, it should work as an Arduino and you may use the Arduino IDE software to program the chip further.
In case you decide to indipendently program the chip with the hex you have generated by winavr, you dont require the boot loader in the chip. You may use any generally used programmers like USBasp to program the chip.
You can erase and reprogram the chip with required fusebits. But in case you cannot erase the chip, you have some problem with ISP connections or the chip was programmed wrongly with SPIEN disabled in the last attempt.