Giter VIP home page Giter VIP logo

Comments (5)

benitoss avatar benitoss commented on May 30, 2024

In theory all JTAG programmers supported by OpenFPGALoader could workk with ICEStudio to program the Colorlight FPGA boards.
However, the design of ICEStudio doesn't allow to work with different JTAG programmers for the same board.
So, each FPGA board has associated one JTAG Programmer, and it is necessary to duplicate the board in ICEStudio to work with different JTAG programmer. That is the reason that you can see for example in the ECP5 board parts, the same Colorlight board with a different JTAG programmer in parenthesis.
It is not complicated to create a new copy of the Colorlight 5A-75E board (v8.0) with FT232RL as a JTAG programmer but in the same way, other users can ask support for several JTAG programmer for each Colorlight board and it should be crazy.

So, the best solution requires a complete modification of the ICEStudio and Apio to support for the same board different JTAG programmer.

Anyway, I don't recommend to use the FT232RL in bitbang because it is too slow programming the board.
The recommended JTAG programmer for all Colorlight FPGA boards is the FT2232H programmer because it is not too expensive, it is really fast and it is supported in ICEStudio for all Colorlight FPGA boards.
You can buy one here:
https://es.aliexpress.com/item/32806818411.html?spm=a2g0s.12269583.0.0.5add6f4bElJ1Vx&gatewayAdapt=glo2esp

from icestudio.

roby2014 avatar roby2014 commented on May 30, 2024

Anyway, I don't recommend to use the FT232RL in bitbang because it is too slow programming the board.

I understand that is not "recommended", but not everyone has the same hardware/money. IMO, there should be as maximum JTAG programmers for each board as possible so people don't need to waste 20€ on a JTAG programmer like the FT2232H (instead of 1€ on a FT232RL which is very easy to find).

Technically, it should not be hard to add support, all it needs is some special arguments for openFPGALoader, example:

> openFPGALoader --cable ft232RL --pins=RXD:RTS:TXD:CTS bitstream.bit

from icestudio.

benitoss avatar benitoss commented on May 30, 2024

For $8 including shipping you can get the FT232H programmer here:
https://www.aliexpress.us/item/2251832861120673.html

And for less than $4-$5 including shipping you can get the USB Blaster Programmer here:
https://www.aliexpress.us/item/3256801662617764.html

I don't think that $5 or $8 is too much for a JTAG programmer that is considerably faster than FT232RL

Of course that the FT232RL can be used as a programmer in IceStudio because it is compatible with openFPGALoader, but the question is if it is valuable for the community.

from icestudio.

benitoss avatar benitoss commented on May 30, 2024

Let me send you examples of the speed when you program the board with different programmers.
My tests are done in the EBAZ4205 Xilinx board but I think the results are similar with the Colorlight Boards.

FT2232H programmer (similar to FT232H) --> 1.75 seconds
USB-Blaster programmer --> 15.76 seconds
STM32 (Blue Pill) --> 194.72 seconds

The EBAZ4205 board has 35K Logic Elements and the Colorlight board has 25K, so the time to program the Colorlight will spend almost 1/3 less time.
STM32 works similar to the FT232R. As you see it spends a minimal of 2 minutes for program a board with FT232R, when the USB-Blaster spends ~11 seconds.
You can see the attached files with the results

FT2232H_EBAZ4205
FT2232H_OpenOCD
STM32_programmer_EBAZ4205
STM32_programmer_OpenOCD(Versalon)
USB-Blaster_EBAZ4205
USB-Blaster_OpenOCD

Regards
Fernando

from icestudio.

roby2014 avatar roby2014 commented on May 30, 2024

Yes, I do understand that those programmers are waaaaaay faster than the FT232RL!
That's not the point here, it was just a suggestion because I would prefer sticking up with this programmer instead of buying another one. The point of this PR is to add support to hardware that some people may have available.

from icestudio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.