MATLAB Answers

Problem in programming 28379D from Simulink

28 ビュー (過去 30 日間)
Krishan Kant
Krishan Kant 2018 年 5 月 22 日
Answered: ANDONI PULIDO 2019 年 9 月 2 日
Hi All, I am trying to give simple pulse output to GPIO to blink LED in 28379D Launchpad, but it is not working. With the similar configuration setting, F28069 is working. One difference I found is that there was no linker command file for this controller in MATLAB toolbox examples. I've got Embedded Coder Version 6.13(R2017b).
Always giving the following 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\R2017b\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/F28379~1.CCX
Program Name: C:\Users\krish\Desktop\PHD~1\PROJEC~1\EMBEDD~1\F28379~1.OUT
Board Name: *
CPU Name: C28xx_CPU1
Hardware Name: TI_Delfino_F2837xD
*** Starting debug session...
C28xx_CPU2: GEL Output:
Memory Map Initialization Complete
C28xx_CPU2: If erase/program (E/P) operation is being done on one core, the other core should not execute from shared-RAM (SR) as they are used for the E/P code. Also, CPU1 will be halted to determine SR ownership for the CPU which will run the Flash Plugin code, after which CPU1 will be set to run its application. User code execution from SR could commence after both flash banks are programmed.
*** Debug Session Name: Texas Instruments XDS100v2 USB Debug Probe_0/C28xx_CPU1
*** Board Name: Texas Instruments XDS100v2 USB Debug Probe_0
*** CPU Name: C28xx_CPU1
*** Connecting to target...
C28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU1: If erase/program (E/P) operation is being done on one core, the other core should not execute from shared-RAM (SR) as they are used for the E/P code. Also, CPU1 will be halted to determine SR ownership for the CPU which will run the Flash Plugin code, after which CPU1 will be set to run its application. User code execution from SR could commence after both flash banks are programmed.
*** Loading the program to the target...
SEVERE: C28xx_CPU1: GEL: Unable to open file: C:\Users\krish\Desktop\PhD!!!!!!!!!!!!!!\Project Work\Embedded Coder Tests\F28379_try_ert_rtw\C:\Users\krish\Desktop\PHD~1\PROJEC~1\EMBEDD~1\F28379~1.OUT
SEVERE: Unable to open file: C:\Users\krish\Desktop\PhD!!!!!!!!!!!!!!\Project Work\Embedded Coder Tests\F28379_try_ert_rtw\C:\Users\krish\Desktop\PHD~1\PROJEC~1\EMBEDD~1\F28379~1.OUT
SEVERE: Error loading "C:\Users\krish\Desktop\PHD~1\PROJEC~1\EMBEDD~1\F28379~1.OUT": Unable to open file: C:\Users\krish\Desktop\PhD!!!!!!!!!!!!!!\Project Work\Embedded Coder Tests\F28379_try_ert_rtw\C:\Users\krish\Desktop\PHD~1\PROJEC~1\EMBEDD~1\F28379~1.OUT
org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Error loading "C:\Users\krish\Desktop\PHD~1\PROJEC~1\EMBEDD~1\F28379~1.OUT": Unable to open file: C:\Users\krish\Desktop\PhD!!!!!!!!!!!!!!\Project Work\Embedded Coder Tests\F28379_try_ert_rtw\C:\Users\krish\Desktop\PHD~1\PROJEC~1\EMBEDD~1\F28379~1.OUT (C:\PROGRA~3\MATLAB\SUPPOR~1\R2017b\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~1.JS#129)
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.call1(OptRuntime.java:66)
at org.mozilla.javascript.gen.c1._c0(C:\PROGRA~3\MATLAB\SUPPOR~1\R2017b\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~1.JS:129)
at org.mozilla.javascript.gen.c1.call(C:\PROGRA~3\MATLAB\SUPPOR~1\R2017b\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~1.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\R2017b\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~1.JS)
at org.mozilla.javascript.gen.c1.exec(C:\PROGRA~3\MATLAB\SUPPOR~1\R2017b\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~1.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 loading "C:\Users\krish\Desktop\PHD~1\PROJEC~1\EMBEDD~1\F28379~1.OUT": Unable to open file: C:\Users\krish\Desktop\PhD!!!!!!!!!!!!!!\Project Work\Embedded Coder Tests\F28379_try_ert_rtw\C:\Users\krish\Desktop\PHD~1\PROJEC~1\EMBEDD~1\F28379~1.OUT
at com.ti.debug.engine.scripting.Memory.loadProgram(Memory.java:932)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:145)
... 18 more

  0 件のコメント

サインイン to comment.

件の回答 (4)

Venkatesh Chilapur
Venkatesh Chilapur 2018 年 5 月 29 日
Hi,
Please try to connect to board from CCS and see if you are successful. Do you see the device listed under device manager?
Regards,
Venkatesh C

  0 件のコメント

サインイン to comment.


Antonin
Antonin 2018 年 11 月 30 日
I would start by removing the 14 exclamation marks in the folder name. It looks like the flashing tool doesn't like these.

  0 件のコメント

サインイン to comment.


ANDONI PULIDO
ANDONI PULIDO 2019 年 8 月 8 日
Hi,
I have the same problem...
Can have relation with the code composer version?
Can be a hardware problem of the development board?
Do you know were can i configure the memory directions in simulink?
Thank you,

  0 件のコメント

サインイン to comment.


ANDONI PULIDO
ANDONI PULIDO 2019 年 9 月 2 日
I solved the problem unselecting "boot from flash", i hope it be helpfull to somebody!solutexas.png

  0 件のコメント

サインイン to comment.

サインイン してこの質問に回答します。


Translated by