MATLAB Answers

Problem in programming 28379D from Simulink

48 views (last 30 days)
Krishan Kant
Krishan Kant on 22 May 2018
Answered: ANDONI PULIDO on 2 Sep 2019
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 Comments

Sign in to comment.

Answers (4)

Venkatesh Chilapur
Venkatesh Chilapur on 29 May 2018
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 Comments

Sign in to comment.


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

  0 Comments

Sign in to comment.


ANDONI PULIDO
ANDONI PULIDO on 8 Aug 2019
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 Comments

Sign in to comment.


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

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by