FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6454 Discussions

System-Console: get JTAG Hash

covfefe
New Contributor I
815 Views

What command should I use to get the JTAG Hash from the System-Console?

 

covfefe_0-1756234067753.png

 

 

Labels (1)
0 Kudos
7 Replies
ShengN_Intel
Employee
609 Views

Hi,


system-console -debug (print debug info in GUI)

system-console -debug --cli (print debug info in command prompt)


Thanks,

Regards,

Sheng


0 Kudos
covfefe
New Contributor I
590 Views

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

0 Kudos
ShengN_Intel
Employee
503 Views

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:

ShengN_Intel_0-1756429774615.png

 

So far if you mean in system-console, there's no command can straight get the jtag hash.

 

Thanks,

Regards,

Sheng

 

0 Kudos
covfefe
New Contributor I
424 Views

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

0 Kudos
ShengN_Intel
Employee
356 Views

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


0 Kudos
covfefe
New Contributor I
340 Views

they are all the same model, and do not return any difference unfortunately 

covfefe_1-1756531417524.png

 

 

0 Kudos
ShengN_Intel
Employee
48 Views

Hi,

 

May I know the connections section under System Explorer in system console shows multiple devices?

ShengN_Intel_0-1756780979870.png

 

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

 

0 Kudos
Reply