Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

get_device error

Altera_Forum
Honored Contributor II
1,457 Views

Hello, 

 

I am trying to set up some tcl scripts for quartus_stp to access the JTAG module through the USB blaster, and I am having trouble with the device name.  

 

The results of running the quartus_stp 'get_device_names' command is as follows: 

 

C:\Documents and Settings>quartus_stp --tcl_eval get_device_names -hardware_name {USB-Blaster [USB-0]} 

{@1: EP2C(15|20) (0x020B30DD)} 

 

I am not able to use the returned device name (EP2C(15|20)) in the 'open_device' command as it seems to be treating the "|" character as a pipe. Also, if I use the command with my known device name (EP2C20F484), it cannot find the device.  

 

Thank you for the help.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
507 Views

Problem solved by passing the return of 'get_device_names' to a parameter, then passing that parameter into 'open_device'. Google "altera open_device" to see the example provided by Altera. 

 

Sorry for jumping the gun on posting the question-- I had initially misused Altera's example.
0 Kudos
Reply