User Profile
User Widgets
Contributions
Re: Accessing code on a Max10 FPGA
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.2.5KViews0likes0CommentsRe: Accessing code on a Max10 FPGA
No I don't want to close this ticket yet. My master service still isn't functioning and its the core of my code's functionality. I have the .pof and .sof files but I'm not sure how to debug why this master service isn't functioning. Is it possible to debug it with just these files or do I need the project file? Does the master service need to be instantiated correctly before those files are compiled or is there a way to initialize it from the tcl console?2.5KViews0likes0CommentsRe: Accessing code on a Max10 FPGA
The library and common tcl files I've been given to work with 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 so at least according to the way the existing code architecture is written it seems pretty important. Our goal isn't to reprogram or blank the device, but to communicate with it once it has already been programmed using read and write functions. All of our existing code revolves around communicating with the fpga using these master write and read functions. I was trying to not throw the figurative baby out with the bath water because I've been having issues getting their code to work, but if there are other read/write methods I'm not considering that don't rely on the master service path then I'm all ears.2.6KViews0likes0CommentsRe: Accessing code on a Max10 FPGA
We are using a Windows environment and using the Quartus system-console to run tcl scripts written by our development department. There are .pof and .sof files that we've used to configure the FPGA, but the script relies on the "get_service_paths master" command to populate the global variables used to connect to the fpga, yet the command returns no master service paths. The device service paths show up just fine so we know the jtag connection between the computer and the fpga is functioning, but not the master ones. From my understanding the .pof and .sof files are just used to configure the jtag connection, not to set up services but I could be mistaken. We're not sure how to debug why the master services are appearing when we use the "get_service_paths" proceedure is used. Any assistance would be appreciated.2.7KViews0likes0CommentsRe: get_service_paths yields no service paths
So to be clear, we received a board with the Altera chip on it which should have already been configured with the host (master) interface configured. After looking through the batch files we were given they only seem to establish the jtag connection but not upload any configurations to the chip. The fact that we aren't seeing the master service after the board is powered and the jtag connection is established means that we need to open the original project used to compile the fpga in the first place and diagnose what the problem is. Is there anyway to do that without the original project? Thanks for your help so far, this has been immensely useful.2.8KViews0likes0CommentsRe: get_service_paths yields no service paths
I went into Qsys and added a JTAG to Avalon Master Bridge and saved the test.qsys file with my other quartus files, but when I went to test "get_service_paths master" I still get nothing. Should I have my .qsys file saved somewhere else? Is there something else I'm missing?2.9KViews0likes0CommentsRe: get_service_paths yields no service paths
That is an excellent question and my gut tells me no. We received the code from the development team with a batch file to download the fpga configuration to the altera chip. I'll look around to see if the project file is in there so I can add a bridge component to the design. Hopefully that'll fix the problem.2.9KViews0likes0CommentsRe: get_service_paths yields no service paths
I ran "get_service_types", then ran "get_service_paths" for each of the service types I found. Here's the results. I bolded the commands that yielded results and underlined the ones that didn't. Let me know if I can provide more information. %get_service_types alt_xcvr_custom alt_xcvr_reconfig_aeq alt_xcvr_reconfig_dfe alt_xcvr_reconfig_eye_viewer alt_xcvr_reconfig_mifwriter bytestream dashboard data_pattern_checker data_pattern_generator design device hard_prbs_checker hard_prbs_generator hssiconfig io_bus issp jtag_debug loopback marker master monitor packet plugin processor slave sld trace trace_db transceiver_channel_rx transceiver_channel_tx transceiver_debug_link transceiver_reconfig_analog % get_service_paths alt_xcvr_custom % get_service_paths alt_xcvr_reconfig_aeq % get_service_paths alt_xcvr_reconfig_dfe % get_service_paths alt_xcvr_reconfig_eye_viewer % get_service_paths alt_xcvr_reconfig_mifwriter % get_service_paths bytestream % get_service_paths dashboard % get_service_paths data_pattern_checker % get_service_paths data_pattern_generator % get_service_paths design % get_service_paths device /devices/10M04D(A|C)@1#USB-0 % get_service_paths hard_prbs_checker % get_service_paths hard_prbs_generator % get_service_paths hssiconfig % get_service_paths io_bus % get_service_paths issp % get_service_paths jtag_debug % get_service_paths loopback /devices/10M04D(A|C)@1#USB-0/(link)/JTAG % get_service_paths marker /devices/10M04D(A|C)@1#USB-0 % get_service_paths master % get_service_paths monitor /design_instances/monitor % get_service_paths packet % get_service_paths plugin /plugins/com.altera.systemconsole.busanalyzer.internal.BusAnalyzerPluginProvider /plugins/com.altera.systemconsole.dashboard.internal.DashboardPluginProvider /plugins/com.altera.systemconsole.designs.internal.DesignsPluginProvider /plugins/com.altera.systemconsole.driver.internal.DriverPluginProvider /plugins/com.altera.systemconsole.gdbserver.GdbServerPluginProvider /plugins/com.altera.systemconsole.gui.desktop.DesktopPlugin /plugins/com.altera.systemconsole.internal.plugin.jtag.JtagPluginProvider /plugins/com.altera.systemconsole.internal.plugin.jtag.aji.AJIConnectionProvider /plugins/com.altera.systemconsole.internal.plugin.memory.MemoryPluginProvider /plugins/com.altera.systemconsole.issp.internal.ISSPPluginProvider /plugins/com.altera.systemconsole.monitor.internal.MonitorPluginProvider /plugins/com.altera.systemconsole.plugin.pli.PliDeviceProvider /plugins/com.altera.systemconsole.scripting.UserScriptSupport /plugins/com.altera.systemconsole.scripting.ui.ConsolePlugin /plugins/com.altera.systemconsole.sldhubchannel.SldHubPluginProvider /plugins/com.altera.systemconsole.tcpchannel.TCPChannelPluginProvider /plugins/com.altera.systemconsole.toolkit.ToolkitPluginProvider /plugins/com.altera.systemconsole.trace.drivers.TraceDriversPlugin /plugins/com.altera.systemconsole.trace.gui.basic.TraceViewMenuPluginProvider /plugins/com.altera.systemconsole.trace.manager.internal.TraceManagerPluginProvider /plugins/com.altera.systemconsole.transceivers.internal.TransceiverPluginProvider /plugins/com.altera.systemconsole.usb.USBConnectionProvider % get_service_paths processor % get_service_paths slave % get_service_paths sld % get_service_paths trace % get_service_paths trace_db % get_service_paths transceiver_channel_rx % get_service_paths transceiver_channel_tx % get_service_paths transceiver_debug_link % get_service_paths transceiver_reconfig_analog2.9KViews0likes0Comments