Forum Discussion
Altera_Forum
Honored Contributor
15 years agoSystem Console : Jtag master
Hi
I am trying to use system console to configure my design. However, system console sometimes can connect to my design and sometimes cant. Error: error: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 while executing "open_service master $jtag_master" Besides, i have trying to program other design. It always work. I have no idea where to debug. Any idea? Thanks5 Replies
- Altera_Forum
Honored Contributor
What is the value of $jtag_master when this fails? What does [get_service_paths master] return?
- Altera_Forum
Honored Contributor
Hi
[get_service_paths master] returns nothing. So, i don't know the value of $jtag_master. Thanks - Altera_Forum
Honored Contributor
Hi
i create a silly mistake that make the system console cant interact with my design. Thanks - Altera_Forum
Honored Contributor
Hello,
I am having the same problem. What do mean by creating a system that can talk to your design? Or better question, What kind of mistakes would make your system console not talk to your design?? Please let me know it is very needed... Thank YOU - Altera_Forum
Honored Contributor
--- Quote Start --- ... Or better question, What kind of mistakes would make your system console not talk to your design?? ... Thank YOU --- Quote End --- Please find here (http://www.alteraforum.com/forum/showthread.php?p=151952#post151952) a walkthrough on how to use the system console in conjunction with the JTAG master. Be aware that TCL uses whitespaces to separate multiple arguments like in the following code
If you omit the whitespace between the two arguments of lindex the path variable will be set to nonsense.set path ] 0]
This code will execute but the subsequent service request will fail because of the non-existent master.set path ]0]