Pages: [1]   Go Down
Author Topic: Boarduino programming  (Read 631 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 24
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have recently bought a DC boarduino and I wondered if it was possible to program it with a 3.5mm FTDI cable. It shows up as a COM port in the arduino IDE but it comes up with the following error:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I would much appreciate any help that you can offer.
Thanks
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17263
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If your FTDI cable doesn't bring out the DTR signal or if it's not wired to your board correctly, then the Arduino IDE can't toggle the board's reset line thereby activating the bootloader program. You can try using the manual reset switch on your board, but the timing of reset can be tricky to push at the correct time.

Lefty
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 24
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you lefty

Yes, I think I will have to press the reset button but when and for how long should I do it.
« Last Edit: March 20, 2010, 05:08:57 am by slinkyfish » Logged

Lincoln, NE
Offline Offline
Full Member
***
Karma: 0
Posts: 106
Having lots of fun with Arduino. Thanks everyone!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I recently built my own serial to USB cable that does not have DTR line.

Here's the timing that works for me:
1. Press and hold down the reset button
2. Press control-U in the IDE to start compile and upload
3. Continue holding the reset button until you see the message at the bottom of the IDE showing "Binary sketch size..."
4. When you see that message, release the reset button.

This works great for me.  Good luck!
Logged

Pages: [1]   Go Up
Jump to: