By default Atmega is only set with an internal clock of 1MHz, when we want to increase it both using the internal and external clock then we can change the settings in the fusebit settings.
But for beginners like me, setting fusebit is not easy to quickly understand the functions of each bit. Sometimes even for those who are already proficient, if they don't concentrate, they can choose the wrong choice which results in the wrong selection of the clock source as a result of Atmega not responding. I have experienced this where I mistakenly chose the clock source for the chip.
Now how to restore the fusebit setting to both the default settings and the desired settings.
Out there is already a method with High Voltage Parallel Programming, but there is a little step that is simpler than that but there is a condition, that is, as long as the problem is only in the wrong select Clock, not on the SPIEN and RSTDSBL bits that require HVPP (High Voltage Parallel Programing).
Ok let's do the steps to address it.
First make a clock source of about 32khz, you can use ic timer 555, as I made this.
Then in the settings (Khazama or Bit Burner) it is also set with the same frequency, namely 32khz or activate the slow sck jumper on the USBAP.
Now it's time for the fusebit setting, it can be restored to the default or to the external crystal as expected.
Here's the gambat & layout of the generator frequency from the 555 timer ic that I used for this activity which I call "fusebit repair".
DOWNLOAD PDF format print ready layout
Well, this is what High Voltage Parallel Programming (HVPP) looks like.
Some testimonials :
Post a Comment
Post a Comment