demyanenko-d / jtag_hw_mbftdi_blaster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project provides sources of Intel Quartus Prime DLL driver of MBFTDI JTAG programmer based on FTDI chip.
Supported chips are two port FT2232 and four port FT4232.
FPGA boards supported by this driver:
1) Marsohod2 (Cyclone III EP3C10E144C8) https://marsohod.org/howtostart/marsohod2
2) Marsohod2bis (Cyclone IVE EP4CE6E22C8N or EP4CE10E22C8N) https://marsohod.org/11-blog/289-marsohod2bis
3) Marsohod3 (MAX10, 10M50SAE144C8) https://marsohod.org/howtostart/plata-marsokhod3
4) Marsohod3bis (MAX10, 10M08SAE144C8) https://marsohod.org/howtostart/plata-marsokhod3
5) M02mini (MAX10, 10M02DCV36C8) https://marsohod.org/howtostart/plata-m02mini

MBFTDI Jtag programmer description is here: https://marsohod.org/prodmbftdi

To build project for Windows You need MS Visual Studio 2019.
Open solution jtag_hw_mbftdi_blaster.sln and build project jtag_hw_mbftdi_blaster.vcxproj from that solution.
Result is jtag_hw_mbftdi_blaster64.dll.
Just copy it into Quartus binary dir like that d:\intelFPGA_lite\20.1\quartus\bin64\
DLL is taken by jtagserver.exe process under Windows, when Quartus starts programmer ot SignalTap.

By default, 1st port of FT2232 is acquired by DLL for JTAG purposes.
Then 2nd port is still free for UART communication of YOur FPGA.

To build driver under Ubuntu just run "make ftdi" and result is libjtag_hw_mbftdi-blaster.so driver used by Linux Quartus.

Another project is related to network jtagging to marsohod2rpi FPGA board https://marsohod.org/howtostart/m2rpi

M2RPI board is connected to Raspberry Zero/1/2/3/4.
Then build and run on Raspberry JTAG server:
> cd nw_jtag_srv
> make
> sudo nw_jtag_srv

This JTAG server will wait remote JTAG commands from Quartus running under WIndows or Ubuntu.
For Windows do build project jtag_hw_net_blaster.vcxproj
Result will be jtag_hw_net_blaster64.dll should be copied to Quartus bin64 directory.
So Quartus JTAG server via DLL will communicate to Raspberry to program FPGA of Marsohod2RPI board.

About

License:GNU Lesser General Public License v2.1


Languages

Language:C 75.2%Language:Shell 13.9%Language:Makefile 5.6%Language:C++ 5.2%Language:M4 0.0%