I can't seem to upload my sketch onto the wild thumper controller, tried with 0018, 0022 and the latest IDE.
what does the error code means? Where can I find the definitions for response 0x41 & 0x56?
I have a similar issue. My controller was working fine and now I can't upload. Battery voltage is at 7.4V COM port is the same. Here's the error I get when I try to upload.
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
avrdude: stk500_cmd(): programmer is out of sync
Do you use "a lot of" Serial communications in your sketch?I had this with my WTC too, and I also noticed someone on Sparkfun forum having the same issue.
Only thing I could do was reprogram the device using ISP (via Buspirate in my case)
Can you please post a photo of your USB socket on the controller.
One problem we have had in the past is that when the factory solders the USB socket the machine does not use enough heat for the solder to bond to the socket correctly. This can cause the socket to break loose from the PCB.
All PCB's are supposed to have the socket re-soldered by hand to resolve this problem but perhaps you were unlucky and got one that has not been soldered correctly.
Yeah. . .I figured someone (probobably you, Oddbot) would say something like that. I was scratching the bottom of my idea barrel by that at that point.
According to the "Using the Arduino Environment" section, he's got the right setting. The only other thing I can think of is baud rate. The next section goes into changing the baud rate of the Wild Thumper Controller.
The baud rate is set automatically by the Arduino enviroment and should not be altered. Last time I had this problem I had forgotten to disconnect the RC receiver which was on D0 and D1.
The controller is equivalent to an Arduino Nano 168.
Make sure you disconnect any sensors, servos or cables connected to D0 and D1 as these pins are used by the USB interface when uploading a program.
The sample code re-uses these pins for RC communications but this can be changed in the I/O pins tab if necessary.
All I/Os are disconnected.
With power connected, the USB LEDs (LED 3 & 4) blinked once and remain off when the USB cable is connected.
When I tried to upload the sketch, the USB LEDs blinked thrice and remain off.
Is this normal?
The wild thumper is a 168 NOT a 328 --In addition to selecting the Duelimanove, be sure you are selecting the right one.
The error code is different when the wrong board is selected.
for 168: stk500_getsync(): can't communicate with device: resp=0x41
for 328: stk500_getsync(): not in sync: resp=0x00