mc68451 / jtag-quartus-ft232h

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JTAG library for FT232H on OCS Tray Mezzanine Adapter

Current state

  • JTAG scan chain and programming of the FPGA works (see the screenshot below)
  • Initialization of the MPSSE is not implemented --> run OpenOCD once to init the device
  • Smaller improvements also pending

Download time

The following table present the bitstream download time at different clock speeds for 5SGSMD5 with the bitstream size of 213,798,880 bits (cca 26 MB).

Clock rate [MHz] Download time [mm:ss]
2 03:51
4 02:50
6 02:24
10 02:03
20 01:54

Initialization

To initialize the FT232H, run the following command:

openocd \
    -f interface/ftdi/um232h.cfg \
    -c "adapter_khz 2000; transport select jtag; jtag newtap auto0 tap -irlen 10 -expected-id 0x029070dd";

Usage example

Result after programming the bitstream:

Quartus Programmer

Useful links

Dummy device

To install the library:

sudo ln -sf $(readlink -f libjtag_hw_dummy.so) /opt/intelFPGA/19.1/quartus/linux64/

To listen do the debug log:

nc -lkuU /var/tmp/jtag-dummy.sock

About

License:GNU General Public License v3.0


Languages

Language:C 87.2%Language:C++ 11.8%Language:CMake 0.6%Language:Shell 0.4%