Same code, new LAUNCHXL-F28379D memory issue

15 visualizaciones (últimos 30 días)
Chanuka Kankanamge
Chanuka Kankanamge el 23 de Mayo de 2019
Comentada: shan wijesinghe el 10 de Dic. de 2020
Hi,
I have been using the TI LAUNCHXL-F28379D and it has been working fine. However, after purchasing a new one with Texas Instruments, I receive the following issue with the same code:
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\R2018b\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/F28379~1.CCX
Program omitted for privacy
Board Name: *
CPU Name: C28xx_CPU1
Hardware Name: TI_Delfino_F2837xD
*** Starting debug session...
C28xx_CPU2: GEL Output:
Memory Map Initialization Complete
*** 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
*** Loading the program to the target...
WARNING: C28xx_CPU1: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
SEVERE: C28xx_CPU1: File Loader: Verification failed: Values at address 0x84698@Program do not match Please verify target memory and memory map.
SEVERE: C28xx_CPU1: GEL: File: \\ad.monash.edu\home\User077\ckan0008\Documents\SPActiveFilter_22_5_19_Step2.out: a data verification error occurred, file load failed.
SEVERE: File: \\ad.monash.edu\home\User077\ckan0008\Documents\SPActiveFilter_22_5_19_Step2.out: a data verification error occurred, file load failed.
SEVERE: Error loading "\omitted for privacy\SPActiveFilter_22_5_19_Step2.out": File: \\ad.monash.edu\home\User077\ckan0008\Documents\SPActiveFilter_22_5_19_Step2.out: a data verification error occurred, file load failed.
org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Error loading "\\omitted for privacy\SPActiveFilter_22_5_19_Step2.out": File: \\omitted for privacy\SPActiveFilter_22_5_19_Step2.out: a data verification error occurred, file load failed. (C:\PROGRA~3\MATLAB\SUPPOR~1\R2018b\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~2.JS#134)
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\R2018b\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~2.JS:134)
at org.mozilla.javascript.gen.c1.call(C:\PROGRA~3\MATLAB\SUPPOR~1\R2018b\toolbox\target\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\R2018b\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~2.JS)
at org.mozilla.javascript.gen.c1.exec(C:\PROGRA~3\MATLAB\SUPPOR~1\R2018b\toolbox\target\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 loading "\\omitted for privacy\SPActiveFilter_22_5_19_Step2.out": File: \\omitted for privacy\SPActiveFilter_22_5_19_Step2.out: a data verification error occurred, file load failed.
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

Respuestas (2)

Venkatesh Chilapur
Venkatesh Chilapur el 24 de Mayo de 2019
Hi,
Can you please take a look at this post:
Regards,
Venkatesh C
  1 comentario
Chanuka Kankanamge
Chanuka Kankanamge el 24 de Mayo de 2019
Thanks for your reply.
I was able to fix this error by changing the linker command file from the default (c28377D) to '2837xD_RAM_lnk_cpu1_USB.cmd', and unchecking the 'Boot from flash' option.
I find that doing the same thing with the FLASH option doesn't work though.

Iniciar sesión para comentar.


Chris Parlow
Chris Parlow el 30 de Jul. de 2019
Hello,
I've the same problem. Where do you get the file (2837xD_RAM_lnk_cpu1_USB.cmd)? I'm getting the following error message:
Error encountered while executing PostCodeGenCommand for model 'HiOnePathControllerSaturateVelocity': Linker command file '2837xD_RAM_Ink_cpu1_USB.cmd' required for generating the executable not found in the path 'C:/ProgramData/MATLAB/SupportPackages/R2018b/toolbox/target/supportpackages/tic2000/src'.
Caused by:
Linker command file '2837xD_RAM_Ink_cpu1_USB.cmd' required for generating the executable not found in the path 'C:/ProgramData/MATLAB/SupportPackages/R2018b/toolbox/target/supportpackages/tic2000/src'.
Thanks for your help
Best regards
C.Parlow
  1 comentario
shan wijesinghe
shan wijesinghe el 10 de Dic. de 2020
Did you figure it out? If yes plesehelp me out I am also having the same problem.

Iniciar sesión para comentar.

Categorías

Más información sobre Embedded Coder en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by