Same code, new LAUNCHXL-F28379D memory issue

15 ビュー (過去 30 日間)
Chanuka Kankanamge
Chanuka Kankanamge 2019 年 5 月 23 日
コメント済み: shan wijesinghe 2020 年 12 月 10 日
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

回答 (2 件)

Venkatesh Chilapur
Venkatesh Chilapur 2019 年 5 月 24 日
Hi,
Can you please take a look at this post:
Regards,
Venkatesh C
  1 件のコメント
Chanuka Kankanamge
Chanuka Kankanamge 2019 年 5 月 24 日
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.

サインインしてコメントする。


Chris Parlow
Chris Parlow 2019 年 7 月 30 日
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 件のコメント
shan wijesinghe
shan wijesinghe 2020 年 12 月 10 日
Did you figure it out? If yes plesehelp me out I am also having the same problem.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEmbedded Coder についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by