Forum Discussion

AustinTatious's avatar
AustinTatious
Icon for New Contributor rankNew Contributor
3 years ago

Accessing code on a Max10 FPGA

We have an Altera Max 10 FPGA chip on one of our circuit boards. We are able to push code to it using bash script but I have no idea how to perform the following functions now that the code is on the fpga:

1. Connect - Connect to the FPGA and confirm that the connection was established

2. Disconnect - Disconnect from the FPGA and confirm that the connection was terminated

3. Read - Read data from the FPGA

4. Write - Write data to the FPGA

5. Run - Run to code on the FPGA

6. Stop - Stop the code running on the FPGA

7. Version - Read back the version of the code on the FPGA

In the past we were able to access these functions via the fs2nios.dll, but since the move to the usb blaster I've been unable to find any documentation on the usbblaster.dll to replicate our old methods of accessing the code on the FPGA.

Are these commands available in Quartus 18.1? If so can they be automated using tcl scripts? Is there another recommended software for accessing data from the FPGA after the code has been compiled to it?

14 Replies

  • I'm aware that FS2 is no longer in business and that the associated software does not work on newer computers. What I'm attempting to do is replicate the functionality of the old code using the most recent methodology. We have tcl code that uses the system-console.exe to perform the actions needed but my current problem is that those methods use the master_write_32, master_read_32 functions pretty extensively. The arguments are "service-path", "address", and "values". The service paths were being populated by the "get_service_paths master" command, but currently when the device is plugged in we see the devices in "get_service_paths devices" but nothing when we try "get_service_paths master" which causes none of our functions to work. I'm trying to debug why my master service paths are populating. I have access to the .pof and .sof files but nothing else, and I'm trying to figure out what to ask for from our development team and when I get it where to check to ensure that the master services are initiated.

  • FvM's avatar
    FvM
    Icon for Super Contributor rankSuper Contributor

    Thanks for the explanation. So you expect that these functions should be working with the genuine Quartus system console. Unfortunately I'm not working with SOPC Builder, but there should be a documentation.

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

    Hi AustinTatious,


    Can we have a short meeting via Teams?

    We will discuss this further there and I will send you the invitation to your email.


    Regards,

    Fakhrul