Forum Discussion
8 Replies
- ShengN_altera
Super Contributor
Hi,
system-console -debug (print debug info in GUI)
system-console -debug --cli (print debug info in command prompt)
Thanks,
Regards,
Sheng
- covfefe
Occasional Contributor
Hi Sheng, this command does not query the JTAG hash.
It just opens the system console.
I am hoping to get an API command where I can query the jtag hash of the device, or all the jtag hashes available. Similar to other ones available:
- get_service_paths
etc
thank you
- ShengN_altera
Super Contributor
Hi,
It opens the system-console and the debug info like jtag hash will be printed out in messages windows right? For example like below:
So far if you mean in system-console, there's no command can straight get the jtag hash.
Thanks,
Regards,
Sheng
- covfefe
Occasional Contributor
I want to manage multiple FPGAs connected to a computer, in an automated way. For this, I need to be able to read some device ID. The JTAG Hash seems ideal, but there are no APIs available to do so. Can you recommend another device ID that can be read from the System Console API?
Or is there another way to read the JTAG Hash or else from a Windows API?
Whenever the devices get unplugged/rebooted, their USB ID changes (1,2,3,4...), so the USB ID is not enough to identify the device.
thank you
- ShengN_altera
Super Contributor
Hi,
The jtag hash is for internal use only.
Why don't you try the command below?:
device_get_board
device_get_connections
get_service_paths
This probably will get the stable device name or device id.
Thanks,
Regards,
Sheng
- covfefe
Occasional Contributor
they are all the same model, and do not return any difference unfortunately
- ShengN_altera
Super Contributor
Hi,
May I know the connections section under System Explorer in system console shows multiple devices?
Could you try with different lindex like below:
lindex [get_service_paths master] 0
lindex [get_service_paths master] 1
lindex [get_service_paths master] 2
Thanks,
Regards,
Sheng
- ShengN_altera
Super Contributor
Hi,
May I know you able to see different device with different lindex?
Thanks,
Regards,
Sheng