Discussion:
[UrJTAG-dev] FT232R driver
Åke Rehnman
2012-10-10 18:58:04 UTC
Permalink
Hello all,



I’ve written a driver for the ft232r. It’s not as fast as the ft2232 driver because of the slower 1ms frame rate for the full speed (12mb/s) ft232r, but I still useful I think. I wrote the driver in separate files not to mess with the ft2232. Still to do is a bit of cleaning, update the makefiles and writing linux support as well. Please give comments (and bear in mind I’m an electronics engineer rather than a software engineer).



/Ake
Mike Frysinger
2012-10-15 03:02:02 UTC
Permalink
Post by Åke Rehnman
I’ve written a driver for the ft232r. It’s not as fast as the ft2232 driver
because of the slower 1ms frame rate for the full speed (12mb/s) ft232r,
but I still useful I think. I wrote the driver in separate files not to
mess with the ft2232. Still to do is a bit of cleaning, update the
makefiles and writing linux support as well. Please give comments (and
bear in mind I’m an electronics engineer rather than a software engineer).
seems like it shares a lot with the existing ft2232 driver. would be good to
keep them merged.
-mike
Åke Rehnman
2012-10-21 22:42:38 UTC
Permalink
So, here's the final FT232R for both ftd2xx and ftdi low level drivers.

/Ake
Benjamin Henrion
2012-10-21 22:54:14 UTC
Permalink
Post by Åke Rehnman
So, here's the final FT232R for both ftd2xx and ftdi low level drivers.
The FT232R is used on the Arduino Duemilanove, where you can solder 4
pins to have access to the GPIOs of the chip:

http://smileymicros.com/blog/2011/06/10/serial-communications-part-3-arduino-volt-meter-and-ft232r/

I also made a special USB cable in order to make the FTDI chip and the
Atmega run in 3.3v:

http://www.zoobab.com/arduino-duemilanove-in-3-3v

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Åke Rehnman
2012-10-21 23:09:38 UTC
Permalink
The FT232R is abundantly available in all kinds of dongles and boards.
There's also numerous cables available from FTDI with the FT232R chip.

http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm

/Ake

-----Original Message-----
From: ***@gmail.com [mailto:***@gmail.com] On Behalf Of Benjamin
Henrion
Sent: den 22 oktober 2012 00:54
To: Åke Rehnman
Cc: urjtag-***@lists.sourceforge.net
Subject: Re: [UrJTAG-dev] FT232R driver
Post by Åke Rehnman
So, here's the final FT232R for both ftd2xx and ftdi low level drivers.
The FT232R is used on the Arduino Duemilanove, where you can solder 4
pins to have access to the GPIOs of the chip:

http://smileymicros.com/blog/2011/06/10/serial-communications-part-3-arduino
-volt-meter-and-ft232r/

I also made a special USB cable in order to make the FTDI chip and the
Atmega run in 3.3v:

http://www.zoobab.com/arduino-duemilanove-in-3-3v

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Gregg Levine
2012-10-22 00:58:28 UTC
Permalink
Post by Åke Rehnman
The FT232R is abundantly available in all kinds of dongles and boards.
There's also numerous cables available from FTDI with the FT232R chip.
http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm
/Ake
-----Original Message-----
Henrion
Sent: den 22 oktober 2012 00:54
To: Åke Rehnman
Subject: Re: [UrJTAG-dev] FT232R driver
Post by Åke Rehnman
So, here's the final FT232R for both ftd2xx and ftdi low level drivers.
The FT232R is used on the Arduino Duemilanove, where you can solder 4
http://smileymicros.com/blog/2011/06/10/serial-communications-part-3-arduino
-volt-meter-and-ft232r/
I also made a special USB cable in order to make the FTDI chip and the
http://www.zoobab.com/arduino-duemilanove-in-3-3v
--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
Hello!
For a project I am currently working my way through I finally have a
need for traversing the chains associated with the parts of JTAG that
were originally conceived for the self-test functions. That being said
I see that work is being delivered with regards to using the ordinary
FT232R device in bit-bang mode for that illustrious purpose. I have
two here as breakout boards from Sparkfun. Any suggestions for
configuring either of them for this method? I plan on doing so via
Linux.

I had originally thought of visiting the methods suggested by
configuring an ordinary Arduino to do the job, then I discovered that
the program that talked to the device running the appropriate sketch
was oriented towards sorting out the odd broken router.
-----
Gregg C Levine ***@gmail.com
"This signature fought the Time Wars, time and again."
Åke Rehnman
2012-10-23 07:34:41 UTC
Permalink
I guess It's just a matter of connecting txd, rxd, rts and cts lines to tck,
tdi, tdo and tms respectively. There's no actual need to "configure" since
urjtag is taking care of putting the chip into bitbang mode.

/Ake

-----Original Message-----
From: Gregg Levine [mailto:***@gmail.com]
Sent: den 22 oktober 2012 02:58
To: urjtag-***@lists.sourceforge.net
Subject: Re: [UrJTAG-dev] FT232R driver
Post by Åke Rehnman
The FT232R is abundantly available in all kinds of dongles and boards.
There's also numerous cables available from FTDI with the FT232R chip.
http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm
/Ake
-----Original Message-----
Henrion
Sent: den 22 oktober 2012 00:54
To: Åke Rehnman
Subject: Re: [UrJTAG-dev] FT232R driver
Post by Åke Rehnman
So, here's the final FT232R for both ftd2xx and ftdi low level drivers.
The FT232R is used on the Arduino Duemilanove, where you can solder 4
http://smileymicros.com/blog/2011/06/10/serial-communications-part-3-arduino
Post by Åke Rehnman
-volt-meter-and-ft232r/
I also made a special USB cable in order to make the FTDI chip and the
http://www.zoobab.com/arduino-duemilanove-in-3-3v
--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
Hello!
For a project I am currently working my way through I finally have a
need for traversing the chains associated with the parts of JTAG that
were originally conceived for the self-test functions. That being said
I see that work is being delivered with regards to using the ordinary
FT232R device in bit-bang mode for that illustrious purpose. I have
two here as breakout boards from Sparkfun. Any suggestions for
configuring either of them for this method? I plan on doing so via
Linux.

I had originally thought of visiting the methods suggested by
configuring an ordinary Arduino to do the job, then I discovered that
the program that talked to the device running the appropriate sketch
was oriented towards sorting out the odd broken router.
-----
Gregg C Levine ***@gmail.com
"This signature fought the Time Wars, time and again."

----------------------------------------------------------------------------
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
Gregg Levine
2012-10-23 16:08:33 UTC
Permalink
Post by Åke Rehnman
I guess It's just a matter of connecting txd, rxd, rts and cts lines to tck,
tdi, tdo and tms respectively. There's no actual need to "configure" since
urjtag is taking care of putting the chip into bitbang mode.
/Ake
-----Original Message-----
Sent: den 22 oktober 2012 02:58
Subject: Re: [UrJTAG-dev] FT232R driver
Post by Åke Rehnman
The FT232R is abundantly available in all kinds of dongles and boards.
There's also numerous cables available from FTDI with the FT232R chip.
http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm
/Ake
-----Original Message-----
Henrion
Sent: den 22 oktober 2012 00:54
To: Åke Rehnman
Subject: Re: [UrJTAG-dev] FT232R driver
Post by Åke Rehnman
So, here's the final FT232R for both ftd2xx and ftdi low level drivers.
The FT232R is used on the Arduino Duemilanove, where you can solder 4
http://smileymicros.com/blog/2011/06/10/serial-communications-part-3-arduino
Post by Åke Rehnman
-volt-meter-and-ft232r/
I also made a special USB cable in order to make the FTDI chip and the
http://www.zoobab.com/arduino-duemilanove-in-3-3v
--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
Hello!
For a project I am currently working my way through I finally have a
need for traversing the chains associated with the parts of JTAG that
were originally conceived for the self-test functions. That being said
I see that work is being delivered with regards to using the ordinary
FT232R device in bit-bang mode for that illustrious purpose. I have
two here as breakout boards from Sparkfun. Any suggestions for
configuring either of them for this method? I plan on doing so via
Linux.
I had originally thought of visiting the methods suggested by
configuring an ordinary Arduino to do the job, then I discovered that
the program that talked to the device running the appropriate sketch
was oriented towards sorting out the odd broken router.
-----
"This signature fought the Time Wars, time and again."
----------------------------------------------------------------------------
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
UrJTAG-development mailing list
https://lists.sourceforge.net/lists/listinfo/urjtag-development
Hello!
Let see if I understand you correctly:
"txd, rxd, rts and cts lines to tck, tdi, tdo and tms" which is
TXD goes to TDI
RXD goes to TDO
TCK goes to RTS
TMS goes to CTS

Which is interesting because I came across this page while waiting for
your response:
http://openschemes.com/2011/10/25/bit-bang-jtag-programming-of-xilinx-cpld-using-ft232-homebrew-svf-player/6/

That site discusses largely one or more of the ideas behind our
program. And the picture shown comes largely close to your
presentation.
-----
Gregg C Levine ***@gmail.com
"This signature fought the Time Wars, time and again."
Benjamin Henrion
2012-10-24 20:03:36 UTC
Permalink
Post by Åke Rehnman
The FT232R is abundantly available in all kinds of dongles and boards.
There's also numerous cables available from FTDI with the FT232R chip.
http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm
Just discovered this one as well:

http://dx.com/p/ft232-usb-to-serial-breakout-board-black-silver-161170

Since the ModernDevice BUB1 is not produced anymore, that might be a
good replacement.
--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Loading...