This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDSCNCD28379D: The following error occurred during deployment to your hardware board Errors about.

Part Number: TMDSCNCD28379D
Other Parts Discussed in Thread: TMS320F28379D, , TMS320F28377D, CCSTUDIO

Tool/software:

Hi, 

I have a TMS320F28379d board(TMDSCNCD28379D). I've been having a problem lately. I'm usually programming via Matlab.

The problem says:

Error:The following error occurred during deployment to your hardware board:

Error occurred during deployment to the hardware board. Check the 'Download Executable to Hardware' stage above for more details.

I've been encountering it a lot lately. I can debug after a certain period of time. But everything is normal(connection, cable etc.).

What is the cause of this problem and how to solve it?

  • Hi,

    We will not be able to support connection issues with MATLAB. If you are using TI software and cannot connect, then we would be able to help. Please pursue support from MATLAB.

    Thanks,

    Ben Collier

  • Same problem appears TI software. Is there a chronical hardware problem. 

  • Hi,

    Inside of Code Composer Studio, could you please 'Test Connection' with your target configuration? Please post your output log here. 

    Thanks,

    Ben Collier

  • When I debug in Matlab;

    *** Starting extraction of debug information from TI-COFF ***
    Loaded : ../untitled.out, and identified as TI-COFF
    Opened : ../untitled.dwo for write
    coff -> dwo conversion completed successfully..
    "### Done Invoking postbuild tool "Hex Converter" ..."
    "### Done Invoking postbuild tool "DWO Converter" ..."
    "### Done Updating dependency files ..."
    "### Successfully generated all binary outputs."

    C:\Users\semih.asci\Desktop\Matlab Uyg\untitled_ert_rtw>exit /B 0
    Initiating the executable load sequence on the target hardware using TI Code Composer Studio.
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See www.slf4j.org/codes.html for further details.

    *** User inputs:
    Target Configuration: C:\PROGRA~1\MATLAB\R2024a\toolbox\c2b\tic2000/CCS_CO~1/F28377~1.CCX
    Program Name: C:\Users\SEMIH~1.ASC\Desktop\MATLAB~1\untitled.out
    Board Name: *
    CPU Name: C28xx_CPU1
    Hardware Name: TI_Delfino_F2837xD
    Boot From Flash: 0

    *** Starting debug session...
    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.
    C28xx_CPU2: GEL Output:
    Memory Map Initialization Complete
    C28xx_CPU2: Flash Programmer: Warning: The configured device (TMS320F28377D), does not match the detected device (). Flash Programming operations could be affected. Please consider modifying your target configuration file.

    *** 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...

    *** Loading the program to the target...
    SEVERE: C28xx_CPU1: File Loader: Verification failed: Values at address 0x000000@Program do not match Please verify target memory and memory map.

    SEVERE: C28xx_CPU1: GEL: File: C:\Users\SEMIH~1.ASC\Desktop\MATLAB~1\untitled.out: a data verification error occurred, file load failed.

    SEVERE: File: C:\Users\SEMIH~1.ASC\Desktop\MATLAB~1\untitled.out: a data verification error occurred, file load failed.
    SEVERE: Error loading "C:\Users\SEMIH~1.ASC\Desktop\MATLAB~1\untitled.out": File: C:\Users\SEMIH~1.ASC\Desktop\MATLAB~1\untitled.out: a data verification error occurred, file load failed.
    org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Error loading "C:\Users\SEMIH~1.ASC\Desktop\MATLAB~1\untitled.out": File: C:\Users\SEMIH~1.ASC\Desktop\MATLAB~1\untitled.out: a data verification error occurred, file load failed. (C:\PROGRA~1\MATLAB\R2024a\toolbox\c2b\TIC200~2/CCS_CO~1/RUNPRO~1.JS#169)
    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~1\MATLAB\R2024a\toolbox\c2b\TIC200~2/CCS_CO~1/RUNPRO~1.JS:169)
    at org.mozilla.javascript.gen.c1.call(C:\PROGRA~1\MATLAB\R2024a\toolbox\c2b\TIC200~2/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~1\MATLAB\R2024a\toolbox\c2b\TIC200~2/CCS_CO~1/RUNPRO~1.JS)
    at org.mozilla.javascript.gen.c1.exec(C:\PROGRA~1\MATLAB\R2024a\toolbox\c2b\TIC200~2/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\SEMIH~1.ASC\Desktop\MATLAB~1\untitled.out": File: C:\Users\SEMIH~1.ASC\Desktop\MATLAB~1\untitled.out: a data verification error occurred, file load failed.
    at com.ti.debug.engine.scripting.Memory.loadProgram(Memory.java:932)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:145)
    ... 18 more
    ### Build procedure for untitled aborted due to an error.
    Top model targets built:

    Model Action Rebuild Reason
    ====================================================================
    untitled Failed Code generation information file does not exist.

    0 of 1 models built (0 models already up to date)
    Build duration: 0h 0m 30.11s
    Error:The following error occurred during deployment to your hardware board:

    Error occurred during deployment to the hardware board. Check the 'Download Executable to Hardware' stage above for more details.

    I wonder is it hardware problem? Because there was deformation on Docking station. (between 31.pin and 32.pin)

  • Again, we will not be able to support connection issues with MATLAB/Simulink. If you are using TI software and cannot connect, then we would be able to help. Please pursue support from Mathworks.

  • I didn't only use Matlab. When the use both of them get same failure.

     

    This image is appear when led blink example debug. This code CCS example.

    Sorry you didn't focus this problem. Whenever I try to program (for both Matlab and CCS) I get these errors. 

  • Ok, let's focus on the CCS problem.

    Could you please open your target configuration file in Code Composer Studio, could you please test connection?  https://www.youtube.com/watch?v=o_2iMqZ1EbU

    If you follow these instructions for manually launching a debug session, are you able to connect to the device? https://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_debug-main.html#launching-a-debug-session

  • Hi Benjamin, 

    I solved the problem. when the change the HSEC connector, there was no problem any more. There was a loose contact in the HSEC pins. So I realized I wasn't programming. Now everytihng is okey. Thanks for your help.