Flash programming TI LAUNCHXL-F28379D file load error

24 Ansichten (letzte 30 Tage)
Riley Kilfoyle
Riley Kilfoyle am 26 Jun. 2019
Beantwortet: Xu Liu am 10 Jul. 2019
Hello,
I'm working with a TI LAUNCHXL-F28379D and the example, "Parameter Tuning and Signal Logging with Serial External Mode". I have succesfully loaded a blinking light simulink model (constant and a gpio block) into RAM and seen that it can be deployed by building, so I know that target hardware settings are correct.
When run with the external debugger the example "Parameter Tuning and Signal Logging with Serial External Mode" is too large to fit in ram. I select the option to "Boot From Flash" so as to load the example into flash memory. It compiles but when it attempts programming to hardware the following error occurs for both the example and my simple light test model.
What do I need to change in order for it to load the program correctly into flash memory? This seems like an issue related to either the linker or CCXML but both appear to have the correct settings as best as I can tell. I have viewed all related issues on both this board and TI's and none seem to quite be the same. I have tried both CCS 8.2 and the more recent 9.0.1 and neither makes a difference in this behavior.
Thank you!
Downloading program to the target hardware...
### Build procedure for model: 'LightTest' aborted due to an 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\R2019a\toolbox\target\SUPPOR~1\tic2000\CCS_CO~1\F28379~1.CCX
Program Name: C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT
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 0x8465C@Program do not match Please verify target memory and memory map.
SEVERE: C28xx_CPU1: GEL: File: C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT: a data verification error occurred, file load failed.
SEVERE: File: C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT: a data verification error occurred, file load failed.
SEVERE: Error loading "C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT": File: C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT: a data verification error occurred, file load failed.
org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Error loading "C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT": File: C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT: a data verification error occurred, file load failed. (C:\PROGRA~3\MATLAB\SUPPOR~1\R2019a\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~1.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\R2019a\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~1.JS:134)
at org.mozilla.javascript.gen.c1.call(C:\PROGRA~3\MATLAB\SUPPOR~1\R2019a\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\R2019a\toolbox\target\SUPPOR~1\tic2000/CCS_CO~1/RUNPRO~1.JS)
at org.mozilla.javascript.gen.c1.exec(C:\PROGRA~3\MATLAB\SUPPOR~1\R2019a\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\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.OUT": File: C:\Users\rkilfoyl\Desktop\SEPP_2~1\SVN\100~1.SEP\LIGHTT~1.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
.
Component:Simulink | Category:Model error

Antworten (1)

Xu Liu
Xu Liu am 10 Jul. 2019
hi Riley,
I can understand that you have a problem burning flash.
If both CCXML and CMD files are correct, they will usually burn successfully
1. Check the power supply of the chip (it usually needs more power to burn flash). Is the current limited?
2, address 0x8465C @program do not match Please verify target memory and memory map.
You seem to have written the data at the incorrect address causing this error, please check part of the program
3. If there are no problems with the above, I personally suggest using the lower version of CCS, such as CCS6. There are usually some bugs in the latest version of the software matching. I have also met the situation that matlab2018b and CCS8 cannot write flash before

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by