I have a question: If I burn a bootloader on an ATMega328 and upload a sketch and after some time I want to upload a new sketch, do I have to burn the bootloader again on the ATMega328?
I ask because I uploaded a sketch and after that I wanted to upload another sketch but I got the following error message:
avrdude: stk500_recv(): programmer is not responding
But after burning the bootloader again at the ATMega, it uploaded the sketch without any problems.
I have another short question: If I burned the bootloader, is there a possibility to remove it afterwards so that I can use the ATMega in a "regular way"?
Do you have the cap + DTR line hooked up correctly and all for auto-reset?
If auto-reset isn't working, you'll be able to upload a sketch once through the bootloader, but after that, it'll be running the sketch, and without autoreset, it won't run the bootloader, so it can't upload using it.
Ok, I see, I misunderstood something. I thought that for an Arduino Uno SMD the reset pin has to be tied to ground all the time while uploading a sketch.
Do you have the cap + DTR line hooked up correctly and all for auto-reset?