view eeproms/icestick @ 105:1e820ed0904e

Installed-binaries: list of binaries installed by this package I am establishing a new convention for all FreeCalypso tools, across different packages and source repositories: each FC tools package will have a file name Installed-binaries listing all user-invokable binaries that package installs in /opt/freecalypso/bin. These files are to serve as an aid to users and distro package maintainers who prefer to not add /opt/freecalypso/bin to their PATH. The alternative to adding this directory to PATH is to create a symlink for every installed binary in some standard location such as /usr/bin or /usr/local/bin, pointing to the actual binary in /opt/freecalypso/bin; having a list of all FC-installed binaries in a standardized format will allow this process to be automated.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 29 Sep 2023 19:42:53 +0000
parents d46ea7a3fa0c
children
line wrap: on
line source

# Lattice iCEstick FPGA board features an FT2232H chip, with Channel A wired
# for MPSSE mode (access to SPI flash and FPGA configuration controls) and
# Channel B wired as a UART for user logic implemented in the FPGA.  This
# FT2232H subsystem includes a 93C56 EEPROM, but boards are shipped with it
# blank, causing the FT2232H chip to take its default VID:PID.
#
# Having this default VID:PID causes undesirable behavior under Linux: a pair
# of ttyUSB devices is created upon plug-in, but the first of these two then
# disappears when the developer runs iceprog to manipulate FPGA programming,
# creating a gap in ttyUSB device numbers.  And even if you are working with a
# stable logic design and not running iceprog, the first of the two created
# ttyUSB devices is still bogus, as that hardware channel is wired for MPSSE
# and not UART.
#
# In Falconian queendom, the solution to this problem is to program the EEPROM
# behind the FT2232H chip with our own image and set the USB ID to a code that
# tells the Linux kernel to create a ttyUSB device only for Channel B - the
# so-called "JTAG quirk".  Falconia Partners LLC got a block of 8 PIDs
# officially allocated to us by FTDI, and since 2020-09 the mainline Linux
# kernel recognizes two of them as JTAG quirks.  Use one of those two PIDs.

ftdi-chip FT2232H
eeprom 93C56

vid 0x0403	# FTDI
pid 0x7150	# Allocated by FTDI to Falconia, JTAG quirk in Linux

manuf Lattice
product ICE40HX1K-STICK-EVN