avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
What “board” do you select in the Arduino IDE (if using a mega)?
Now that we have put a 47Ohm pull up resistor on the Arduino reset pin, will it correctly reset the rainbowduino? Or do we have to manually press reset to make it work properly?
I know this reply is a bit late but just to point out you can’t program another 168/328 via the Arduino Mega - you can only do this with an Arduino or clone that has a removable DIP package 168/328 chip - which has to be removed so that it doesn’t interfere with the target board/chip. Otherwise the TX line will be driven by two chips at once leading to garbled responses.
I was having trouble programming my new rainbowduino 2.0 with my arduino MEGA 2560.
I originally just got the error:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51after checking this thread and taking some tips from eikcam1 I finally got it working.
I used a wire in between ground and reset to make it stop resetting. Manually reset Rainbowduino before programming.
I had my RX to RX and TX to TX.
I don’t think I would have figured it out without this thread though.