Differences
This shows you the differences between two versions of the page.
| |
| boards:ecb:usb-fifo:start [2023/06/04 04:53] – Revision from 2023-06-04 | boards:ecb:usb-fifo:start [2026/06/15 12:12] (current) – external edit 127.0.0.1 |
|---|
| /* Imported from Wayback Machine | /* Imported from Wayback Machine |
| Original URL : https://www.retrobrewcomputers.org/doku.php?id=boards:ecb:usb-fifo:start | Original URL : https://retrobrewcomputers.org/doku.php?id=boards%3Aecb%3Ausb-fifo%3Astart |
| Snapshot date: 2023-06-04 | Snapshot date: 2026-03-08 |
| Generator : wayback-archiver | Generator : wayback-archiver |
| */ | */ |
| ===== Schematic ===== | ===== Schematic ===== |
| |
| [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:usb-fifo:ecb_usb_fifo.pdf|PDF Schematic]] | [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:usb-fifo:ecb_usb_fifo.pdf|PDF Schematic]] |
| |
| ===== Bill of Materials ===== | ===== Bill of Materials ===== |
| The FT232H breakout board contains a serial EEPROM which **must be programmed** to configure the FT232H to use the correct operating mode (“245 Asynchronous FIFO”). This can be done over USB from a PC. The EEPROM needs to be programmed one time only. | The FT232H breakout board contains a serial EEPROM which **must be programmed** to configure the FT232H to use the correct operating mode (“245 Asynchronous FIFO”). This can be done over USB from a PC. The EEPROM needs to be programmed one time only. |
| |
| **For Windows** you need to use the [[http://www.ftdichip.com/Support/Utilities.htm#FT_PROG|FT_PROG]] utility which can be freely downloaded from the FTDI web site. I've made a [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:usb-fifo:ft232h-template.zip|template]] that you can load into the FT_PROG program. The program is a bit counter-intuitive so here are some brief instructions: Connect the USB device, run FT_PROG, load the provided XML template. Tell FT_PROG to scan for devices, then right-click on the FT232H USB device (not the template) and tell it to apply the loaded template. This sets the desired configuration for the device. Click the “Program Devices” button in the toolbar, then click the “Program” button. This writes the configuration to the EEPROM. | **For Windows** you need to use the [[http://www.ftdichip.com/Support/Utilities.htm#FT_PROG|FT_PROG]] utility which can be freely downloaded from the FTDI web site. I've made a [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:usb-fifo:ft232h-template.zip|template]] that you can load into the FT_PROG program. The program is a bit counter-intuitive so here are some brief instructions: Connect the USB device, run FT_PROG, load the provided XML template. Tell FT_PROG to scan for devices, then right-click on the FT232H USB device (not the template) and tell it to apply the loaded template. This sets the desired configuration for the device. Click the “Program Devices” button in the toolbar, then click the “Program” button. This writes the configuration to the EEPROM. |
| |
| **For Linux** I have written a [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:usb-fifo:ft232h-program-eeprom.tar.gz|short C program]] which uses libftdi1 to program the EEPROM. The tarball contains both the source code and a binary with libftdi1 and libusb statically linked in, this should work on most recent Linux systems. Ensure the FT232H board is the only connected FTDI device (just in case it tries to overwrite the EEPROM in other devices!) and then run “sudo ./program-eeprom -w” to program the device. Running “sudo ./program-eeprom” (without the “-w” option) will report the current EEPROM contents. | **For Linux** I have written a [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:usb-fifo:ft232h-program-eeprom.tar.gz|short C program]] which uses libftdi1 to program the EEPROM. The tarball contains both the source code and a binary with libftdi1 and libusb statically linked in, this should work on most recent Linux systems. Ensure the FT232H board is the only connected FTDI device (just in case it tries to overwrite the EEPROM in other devices!) and then run “sudo ./program-eeprom -w” to program the device. Running “sudo ./program-eeprom” (without the “-w” option) will report the current EEPROM contents. |
| |
| **For MacOS** I had success running FT_PROG in a virtual Windows machine (using Parallels Desktop) using the USB passthrough feature. In principle it should also be possible to compile libusb, libftdi1 and use my C program to program the EEPROM but I have not tested this. | **For MacOS** I had success running FT_PROG in a virtual Windows machine (using Parallels Desktop) using the USB passthrough feature. In principle it should also be possible to compile libusb, libftdi1 and use my C program to program the EEPROM but I have not tested this. |