Forum Discussion
Quartus 23.3 transceiver toolkit fails to load using TCL
Hi @Kshitij_Intel ,
I was able to fix this issue.
In "device_initialization" file, I replaced the string "AGFB027R24C2E2V" with the short version of itself i.e the string "AGFB027R24C"
This fixed the issue
Thanks,
Ranjith
12 Replies
- BoonBengT_Altera
Moderator
Hi @Ranjith21
Thank you for posting in Intel community forum and hope all is well.
May I know what are the operating system that is used here?
Is there any references design that you are referring to on getting the "device_initialization.tcl" file?
Hope to hear from you soon.
Best Wishes
BB
- Ranjith21
Occasional Contributor
Thanks for replying @BoonBengT_Altera . Here are the details:
1) OS used is Windows 10 Enterprise x64
2) Yes, the reference design is a .sof file for the FPGA. The path to the .sof file is specified by me in the "device_initialization.tcl" file
Thanks,
Ranjith
- Kshitij_Intel
Frequent Contributor
Hi Ranjith,
Can you please check the Windows environment variable "IP_ROOTDIR" is set to the ip sub-directory in the Intel Quartus Prime Pro Edition software installation.
An example for the Windows* version is: IP_ROOTDIR = C:\intelFPGApro\21.1\ip
If the issue still exists, please share your design to replicate the issue at my end.
Thank you,
Kshitij Goel
- Ranjith21
Occasional Contributor
Hi Kshitij,
I do not see a variable called IP_ROOTDIR in my env variables
Should I add this? Where do I add it? User variables or system variables?
Thanks,
Ranjith
- Kshitij_Intel
Frequent Contributor
Hi,
Can you please try to add it into the system variable.
Please let me know if you still face any issues.
Thank you,
Kshitij Goel
- Ranjith21
Occasional Contributor
I updated to Q23.4. I added the variable IP_ROOTDIR to my system variable.
I have still the same error popping up:
Jan 11, 2024 2:43:13 PM com.altera.debug.coreINFO: Executing C:\Users\SysC\system_console\scripts\device_initialization.tclJan 11, 2024 2:43:13 PM com.altera.debug.coreSEVERE: java.lang.Exception: can't read "device_path": no such variablewhile executing"string length $device_path"invoked from within"if { [string length $device_path] == 0 } {error "Specified $device_name device name, $device_die_name is not found. Please make sure the board is..."Please advise
Thanks,
Ranjith
- Kshitij_Intel
Frequent Contributor
Hi Ranjith,
As per user guide you need to update the script.
Tcl File Name Description device_initialization.tcl
You must update this script with which device is on the JTAG chain and what .sof is programmed into the device. When you run this script, it auto-loads the toolkit and automatically link the design information to the connected device. Platform Path Windows <drive>:\intelFPGA_pro\23.2\ip\altera\alt_xcvr\toolkit\ftile_transceiver_toolkit\scripts\ For more info please refer 7.5.1. Supported Transceiver Toolkit Scripts (intel.com)
Thank you,
Kshitij Goel
- Kshitij_Intel
Frequent Contributor
Hi Ranjith,
Below are the example steps for modifying the scripts.
7.5.2. Modifying the Scripts (intel.com)
Thank you,
Kshitij Goel
- Ranjith21
Occasional Contributor
Hi @Kshitij_Intel,
Yes. I did modify the TCL script and added it to the path shown in screenshot
Also, attaching the TCL script here as a .txt file (unable to upload .tcl files here)
Still the same error exists:
Jan 17, 2024 1:28:43 PM com.altera.debug.coreSEVERE: java.lang.Exception: can't read "device_path": no such variablewhile executing"string length $device_path"invoked from within"if { [string length $device_path] == 0 } {error "Specified $device_name device name, $device_die_name is not found. Please make sure the board is..."Thanks,
Ranjith
- Kshitij_Intel
Frequent Contributor
Hi Ranjith,
Can you please share your project to debug further. Also, share the detailed steps to follow to recreate the issue you are facing.
Thank you,
Kshitij Goel
- Ranjith21
Occasional Contributor
Hi @Kshitij_Intel ,
I was able to fix this issue.
In "device_initialization" file, I replaced the string "AGFB027R24C2E2V" with the short version of itself i.e the string "AGFB027R24C"
This fixed the issue
Thanks,
Ranjith
- Kshitij_Intel
Frequent Contributor
Hi Ranjith,
I’m glad that your issue has been resolved, I now transition this thread to community support. If you have a new question. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
Thank you,
Kshitij Goel