Avrdude programmer not responding

Hey Everyone,

I have had the arduino for a year now and have not had a problem like this I believe. I use a macbook pro by the way( if that helps). It started today when I went to upload some corrections to some LCD display code for my new robot and it stopped working (I will post the code below). The code passed by the verification without issues and the code had uploaded before but I just wanted to change the pins and it stopped working. If you need these details the piezo speaker I plugged into pin 9 had been beeping off and on and the LEDs connected to pins 13 and 12 had been blinking as well, which I thought was strange. I tried everything but nothing has worked. It keeps displaying: avrdude: stk500_recv(): programmer is not responding. I Tried updating the arduino software, using a different computer (a macbook air), etc. The serial monitor does work so I think serial communication is a go. Here is the code if it helps (again: has been verified as OK by IDE):

#include <LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2);

void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(16, 2);

}

void loop() {
// Turn off the display:
lcd.noDisplay();
delay(500);
// Turn on the display:
lcd.print("Hello world!");
delay(500);
lcd.display();
delay(500);
lcd.print("I hope you, Enjoy the tea");
delay(500);
lcd.display();
delay(500);
lcd.print("Would you like, some tea?");
delay(500);
lcd.display();
lcd.print("I'm sorry but I, can't let you do that");
lcd.display();
lcd.print("I am only, kidding");
lcd.display();
lcd.print("Teehee");
lcd.display();

}

I really want to get my robot working so if anyone has any ideas I am open to just about anything. Thanks!

-Arduinoroboticist

Arduinoroboticist:
The serial monitor does work so I think serial communication is a go.

What do you mean with this? You mean Arduino is printing?
Btw, post code with code option, otherwise it's kinda hard to read.

the above error come because

  1. you TX & RX lines are connected to any hardware
  2. comport & boards are not choosen properly
  3. if above problem is not there

your bootloader got crashed. so upload bootloader using avr pocket programmer.

I found that if bootloader crashed, led light always high or keep flickering more speed than blink program

How would I fix the TX and RX lines being connected to the hardware? Also, is there a cheaper solution to the bootloader crashing? The avr pocket programming isn't expensive but I just want to see if there is a free solution. And would I have to upload it every time using the avr pocket programmer? Thanks!

-Arduinoroboticist

How would I fix the TX and RX lines being connected to the hardware?

Disconnect it.

What would I disconnect?

If you have something connected on RxTx pins there should be a problem to upload a sketch due impedance problem on pins. See what AMPS-N wrote at 1). Already uploaded sketch works but it is unable to upload a new one .

I disconnected my hardware from the RxTx lines but received the same error.

Does the problem continue after the hardware is disconnected?

Does the problem continue after the hardware is disconnected?

You have to say.

The error avrdude: stk500_recv(): programmer is not responding means that programmer is not connected as expected or it is not working properly. Get rid from other HW and try arduino alone. Did you try solve the problem according previous advice from AMPS-N?