FPGAwars / apio

:seedling: Open source ecosystem for open FPGA boards
https://github.com/FPGAwars/apio/wiki
GNU General Public License v2.0
772 stars 131 forks source link

Feature Request: Support generic FTDI boards for programming #375

Open jasonsbeer opened 2 months ago

jasonsbeer commented 2 months ago

I have an Adafruit FT232H board I wish to use for programming SPI flash memory for the iCE40HX4K. This is one example of many generic FTDI boards out there. My intent is to program the flash memory in a project. I am not using a dev board. Reviewing the documentation for the UPLOAD command, there does not appear to be any way to point to a generic FTDI board, such as this.

My apologies if this capability already exists, but I can find no documented procedures. Please see the output below. I am using Ubuntu 23.10.

(.venv) jason@lab-computer:~/Documents/GitHub/AmigaPCI/Logic/U712$ apio system --lsftdi ftdi_usb_get_strings failed: -7 (libusb_get_string_descriptor_ascii() failed) Number of FTDI devices found: 1 Checking device: 0

Documentaion cited: https://github.com/FPGAwars/apio/wiki/Apio-Upload

Thanks for this project and all your hard work.

jasonsbeer commented 2 months ago

I just needed to dig a little further to see I can use ICEPROG, which is part of icestorm, to accomplish this task. Hopefully this will help someone in the future. Please close.

icestorm link : https://github.com/YosysHQ/icestorm/tree/master