Page 1 of 1

Error on Upload

Posted: Sat Jun 21, 2014 4:34 pm
by monochrome
New USBDroid R3, static precautions taken etc.
Computer sees Arduino and correct driver loaded.
When uploading a sketch, TX & RX flash accordingly, red LED (D13) flashes but I receive the following (after enabling verbose logging in preferences):

Using Port : COM3
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv: . [0d]
avrdude: stk500_getsync(): not in sync: resp=0x0d

avrdude done. Thank you.

At least it's polite.
Much googling shows a more common error to be 0x00 (no response).
I have selected the Arduino Uno from within the IDE and the comm port is set correctly (COM3).
Can't seem to find any info on 0x0d as a return code.
Anyone have any light they shed on this?
Many thanks guys.

Re: Error on Upload

Posted: Sun Jun 22, 2014 9:47 pm
by angusgr
Hi monochrome,

0x0d is the hexadecimal value of the carriage return character CR that's usually used at the end of a line (ie when using Serial.println() or similar.) (Ref: http://www.asciitable.com/ )

This implies that possibly the USBDroid isn't resetting properly when the Arduino commences the upload cycle? Although if you see D13 flicker a bit then this is usually a sign of the reset occuring.

As a test, try holding down the Reset button on the USBDroid and choosing "Upload", releasing the button at the exact moment that you see the upload begin (ie when the line "Using Port:" appears, or similar.) This might take a couple of tries.

If that doesn't work after 2-3 tries then there's a strong chance your board is missing its bootloader from the factory, or is otherwise faulty. You can flash the bootloader yourself if you have a programmer, but otherwise email support@freetronics.com and we'll arrange a replacement (or you can return it to a reseller if you purchased it there.)

- Angus

Re: Error on Upload

Posted: Thu Jun 26, 2014 2:37 pm
by monochrome
Thanks for your response Angus.
I returned the device and exchanged it for another.
All is good now.
Cheers