This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
I am getting this error when I try to debug the simple hello world program :C674X_0: Error connecting to the target: Connect to PRSC failed, -6305.
My software and hardware environment is as given below:
Hardware: Spectrum Digital board OMAP-L137 EVM
Software: Code composer version 8.3 running on Windows 11
Board connection to PC is OK as I do not get any error when I press the "Test connection" button in CCS.
Regards,
Abid Hussain
Hello Abid Hussain,
The error may be due to dip switch settings. Please refer to the attached guide on how to setup the EVM and connect to CCS.
OMAP-L137 EVM Hardware Setup.pdf
Regards,
Jianzhong
Thanks for your reply but my issue is still unresolved. My current dip switch settings of SW2 on Spectrum Digital Board OMAP-L137 are as under:
Switch position Current setting
1 ON
2 ON
3 ON
4 ON
5 OFF
As per manual these settings correspond to "Emulaton Debug" mode.
I may try other settings if you think these settings are not correct.
Regards
Abid Hussain
Hello,
The boot mode setting looks correct. What emulator are you using?
Regards,
Jianzhong
The board has an embedded jtag emulator equivalent to spectrum digital xds 510 usb. I am using the 8.3 version of CCS and it supports this emulator.
Hello,
Software: Code composer version 8.3 running on Windows 11
Please note that CCS 8.3 does not support Windows 11. The last Windows version supported is Windows 10.
:C674X_0: Error connecting to the target: Connect to PRSC failed, -6305.
Please see the below link for more details on this error:
https://software-dl.ti.com/ccs/esd/documents/ccs_debugging_jtag_connectivity_issues.html#prsc-errors
It is typically a hardware configuration error. Also, as noted above, your environment is not an officially supported one. There are no guarantees that CCS 8.3 will run well on Windows 11. The upcoming CCS 11.1 release will be the first version of CCS to officially support Windows 11.
Thanks
ki
Thanks for the reply. In fact I have also tried to debug the simple "hello world" program on the same hardware under the following environment:
Windows operating system ver 7 32 bit
Code composer studio ver 7.0
Even under this environment, I am getting the above cited error message. Target configuration in CCS does not show any connectivity issue and so does the Spectrum Digital emulator configuration utility.
Regards,
Abid
Did you look at the details in the troubleshooting section and try the suggestions? As mentioned, this is usually some hardware configuration issue - especially if the "Test Connection" feature is passing.
Hello KI
Thank you very much for taking time to look into my issue. You were right, It was indeed an hardware problem and in my case it turned out to be connection of JTAG USB cable. When I reseated both ends of the cable into the respective USB slots the error had gone and I debugged a test application without any error on CCS ver 7 running on windows 7. Surprisingly, I even got through in running the test app on CCS ver 8.3 running under windows 11..
Regards,
Abid