Let's Make Robots!

problen uploading wild-thumper

Hi everyone!!!

I've been tried to upload my wild thumper but when it's imposible. I tried with arduino relax patch 0022 and arduino 0018 but they give me this menssage: 

Binary sketch size: 3984 bytes (of a 14336 byte maximum)


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

avrdude: failed to write flash memory, rc=-1

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x80


The board is well selected in the arduino program, the port com too.


What can I do??



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I've had the same error, its normally caused by the arduino usb driver

here's a test:

plug in the arduino to your pc

then right click on "my computer" and choose "manage"

the choose "device manager"

then scroll down the list and check for the arduino to be shown as an attached device

since your getting this error it should come up as an "unknown device"

simply unplug the arduino

reinstall the usb driver

then when you plug in the arduino the pop up window will tell you if windows found the right driver or not

if it didn't you will have to click that pop up window and point to the folder containing the arduino usb driver

thus telling windows which driver to use for that device


Also, if you change between arduino types you will likely have to repoint to the arduino usb driver folder as windows doesn't know what an arduino is and gets confused....

Thank you OddBot, but the problem persists. 


The batery is over 7 volts. The USB cable is the same that I use to program other board (ArduPilotMega). I selected the correct board and I've hold the reset button until the compiling message appears. The board haven't anything connected exept the battery and the right and left motor outputs. I deleted the RCmode because the WTC recives the order from the APM board.


I don't know. is my WTC broken?


thanks for all!!!!

It's unlikely to be broken, all our PCB's are tested before leaving the factory.

Check your D13 LED (LED 5) when you power it up. The bootloader should make it flash a few times to indicate it's active.

For some reason, with all the ATmel processors we get, I occasionally get one that looses it's program. The most likely reason I have heard is that occasionally the memory can become corrupt if the supply voltage drops too slowly.

In these cases it is just a matter of re-installing the bootloader. The Wild Thumper has an ISP socket and you can use another Arduino board as the programmer. The Arduino IDE has the program to make another Arduino board into a programmer in it's "examples".

If possible I would suggest you try that first.

Usually the "not in sync" error means that the CPU failed to reset.

First of all make certain no servos or other devices are plugged into D0 and D1 during programming. When I wrote the sample code I re-used these pins for the RC receiver to free up as many other pins as possible for servos but it can be a pain when uploading a new program.

If this is a problem then simply re-define "RCleft" and "RCright" in the "IOpins" tab to some other digital pins such as 10 & 12.
Plug your Receiver into D10 & D12 and your good to go.


If that was not your problem then here's a list of things to check.

  • Make sure the controller is powered by the battery when programming and that the battery has at least 6V.
  • Try a different USB cable.
  • Check that you have selected the correct board type. The WTC is equivalent to an Arduino Nano 168.
  • Try pressing the reset button after telling your PC to upload and hold the button until you see the message on your screen telling you the binary sketch size of the code.


Hope this helps.