1

Not able to upload sketches to standalone arduino on breadboard (with Atmega328 bootloaded with blink LED program). Searched on the internet but there is no solution. Help ?

error : avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00

OS: Ubuntu 14.04 LTS

  • if you have something connected to digital pins 0 or 1 (rx/ tx), disconnect, and try to upload. – 23ars May 09 '15 at 07:46
  • no improvement.. :( – Ayush Shrivastava May 09 '15 at 07:57
  • The board is selected properly? If it still doesn't work, there is a bug somewhere... Also found on internet, in fact on arduino stackexchange (http://arduino.stackexchange.com/questions/804/arduino-nano-uploading-gives-error-avrdude-stk500-recv-programmer-is-not-re) that you have to press reset just before uploading... Also try: http://www.instructables.com/id/A-solution-to-avrdude-stk500getsync-not-in-syn/ and http://forum.arduino.cc/index.php?topic=273910.0. Maybe will help you! – 23ars May 09 '15 at 08:07
  • 1
    When you say" Bootloaded with blink program " - should this read, " bootloaded with bootloader program " by any chance? You have actually got a bootloader in? How else did you get "blink" on it? – Mark Williams May 09 '15 at 10:38
  • @MarkWilliams Thank you for correction but that doesn't solved my problem in any way. – Ayush Shrivastava May 09 '15 at 18:19
  • got it http://electronics.stackexchange.com/questions/106870/programming-an-atmega328-with-arduino-bootloader-via-a-ftdi-usb-serial-adapter – Ayush Shrivastava May 09 '15 at 18:19
  • 1
    Does this mean the question is resolved? – Nick Gammon Sep 22 '15 at 21:47
  • 4
    Possible duplicate of ["avrdude: stk500\_getsync(): not in sync: resp=0x00," aka Some Dude Named Avr Won't Let Me Upload My Program](https://arduino.stackexchange.com/questions/17/avrdude-stk500-getsync-not-in-sync-resp-0x00-aka-some-dude-named-avr-won) –  Feb 05 '18 at 09:43

2 Answers2

2

Make sure the RX, TX pins are not connected to any other circuit when uploading sketches.

Ikbel
  • 640
  • 4
  • 13
0

Make sure the board selected and port selected are correct. I face this problem many time but they disappear after I remove my other circuit connection and reconnect my arduino board to pc