Hi @kopdcom ,
Or try to replace the code section below in tcl script jtag_instance_check.tcl:
# PRINT OUT INSTANCE ID INFO FOR EVERYTHING:
set i 0
foreach path [lsort -command compare_node_number [get_service_paths bytestream]] {
# If this path corresponds to a JTAG UART, incr i
if {[string match *$cable_name* $path ] && [string match *jtag_uart* [marker_get_type $path] ]} {
puts "[marker_get_info $path] (INSTANCE_ID:$i)"
incr i
}
}
set i 0
foreach path [lsort -command compare_node_number [get_service_paths processor]] {
# If this path corresponds to a NiosII, incr i
if {[string match *$cable_name* $path ] && [string match *nios2* [marker_get_type $path] ]} {
puts "[marker_get_info $path] (INSTANCE_ID:$i)"
incr i
}
}
With the code section below:
# PRINT OUT INSTANCE ID INFO FOR EVERYTHING:
set i 0
foreach path [lsort -command compare_node_number [get_service_paths bytestream]] {
# If this path corresponds to a JTAG UART, incr i
if {[string match *$cable_name* $path ] && [string match *jtag_uart* [marker_get_type $path] ]} {
set info [marker_get_info $path]
if {[string first "|" $info] == -1} {
set info [string map {"FULL_HPATH " "FULL_HPATH a:b|"} $info]
}
puts "$info (INSTANCE_ID:$i)"
incr i
}
}
set i 0
foreach path [lsort -command compare_node_number [get_service_paths processor]] {
# If this path corresponds to a NiosII, incr i
if {[string match *$cable_name* $path ] && [string match *nios2* [marker_get_type $path] ]} {
set info [marker_get_info $path]
if {[string first "|" $info] == -1} {
set info [string map {"FULL_HPATH " "FULL_HPATH a:b|"} $info]
}
puts "$info (INSTANCE_ID:$i)"
incr i
}
}
Best Regards,
Sheng
p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.