Why I get error when I try deploying the blink LED example?

조회 수: 20 (최근 30일)
Alpar Pali-Kis
Alpar Pali-Kis 2021년 5월 23일
댓글: Shiva Kalyan Diwakaruni 2021년 6월 28일
I got the following error when I try to deploy the model onto the hardware (Launchxl-F28069M):
The following error occurred during deployment to your hardware board:
Debug Server Scripting (DSS) error: The system cannot find the path specified.
I am using CCS 10.2

답변 (1개)

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni 2021년 5월 26일
Hi,
First, make sure you correctly set up the C2000 Support Package by clicking the "setup" icon in the add-ons manager. This will take you through a series of steps to configure and locate installed TI products. This issue is most likely a result of MATLAB not being able to find a TI product such as TI C2000WARE. See the following link for short instructions on setting up the support package:
Make sure the board is set up correctly in the Hardware Implementation tab of the model's Configuration Parameters. Make sure Code Composer Studio is correctly set up and configured for Embedded Coder.
If these steps do not resolve the issue, you can programmatically build and download the model:
>> open('ModelName.slx');
>> rtwbuild('ModelName')
>> command = 'C:\ti\ccsv7\ccs_base\scripting\examples\loadti\loadti -a -c=f28379D.ccxml ModelName.out';
>> [status1,cmdout1] = system(command);
Make sure to replace the model name and the path to loadti with the appropriate values. However, this will prevent running in external mode and communicating with Simulink, so it is best to fully investigate the previous options before using this workaround.
Hope it helps.
  댓글 수: 2
Alpar Pali-Kis
Alpar Pali-Kis 2021년 5월 27일
A reinstalled the programs and I made the setup for C2000 Support Package. Now I have a new error.
"Make sure the board is set up correctly in the Hardware Implementation tab of the model's Configuration Parameters. Make sure Code Composer Studio is correctly set up and configured for Embedded Coder."
I set up the Hardware Implementation based on a video tutorial.
How I can be sure that Code Composer Studio is correctly set up and configured for Embedded Coder?
I tried out to programimatically build the model, but I also got the same error.
The new error:
The following error occurred during deployment to your hardware board:
Debug Server Scripting (DSS) error:
*** User inputs:
Target Configuration: C:\PROGRA~3\MATLAB\SUPPOR~1\R2021a\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/F28069~1.CCX
Program Name: C:\Users\User\DOCUME~1\MATLAB\Examples\R2021a\TEXASI~1\GETTIN~1\blinkLED.out
Board Name: *
CPU Name: unspecified (connect to first CPU)
*** Starting debug session...
*** Debug Session Name: Texas Instruments XDS100v1 USB Emulator_0/C28xx
*** Board Name: Texas Instruments XDS100v1 USB Emulator_0
*** CPU Name: C28xx
*** Connecting to target...
SEVERE: C28xx: Error connecting to the target: (Error -1015 @ 0x0) Device is not responding to the request. Device may be locked, or the debug probe connection may be unreliable. Unlock the device if possible (e.g. use wait in reset mode, and power-cycle the board). If error persists, confirm configuration and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.3.0.00032)
SEVERE: emulation failure occurred
SEVERE: Error connecting to the target: emulation failure occurred
SEVERE: Cannot perform operation, target is not connected.
SEVERE: Error reseting target: Cannot perform operation, target is not connected.
org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Error reseting target: Cannot perform operation, target is not connected. (C:\PROGRA~3\MATLAB\SUPPOR~1\R2021a\toolbox\shared\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~2.JS#93)
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1693)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:204)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
at org.mozilla.javascript.gen.c1._c0(C:\PROGRA~3\MATLAB\SUPPOR~1\R2021a\toolbox\shared\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~2.JS:93)
at org.mozilla.javascript.gen.c1.call(C:\PROGRA~3\MATLAB\SUPPOR~1\R2021a\toolbox\shared\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~2.JS)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758)
at org.mozilla.javascript.gen.c1.call(C:\PROGRA~3\MATLAB\SUPPOR~1\R2021a\toolbox\shared\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~2.JS)
at org.mozilla.javascript.gen.c1.exec(C:\PROGRA~3\MATLAB\SUPPOR~1\R2021a\toolbox\shared\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~2.JS)
at org.mozilla.javascript.tools.shell.Main.evaluateScript(Main.java:503)
at org.mozilla.javascript.tools.shell.Main.processFileSecure(Main.java:425)
at org.mozilla.javascript.tools.shell.Main.processFile(Main.java:391)
at org.mozilla.javascript.tools.shell.Main.processSource(Main.java:382)
at org.mozilla.javascript.tools.shell.Main.processFiles(Main.java:179)
at org.mozilla.javascript.tools.shell.Main$IProxy.run(Main.java:100)
at org.mozilla.javascript.Context.call(Context.java:528)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:450)
at org.mozilla.javascript.tools.shell.Main.exec(Main.java:162)
at com.ti.ccstudio.apps.internal.scripting.RunScript$1.run(RunScript.java:89)
Caused by: com.ti.ccstudio.scripting.environment.ScriptingException: Error reseting target: Cannot perform operation, target is not connected.
at com.ti.debug.engine.scripting.Target.reset(Target.java:641)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:145)
... 18 more

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by