I am lost in loading bootloader for Arduino Single Sided on ATMEGA8-16PU. Here is my problem.
Placed ATMEGA8-16PU in the board and attached it to the Parallel Programmer and attached external 9V battery.
Accessed the controller using
avrdude
using command line and it returned correct signature0x1e9307
.I executed this command
avrdude -p atmega8 -c dapa -P lpt1 -U lock:w:0xff:m
it worked well. Everything was fine till this point and controller returning correct signature.Then this
avrdude -p atmega8 -c dapa -P lpt1 -U hfuse:w:0xca:m -U lfuse:w:0xdf:m
and suddenly after execution of this command controller was returning wrong signature0x000012
.
What is wrong? I cannot go further? Why it is returning the wrong signature?
But I noticed something odd, controller was not returning 0xffffff
it means it is not bricked, its alive and hence returning signature whatever it is.
Maybe the default baud-rate of programmer is not matching anymore with the baud-rate change in controller for different clock source.
What should I do ?