I’ve just got my Seeeduino V2.21 (Atmega 168P) board, and I wanted to start off with a simple example.
I’m using the arduino-0022 SDK under Linux.
The boardtype is set to: Arduino Diecimila, Duemilanove, or Nano w/ATmega 168.
The board is powered with USB.
When I try to upload, I just get this:
Binary sketch size: 1020 bytes (of a 14336 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00
Thank you post your problem here.
yes, you select the right board.
Please follow these steps:
1, plug off any shield or connection;
2, toggle M_RST_Auto Switch to Auto side;
3, toggle 3V3_VCC_5V Switch to 5V side;
4, insert USB, select right port(tty/USBx);
5, upload a sketch;
And please check these points:
1, does the LED L(connect to pin 13) flash serial times while upload the sketch?
2, does the LED L(connect to pin 13) flash serial times while insert the USB?
3, does the LED RST(near the reset button) “dim” flash serial time while upload sketch?
4, does the LED RST(near the reset button) “dim” flash serial time while insert the USB?
I’ve tried your suggestion… But still no luck!
but, if I how-ever follow these steps, I can usually flash:
1: Unplug everything (including USB)
2: Press and hold the reset button
3: Plug in USB cable
4: Select upload sketch
5: Release reset switch
So, it seems like to auto-reset simply does not work in my case!
my Seeeduino arrived yesterday and I’ve had the same problem. Cheers for that workaround, did the trick for me too. I can live with that but, surprise, surprise, it is working fine today. Bad solder joint ?
Regards,
Stephan
@Clemson: My distributor suggested trying to upload from Windows, he’s assuming timing problems with Linux.
I got in contact with Kevin - who told me it might be a broken button.
I then double-checked the connections using a multimeter - and he was absolutely right! The button is NOT working as expected!
In my case, I just soldered a wire on the two pins - and now my flashing is working like a charm.
Looks like a wonky switch here too. It was working fine yesterday, so it has to be a bad reset switch or bad solder joint(s). Now we know, cheers for the heads up.