I have a ATmega328p-pu. I programmed it using the Minimal Circuit of this tutorial.
I burned the boatloader on the microcontroler. I uploaded a couple of sketches using the way of uploading the bootloader(because i have a arduino uno smd). First worked fine but then....it stopped working i got this error:
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
I double checked the connections. Nothing wrong. I looked on forums but couldn't find it. I tried to find out how to use that -F thing. But couldn't find that as wel.
Can anyboady tell me how to solve this problem? Is there any way I can find out if the chip is damaged? Or can i maybe reset it to factory settings Or erase the eeprom memory?
If the chip has previously been burned with a regular Arduino bootloader it will need a crystal to be re-programmed. The chip can't parse the serial programming commands without a working system clock.
Thanks for that one it worked pritty well. I can upload again. But if i use the blink sketch en change the first delay to 3000 then it stays 5 sec on instead of 3 sec. If I upload the hello world lcd sketch then it dusn't display anything. Is that because of the clock? Will it work normaly again if I buy a uno rev 3 and put the chip in the ic socket?
It dus work again. I changed a couple of things in the boards.txt back to normal and rechecked the wiring and saw that I wired the whole lcd the wrong way.