FTDI Friend + extras - v1.0

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

FTDI Friend + extras - v1.0

Postby Juggler00 » Sun Aug 07, 2011 5:53 am

A n00b question: Will the FTDI Friend allow me to program the new Arduino Ethernet with PoE Module (http://store.arduino.cc/ww/index.php?ma ... cts_id=142)?

cheers,
J.
Juggler00
 
Posts: 11
Joined: Sat Jul 09, 2011 12:57 pm

Re: FTDI Friend + extras - v1.0

Postby adafruit_support_bill » Sun Aug 07, 2011 6:27 am

I don't have an Arduino Ethernet in-house yet to verify, but it should be compatible.
It can be programmed like an Uno via a six-pin FTDI -style serial connector. The Arduino USB 2 Serial adapter or any FTDI-style USB-to-serial connector can be used to program it.
User avatar
adafruit_support_bill
 
Posts: 16617
Joined: Sat Feb 07, 2009 9:11 am

Re: FTDI Friend + extras - v1.0

Postby Juggler00 » Sun Aug 07, 2011 6:39 pm

thanks!
Juggler00
 
Posts: 11
Joined: Sat Jul 09, 2011 12:57 pm

Re: FTDI Friend + extras - v1.0

Postby RoysterBot » Mon Aug 22, 2011 5:35 pm

adafruit_support wrote:I don't have an Arduino Ethernet in-house yet to verify, but it should be compatible.
It can be programmed like an Uno via a six-pin FTDI -style serial connector. The Arduino USB 2 Serial adapter or any FTDI-style USB-to-serial connector can be used to program it.


Have you confirmed that the FTDI Friend can be used to program the Arduino Ethernet? I am not having any luck with the ones I just received. I'm using the Arduino 0022 IDE and the drivers that come with that. Windows XP recognized the FTDI Friend as expected but uploads are failing with the following errors.

avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I'm about to order a USB FTDI TTL-232 cable to see if that makes a difference.

Thanks!
RoysterBot
 
Posts: 8
Joined: Tue May 11, 2010 3:25 pm
Location: Dallas/Ft. Worth, Texas

Re: FTDI Friend + extras - v1.0

Postby adafruit_support_bill » Mon Aug 22, 2011 6:57 pm

The FTDI Friend and the cable should be equivalent if they are both correctly wired.
How are you powering the Arduino when you attempt the upload?

If you hold the shift-key down when you press the upload button, there will be additional diagnostic output in the IDE.
User avatar
adafruit_support_bill
 
Posts: 16617
Joined: Sat Feb 07, 2009 9:11 am

Re: FTDI Friend + extras - v1.0

Postby adafruit » Mon Aug 22, 2011 7:30 pm

we had no problems uploading to an Ethernet Arduino with the FTDI friend. be sure to select the right com port, UNO type board and the cable is plugged in properly
User avatar
adafruit
 
Posts: 10546
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: FTDI Friend + extras - v1.0

Postby RoysterBot » Tue Aug 23, 2011 4:46 pm

I'm using a 12V 2A supply to power the Arduino Ethernet

Here is the verbose upload output:
Binary sketch size: 5438 bytes (of a 32256 byte maximum)
M:\Projects\Arduino\arduino-0022\arduino-0022\hardware/tools/avr/bin/avrdude -CM:\Projects\Arduino\arduino-0022\arduino-0022\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega328p -cstk500v1 -P\\.\COM12 -b115200 -D -Uflash:w:C:\DOCUME~1\user\LOCALS~1\Temp\build683665778608908768.tmp\WebServer.cpp.hex:i

avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

System wide configuration file is "M:\Projects\Arduino\arduino-0022\arduino-0022\hardware/tools/avr/etc/avrdude.conf"

Using Port : \\.\COM12
Using Programmer : stk500v1
Overriding Baud Rate : 115200
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: Send: Q [51] [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

avrdude done. Thank you.


I'm using the same environment to upload the same code to an Arduino UNO with an Ethernet shield successfully.
RoysterBot
 
Posts: 8
Joined: Tue May 11, 2010 3:25 pm
Location: Dallas/Ft. Worth, Texas

Re: FTDI Friend + extras - v1.0

Postby adafruit_support_bill » Tue Aug 23, 2011 5:01 pm

You are getting no response at all.
Does your computer recognize the FTDI Friend when you plug it in?
Are you sure you have the right COM port selected? If it does not disappear from the menu when you unplug the FTDI Friend, then it is not the right COM port.
User avatar
adafruit_support_bill
 
Posts: 16617
Joined: Sat Feb 07, 2009 9:11 am

Re: FTDI Friend + extras - v1.0

Postby RoysterBot » Tue Aug 23, 2011 8:59 pm

Yes. The computer recognizes the FTDI Friend as expected. The COM port comes and goes goes as it is connected and removed. Once I receive the USB FTDI TTL-232 cable I have ordered I will try that with another yet untouched Arudino Ethernet to see if I might have a hardware issue with the one I'm working with now. I'll post an update once I try that.

Thanks!
RoysterBot
 
Posts: 8
Joined: Tue May 11, 2010 3:25 pm
Location: Dallas/Ft. Worth, Texas

Re: FTDI Friend + extras - v1.0

Postby RoysterBot » Mon Aug 29, 2011 1:21 pm

I get the same exact results when trying to upload to the Arduino Ethernet using the USB to TTL Serial cable as I do with the FTDI Friend. I have tried two different Arduino Ethernet boards. I have tried two different Windows workstations, one Windows XP and one Windows 7. I have tried rolling back the FTDI drivers and re-installing the latest released drivers (2.8.14) without any luck.

Is my assumption that the Arduino Ethernet ships with a bootloader installed correct?

Thanks!
RoysterBot
 
Posts: 8
Joined: Tue May 11, 2010 3:25 pm
Location: Dallas/Ft. Worth, Texas

Re: FTDI Friend + extras - v1.0

Postby adafruit_support_bill » Mon Aug 29, 2011 1:51 pm

Are you able to upload to either board with a standard USB cable?
User avatar
adafruit_support_bill
 
Posts: 16617
Joined: Sat Feb 07, 2009 9:11 am

Re: FTDI Friend + extras - v1.0

Postby RoysterBot » Mon Aug 29, 2011 2:02 pm

Can you elaborate? There is no USB connection on the Arduino Ethernet so I cannot use a standard USB cable to upload with. That is why I have to use the FTDI Friend or the USB to TTL serial cable.
RoysterBot
 
Posts: 8
Joined: Tue May 11, 2010 3:25 pm
Location: Dallas/Ft. Worth, Texas

Re: FTDI Friend + extras - v1.0

Postby adafruit_support_bill » Mon Aug 29, 2011 2:11 pm

You are correct. I thought they had a mini plug on them, but I guess not. I just pulled one out to see if I could reproduce the problem. I'll let you know what I find.
User avatar
adafruit_support_bill
 
Posts: 16617
Joined: Sat Feb 07, 2009 9:11 am

Re: FTDI Friend + extras - v1.0

Postby RoysterBot » Mon Aug 29, 2011 3:13 pm

It looks like the Arduino folks have identified a timing issue between the bootloader and some FTDI cables. Here is a link to the thread I found. I have included the post from Massimo Banzi from that thread below.

Thanks,
...Roy...



http://arduino.cc/forum/index.php?topic=69209.0


(i'm reposting this from a different thread for semplicity)

Just a quick update of our current tests..

We have been testing a large number of boards with a 5v ftdi cable..
In a set of 40 boards 5 had issues with the cable...
It's a timing issue between the bootloader and the cable.
I guess that the timing issues are within close reach of the tolerances that any circuit has therefore only some boards have that problem.

Those boards work ok with the USB2Serial module that we manufacture.

We are now testing an updated bootloader that seem to solve all the timing issues.
We'll port an official solution on the blog after we have determined that the bootloader solves the issues.

thanks for your patience

m
RoysterBot
 
Posts: 8
Joined: Tue May 11, 2010 3:25 pm
Location: Dallas/Ft. Worth, Texas

Re: FTDI Friend + extras - v1.0

Postby adafruit_support_bill » Mon Aug 29, 2011 3:21 pm

In my test here, it worked fine with a direct connection, but had about a 30-40% upload failure rate going through a usb hub.

I guess we wait for the updated bootloader from the Arduino team. Thanks for posting the details. :)
User avatar
adafruit_support_bill
 
Posts: 16617
Joined: Sat Feb 07, 2009 9:11 am

Next

Return to Other Arduino products from Adafruit

Who is online

Users browsing this forum: mibignistinly and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [114]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]