programmer stopped working why?

was going well with this new hobby and all of a sudden the programe stopped uploading and I keep getting this message, what does it mean, what happened?

Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 1,416 bytes (4%) of program storage space. Maximum is 32,256 bytes.
Global variables use 53 bytes (2%) of dynamic memory, leaving 1,995 bytes for local variables. Maximum is 2,048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xe4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xe4
avrdude: stk500_recv(): programmer is not responding
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xe4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xe4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xe4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xe4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xe4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xe4
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xe4

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

looks like the uno comms just died on the board after a whole 30 minutes use, tried a nano and blink loads fine its just this board

Is anything connected to the uno?
If so, anything on the serial ports? (Pin 0&1)
Did you select the correct comport?

I was driving a 4x7 segment display with a test word, changed the test word and now it wont upload. nothing on D0 or D1 just d2-d8 and A0-A3 (All current limited).

took everything of and still wont upload even with only the USB connected.

Its running the programe with the old test word still though its just not updating.

Did you check the port in the IDE?
Is the uno powered over USB or external?

just powered with the usb...sorry new to all this what do you mean check the port in the IDE?

You have to make sure you set the right com port in the tools menu.

yes did that, changed it to try the nano I have then changed it back for the uno, lights are blinking so there is a connection but will not load the uno. I changed nothing it just stopped working when I tried to upload with a new test word for the display

Than my options are out… Hopefully someone else can help you out!

looks like the life expectancy of a uno is 3 days then :frowning:

Well, I've had two for about 6 years now and they have never let me down. Many projects done and programs uploaded..

just tried a loopback test, rx flashes but no tx so not looking good

kev169:
looks like the life expectancy of a uno is 3 days then :frowning:

Hardly.

kev169:
looks like the uno comms just died on the board after a whole 30 minutes use, tried a nano and blink loads fine its just this board

You damaged it? You have something connected to pins 0 and 1?

Before you damaged it it stopped working, what had you connected to it? Hardware-wise? Schematic? What code was loaded onto it? Was it something to do with the watchdog timer?

What is connected now, while you are trying to reprogram it?

If you run the detect chip signatures sketch (assuming you have another device, which it sounds like you do) what output do you get?

Nothing on d0 or d1 Nick

just a 5461AS 4x7 segment. segment anodes connected to d2-d8 via 470R nothing on any other digit pin. the 4 cathodes through 1k resistors into 2n5551 bases.

not using the watchdog timer that im aware of.

programe was working fine for 30 minutes with changes and recompiling then I tried to change the number to write and it stopped. This is the script:

//
//
//  4x7 LED display
//
//
// bits representing segments A to G (and decimal point) for numerals 0-9
  const int numeral[10] = {
    //ABCDEFG /dp
    B11111100, // 0
    B01100000, // 1
    B11011010, // 2
    B11110010, // 3
    B01100110, // 4
    B10110110, // 5
    B00111110, // 6
    B11100000, // 7
    B11111110, // 8
    B11100110, // 9     
  };
// pins for decimal point and each segment
// DP,G,F,E,D,C,B,A
const int segmentPins[] = { 13,8,7,6,5,4,3,2 };
const int nbrDigits = 4; //the number of digits in the display
// dig A3(msb), A2, A1, A0(lsb)
const int digitPins[nbrDigits] = { A3,A2,A1,A0 };

void setup() {
  for(int i=0; i < 8; i++){
    pinMode(segmentPins[i], OUTPUT);
  }
  for(int i=0; i < nbrDigits; i++){
    pinMode(digitPins[i], OUTPUT);
  }
}

void loop() {
 int value = 1234; //value is the number to be displayed
 showNumber(value); //Calls a subroutine
}

void showNumber( int number){
  if(number == 0){
    showDigit( 0, nbrDigits-1); //display 0 in the rightmost digit
  } else{
    // display the value corresponding to each digit
    // leftmost digit is 0, rightmost digit is one less than the number of places
    for( int digit = nbrDigits-1; digit >= 0; digit--) {
      if(number > 0) {
        showDigit( number % 10,digit);
        number = number / 10;
        }
      }
    }
  }

// Displays given number on a 7 segment display at a given position
void showDigit( int number, int digit){
  digitalWrite( digitPins[digit], HIGH );
  for( int segment = 1; segment < 8; segment++){
    boolean isBitSet = bitRead(numeral[number], segment);
    // isBitSet will be true if given bit is 1
    //isBitSet =! isBitSet 
    // uncomment the above line to invert if its a common anode display
    digitalWrite( segmentPins[segment], isBitSet);
  }
  delay(5);
  digitalWrite( digitPins[digit], LOW);
}

I have 3 nanos that are working with blink and I have also tries different cables etc

Will get a couple of unos to get back to it at the end of the week :slight_smile:

What happened when you ran the sketch to detect the chip signature?

not had time Nick sorry, will try to take a look at the weekend but I have ordered a couple more unos from differing sources so by the weekend I will probably want to get on with my project....I will however study the software your suggested to see what I can learn thanks