avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #30559] Ft232 bit-bang support


From: Roger Wolff
Subject: [avrdude-dev] [bug #30559] Ft232 bit-bang support
Date: Sun, 05 Feb 2012 09:59:26 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0

Follow-up Comment #12, bug #30559 (project avrdude):

Just for the record. 

I don't think that merging them should be done "just because they use similar
chips". 

If merging is done I think the reason should be: "Because they share a lot of
code". 

For example, suppose the rasbperry pi board has an SPI port (it does), then
AVRDude might be able to program AVRs through that SPI port. 

But suppose that the board also has general purpose IO pins (it does), then
AVRDude may be able to program AVRs through those GPIO pins. In fact, the SPI
pins can be configured and used as GPIO pins as well. So it can be said that
the same chip/board can switch between the hardware SPI and software
bitbanging on the same pins. 

I think that conceptually they are different drivers and should not be merged
into one sourcefile. 

A very similar thing is happening here: The mpsse module in the modern FTDI
chips can be used (one driver) or a different "module" of the chip (syncbb)
can be used (the other driver). 

And just like the example of the raspberry pi board, the MPSSE mode cannot
allow pin assigments to be "random", while the bitbanging modes allow
(almost?) every combination of assignments of pins to functions.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?30559>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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