Atmega running slow

Hi everyone,
so..I am doing some prototypes and I am programming them with USBasp.
As usual (probably) I did have the "old firmware problem" so I updated the USBasp.
I did 2 prototypes that programmed just fine and then I had to do some changes on the PCB but nothing changed in the microcontroller areas.
Now when I was trying to program it the IDE just gave me errors that the board doesn't respond.
I found a solution on this forum which slowed the baudrate and now the atmega runs 10 times slower!
even with just a "blink" sketch with 100ms delay the pulses are over 1s.

Is it possible that it is cause by flux residue left under the atmega?

Thanks for any help.

Tomas

Sounds like you forgot to set the fuses for the external clock. Burn the bootloader (This sets the fuses amongst other things), and re-upload your code.

1 Like

You are my hero!
..and of course you're right. I completely forgot and the it just got worse when I tried to solve it.
Once again, thank you very much!
Tomas

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.