"avrdude: stk500_recv(): programmer is not responding" error when uploading

Hi,

Recently I have been attempting to create a breadboard Arduino. I ordered a fresh, pre-bootloaded ATMEGA328P-PU, and the other required components (I used the official Arduino tutorial)

I wished to upload a sketch to the ATMEGA328P-PU, so to save time, I cut power, removed the chip, and placed it on the mounting on my Arduino (I had already removed the old one from there).

I attempted to upload a faster version of the traditional "Blink" sketch, but got this error:

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:01:35
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/Users/TheMakerOfThePrograms/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.usbmodem14131
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done.  Thank you.

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

After checking the chip orientation, attempting to bootload the chip, and trying the reset-before-upload solution, I had no luck. My Arduino board still works perfectly with the old ATMEGA328.

Also, I ordered some more (fresh) ATMEGA328's, and they acted the same as the other new one.

Thanks in advance,

NS

P.S. On the top of my old ATMEGA it says 1435, but on all the new ones it says 1644. Is this significant, and what does it mean?

I have successfully created breadboard Atmega 328s using this Tutorial.

Nick Gammon's diagnostic code may be useful.

...R

Thanks for the quick reply, but I think you may have misunderstood.

I am wishing (just now) to test upload programs to the chips on my Arduino, then move them to run on a breadboard setup.

Thanks,

NS

Have you set the right fuses, and have you tried burning the Arduino bootloader?
Does the LED on pin 13 blink when resetting the ATmega?

Pieter

NSCodeWriter:
P.S. On the top of my old ATMEGA it says 1435, but on all the new ones it says 1644. Is this significant, and what does it mean?

Sounds to me like they're not properly bootloaded.

And the old atmega was manufactured in the 35th week of 2014, while your new ones were manufactured in the 44th week of 2016. Nothing to be concerned about (now, if they said 1744....)

PieterP:
Have you set the right fuses, and have you tried burning the Arduino bootloader?
Does the LED on pin 13 blink when resetting the ATmega?

The LED pin 13 does not flash at reset on the new chips (it does on the old one). The new ATMEGAs may not be bootloaded properly, but I have already tried bootloading them. This fails (it gets the same "programmer not responding" error).

Could you extend on the fuses?

Thanks

NS

You have tried bootloading over SPI, right? You can't bootload the ATmega over Serial.

Pieter