Arduino Forum

Using Arduino => Avrdude, stk500, Bootloader issues => Topic started by: winsmen on Jun 11, 2018, 09:30 pm

Title: Unable to upload to standalone ATmega328 more than once
Post by: winsmen on Jun 11, 2018, 09:30 pm
I have followed the instructions in the following links to create my own standalone Arduino set up on a Breadboard:

https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard

https://www.arduino.cc/en/Main/Standalone

I used the steps given in the Burning the Bootloader section of the Arduino o Breadboard page to prepare my new ATmega328 IC, and then proceeded to connect it to my computer with an FTDI232 USB to Serial module as shown in the Standalone article to upload the Blink sketch to this IC.

It succesfully uploads the first time, but does not after that giving my an "avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x60" error message. This gets rectified when I repeat the steps to burn the bootloader onto the IC, but then again I am allowed to upload a sketch to my IC only once, after which it gives me the same error message.

Is there any way to fix this?
Title: Re: Unable to upload to standalone ATmega328 more than once
Post by: westfw on Jun 12, 2018, 12:05 pm
Frequently this is caused by not having the autoreset wired correctly.
Title: Re: Unable to upload to standalone ATmega328 more than once
Post by: winsmen on Jun 12, 2018, 07:55 pm
I'm not aware of what that's about. Could you please elaborate? Thanks!!
Title: Re: Unable to upload to standalone ATmega328 more than once
Post by: westfw on Jun 13, 2018, 12:40 am
The arduino tutorials on the subject are sadly not very good, and somewhat outdated (I don't see anything about the auto-reset connections, for example.

Try Nick Gammon's tutorial instead: http://www.gammon.com.au/breadboard (http://www.gammon.com.au/breadboard)