Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16703 Discussions

How to communicate between custom software and FPGA using JTAG?

POvch
Beginner
1,313 Views

Hello,

I have to implement a pc (Linux and Windows) application which has a GUI and can read from and write to a FPGA using JTAG. Also some other functionalities for analysis. I've implemented an application using TCL and system console but the result isn't satisfying.

Now I'm writing a java application but need some libs or services to implement "master_read_32" and "master_write_32". As in altera_jtag_to_avalon_mm_tutorial mentioned, using jtagservice/jtagd seems to be the right direction but makes a lot of trouble for me. First, I can't find any documentation how to use jtagservice or what is jtagservice exactly for. Second, I've to enable port TCP 1309 (https://www.doulos.com/knowhow/fpga/remote_programming/) which I am not allowed to.

 

Any suggestions how to make read and write happen?

 

Thank You

Pavel

 

0 Kudos
4 Replies
JohnT_Intel
Employee
427 Views

Hi,

 

This is not supported. The only method to use System Console is by utilizing Intel FPGA blaster.​

0 Kudos
POvch
Beginner
427 Views

Hi John,

I guess that my description is a bit misleading. PC isn't connected to the JTAG directly, we are using USB Blaster. The solution with the system console works already, but we don't want to use it. Therefore I'm looking for another way to control the USB Blaster via my java application.

Hopefully, my language is understandable.

0 Kudos
JohnT_Intel
Employee
427 Views

Hi,

 

Unfortunately, there is no way to interface with it other than System Console.

0 Kudos
POvch
Beginner
427 Views

Hi,

ok, thank you very much John.

Then I'll use system console as a subprocess. As like https://stackoverflow.com/a/34800683 , but with java.

 

0 Kudos
Reply