« Return to Thread: Can AVRDude communicate with an FT232R using the D2XX drivers instead of a VCP?

Re: Can AVRDude communicate with an FT232R using the D2XX drivers instead of a VCP?

by "Ing. Daniel Rozsnyó" :: Rate this Message:

| View in Thread

On 01/02/2012 06:55 PM, Joerg Wunsch wrote:

> Xiaofan Chen<xiaofanc@...>  wrote:
>
>>> Does AVRDude have any facilities to do this? Does it already
>>> understand how to use D2XX or does it not include that
>>> functionality?
>> I do not think the mainline codes do not support d2xx. There are
>> patches though but none of them have been integrated.
> And frankly: they won't ever be.  One of the hosting requirements on
> savannah.nongnu.org is that only "free software" (in the FSF's
> terminology, and by their definition of "free software") must be
> provided there.  Linking against D2XX would not satisfy that
> condition.  (Linking against libftdi is, of course, OK, as it is free
> software by the FSF's definition.)
>
> But sorry, nobody so far taught AVRDUDE about these details.
> "avrftdi" is a bit-bang programmer using the MPSSE's native bit-bang
> mode (on top of libftdi).
>

Just a little bit of my know-how from yesterday - "avrftdi" is not a
freely configurable bit-bang programmer - I wired my FT2232H module in a
wrong way (AD/AC bus exchanged) and trying to reconfigure the pins from
1,2,3 to 9,10,11 lead to no operation and a little error note that for
MPSSE those must be kept 1,2,3.

The warning message and the overall behavior of avrdude seemed like it
should go in a real bit-bang mode, but it wasn't - signals were not
present on any of the pins of the FT module. I had to patch my board for
the three signals coming  from MPSSE, however the BUFF and RST could be
remapped using avrdude.conf.

Daniel

_______________________________________________
AVR-chat mailing list
AVR-chat@...
https://lists.nongnu.org/mailman/listinfo/avr-chat

 « Return to Thread: Can AVRDude communicate with an FT232R using the D2XX drivers instead of a VCP?