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.
14947 Discussions

Downloading images through System Console

Altera_Forum
Honored Contributor I
924 Views

I am working with the Arria 10 GX eval board and have created a dashboard in System Console to allow me to control my design. My dashboard has a combo box to allow me to select from a list of sof files and a button to allow me to download the selected image. The following is the code attached to the button: 

 

proc btnDownloadClick { } { 

global dash 

global my_device 

 

set filename [file join output_files [dashboard_get_property $dash cboImage selectedItem]] 

 

foreach possible_device [ get_service_paths device ] { 

if { [ regexp 10AT115 $possible_device ] } { 

set my_device $possible_device 

device_download_sof $my_device $filename 

 

When I first open System Console this code works as expected. I can then use System Console to interact with my design. If I then attempt to download a new image, I get the following error message. I have to exit and restart System Console before I can download a new image. 

 

 

=== error message follows === 

 

May 09, 2017 10:18:39 AM com.altera.debug.core 

SEVERE: device_download_sof: This device does not have a JTAG connection 

 

 

May 09, 2017 10:18:39 AM com.altera.debug.core 

SEVERE: java.lang.Exception: device_download_sof: This device does not have a JTAG connection 

while executing 

"device_download_sof $my_device $filename" 

(procedure "btnDownloadClick" line 13) 

invoked from within 

"btnDownloadClick" 

java.util.concurrent.ExecutionException: java.lang.Exception: device_download_sof: This device does not have a JTAG connection 

while executing 

"device_download_sof $my_device $filename" 

(procedure "btnDownloadClick" line 13) 

invoked from within 

"btnDownloadClick" 

at com.altera.systemconsole.internal.core.SimpleFuture$Sync.innerGet(SimpleFuture.java:208) 

at com.altera.systemconsole.internal.core.SimpleFuture.getInternal(SimpleFuture.java:88) 

at com.altera.systemconsole.internal.core.SimpleFuture.get(SimpleFuture.java:61) 

at com.altera.systemconsole.dashboard.internal.SystemConsoleDashboard$TCLDashboard$1$1.run(SystemConsoleDashboard.java:70) 

at com.altera.systemconsole.internal.core.SystemExecutor$2.run(SystemExecutor.java:306) 

at com.altera.systemconsole.internal.core.SystemExecutor$4.run(SystemExecutor.java:553) 

at com.altera.systemconsole.internal.core.SystemExecutor$ComparableTask.run(SystemExecutor.java:151) 

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 

at java.lang.Thread.run(Unknown Source) 

Caused by: java.lang.Exception: device_download_sof: This device does not have a JTAG connection 

while executing 

"device_download_sof $my_device $filename" 

(procedure "btnDownloadClick" line 13) 

invoked from within 

"btnDownloadClick" 

at com.altera.systemconsole.scripting.ScriptEngine$5.run(ScriptEngine.java:589) 

at com.altera.tcl.interpreter.NativeTclWrapper.runEvent(NativeTclWrapper.java:341) 

at com.altera.tcl.interpreter.NativeTclWrapper.doOneEvent0(Native Method) 

at com.altera.tcl.interpreter.NativeTclWrapper.doOneEvent(NativeTclWrapper.java:355) 

at com.altera.tcl.interpreter.NativeTCLInterpreter.waitAndDoOneEvent(NativeTCLInterpreter.java:436) 

at com.altera.tcl.interpreter.InterpreterInstantiator$1.run(InterpreterInstantiator.java:59) 

... 1 more
0 Kudos
1 Reply
Bodil
Novice
116 Views

Did you find a solution? I have the exact same issue with my system console. 

Reply