Forum Discussion

POvch's avatar
POvch
Icon for New Contributor rankNew Contributor
7 years ago

How to communicate between custom software and FPGA using JTAG?

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

4 Replies

  • JohnT_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi,

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

  • POvch's avatar
    POvch
    Icon for New Contributor rankNew Contributor

    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_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi,

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