dmitri wrote:Is a crystal in place?
Yes, I'm using a 12Mhz crystal.
dmitri wrote:Is a crystal in place?
estregan wrote:dmitri wrote:Is a crystal in place?
Yes, I'm using a 12Mhz crystal.
dmitri wrote:Of course I presume the power (5V) is there on the pin 10 when you try to program Atmega32 and the crystal is not damaged (maybe to try another crystal?).
If the healthy crystal is there along with C1 and C2 and they are properly connected but you're not able to read/write the chip anymore than it means you programmed fuses incorrectly. There are several ways to recover from this state. The easiest is explained here -> http://www.larsen-b.com/Article/260.html
You will need to find a source of around 1MHz TTL level (3,6-5V) signal and apply it to XTAL1 (pin 13 on Atmega32). With this signal applied you will be able to program the correct fuses configuration.
Of course, you need a external clock at something like 1Mhz. Of course I don't have this kind generator at home, but this can be easily done with another AVR micro this something like this:void main()
{
DDRA = 0xFF;
while (1)
{
PORTA = ~PINA;
nop(); // added some nop, to slow the clock a bit
nop();
}
}
You will need to find a source of around 1MHz TTL level (3,6-5V) signal and apply it to XTAL1 (pin 13 on Atmega32). With this signal applied you will be able to program the correct fuses configuration.
estregan wrote:dmitri wrote:Of course I presume the power (5V) is there on the pin 10 when you try to program Atmega32 and the crystal is not damaged (maybe to try another crystal?).
If the healthy crystal is there along with C1 and C2 and they are properly connected but you're not able to read/write the chip anymore than it means you programmed fuses incorrectly. There are several ways to recover from this state. The easiest is explained here -> http://www.larsen-b.com/Article/260.html
You will need to find a source of around 1MHz TTL level (3,6-5V) signal and apply it to XTAL1 (pin 13 on Atmega32). With this signal applied you will be able to program the correct fuses configuration.
Uhhmmm, you lost me here. Too much technical stuff for me to understand already.
I read the link you gave on how to reset the incorrect fuse programming. What does he mean with this:Of course, you need a external clock at something like 1Mhz. Of course I don't have this kind generator at home, but this can be easily done with another AVR micro this something like this:void main()
{
DDRA = 0xFF;
while (1)
{
PORTA = ~PINA;
nop(); // added some nop, to slow the clock a bit
nop();
}
}
dmitri wrote:This shows how to program a spare Atmega to be an external clock (generator). Do you have a spare Atmega32 or Atmega8?
estregan wrote:dmitri wrote:This shows how to program a spare Atmega to be an external clock (generator). Do you have a spare Atmega32 or Atmega8?
I have the Atmega8L to be used for AVR-CDC board but that is also showing the error. Can that be used? If it can, how? I do not understand what the codes are for and how they are used.
dmitri wrote:Again, are you sure your crystals are alright? I just can't believe you programmed incorrect fuses (i.e. didn't follow my instructions exactly) on both ICs. If fuses really programmed incorrectly on both ICs than you'll have to get another Atmega8, make a simple circuit to generate ~1MHz signal (just one Atmega8 and one 100nF capacitor). I'll compile the code mentioned above to make a firmware for this generator and you'll write this firmware into this IC so that you could recover first two ICs.
Users browsing this forum: Bing [Bot], Google [Bot], LM44895DT and 91 guests