Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

get_device error

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.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.