avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avrdude-dev] [bug #38659] AVRFTDI not working anymore since svn1098


From: Hannes Weisbach
Subject: Re: [avrdude-dev] [bug #38659] AVRFTDI not working anymore since svn1098 and destroys flash-contents
Date: Fri, 17 May 2013 09:37:20 +0200

Am 30.04.2013 um 15:05 schrieb Tom:

> Follow-up Comment #12, bug #38659 (project avrdude):
> 
> It's working now again (tested with Linux), but the support for the FT2232D is
> now disabled in code. In "avrftdi.c:747-751" between Svn-Version 1141 and 1142
> the #if was removed and the FT2232D chip-type is 1 (TYPE_BM). 
> 
> This chip is working for me with a pin_limit of 7 and package size of 384.
> Please re-enable it.
I just ran into this issue a week ago. This is due to the co-installation of 
libftdi-0.x and libftdi-1.x. libftdi-0.x is before libftdi-1.0 in the library 
list for the linker. So I suppose functions which have the same name in both 
versions (which is almost all of them) are linked to libftdi-0.x (instead of 
libftdi-1.x). Uninstall libftdi-0.x and reconfigure/compile. If you have to use 
libftdi-0.x for other programmers, then you have to build two binaries. One 
with libftdi-0.x where avrftdi should be disabled and one with libftdi-1.x 
where avrftdi is enabled.

However, in the current SVN revision avrftdi accepts libftdi-0.x again, so 
you/we might get away with changing the link order of libftdi-0.x and 
libftdi-1.x.

Best regards,
Hannes


reply via email to

[Prev in Thread] Current Thread [Next in Thread]