error msg documentation

i got this error while running
a sketch that wrote HIGH to outputs 2 thru 9.

avrdude: stk500_getsync(): not in sync: resp=0x00

what does that mean?

where are messages like this documented??

This message will come

  1. when bootloader got crashed
  2. Wrong port /board being selected.

what does that mean?

It means that avrdude sent some data to the Arduino, and then asked it to paraphrase what it got. The answer was not what avrdude expected.

That can happen for a variety of reasons. There may be something interfering with communications, like something connected to pins 0 and 1. There may be something interfering with communications, like frying the USB-toSerial converter. There may be something interfering with communications, like choosing the wrong board.

where are messages like this documented??

On the internet, of course.