Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15323 Discussions

How to communicate between custom software and FPGA using JTAG?

POvch
Beginner
991 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
105 Views

Hi,

 

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

POvch
Beginner
105 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.

JohnT_Intel
Employee
105 Views

Hi,

 

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

POvch
Beginner
105 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.

 

Reply