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.

CCSTUDIO: Cannot find files in CCSV6

Part Number: CCSTUDIO
Other Parts Discussed in Thread: TMS320F28377S

Hello Champs,

I'm asking this for customer. The CCS version used by customer is CCSV6, and the device is TMS320F28377S

After customer importing the project and debug, they found that the following information was displayed in the console window(They are using the Chinese version of CCS, "找不到" means "cannot find").

At the same time the Problems window shows no errors. However, there will be problems when the program runs due to the lack of files. The customer checked the corresponding path of "cannot find file" and found that there is indeed no corresponding file.

After checking, it was found that the problem was caused by import. In the imported source files, these "cannot find" files exist. But after importing the project into the workspace, there is no corresponding file in the workspace path. It looks like these files are missed.

Could you please help to deal with that? Many thanks!

Best Regards,

Julia

  • Hello Julia,

    After customer importing the project and debug, they found that the following information was displayed in the console window(They are using the Chinese version of CCS, "找不到" means "cannot find").

    The "cannot find" messages are not of concern during a project clean. Sometimes it is expected depending on the state of the build.

    The key is to see if there are any errors during the project build. It appears there are none, hence things should be ok.

    Hope this helps clear things up.

    Thanks

    ki

  • Hi Ki,

    The customer stated that the project does not seem to be compiled at all. Although there is no errors in the problem window, the project does not generate .out file and hex file after being debugged. 

    So maybe there is still something wrong.

    Best Regards,

    Julia

  • Can the customer provide their full build output when they try a "rebuild"? They can copy&paste all the text in the build output window to a text file and then have the text file attached to this thread

    ki

  • Hi Ki,

    After the customer rebuilds, the problem is still not solved. I have uploaded the txt files of the console window of the first build and rebuild.

    Here's an extra information, customer say their computers have recently had encryption added but haven't had a problem for a long time. Recently, this computer(only this one) of customer has started to have the current CCS compilation problem. Customer tried to reinstall CCS and the problem was not resolved. Hope this information will help.

    **** Build of configuration Debug for project 70KWProject ****
    
    "D:\\ccs6\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: ../60KWbios.cfg'
    'Invoking: XDCtools'
    "D:/ccs6/xdctools_3_30_03_47_core/xs" --xdcpath="D:/ccs6/bios_6_41_04_54/packages;D:/ccs6/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.C28_float -p ti.platforms.tms320x28:TMS320F28377S -r release -c "D:/ccs6/ccsv6/tools/compiler/ti-cgt-c2000_6.4.4" "../60KWbios.cfg"
    EXCEPTION
    java.io.StreamCorruptedException: invalid stream header: 62142365
        at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
        at java.io.ObjectInputStream.<init>(Unknown Source)
        at xdc.services.spec.Persist$Input.<init>(Persist.java:127)
        at xdc.services.spec.BrowserSession.loadPkg(BrowserSession.java:197)
        at xdc.services.spec.BrowserSession.findPkg(BrowserSession.java:116)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at xdc.services.intern.xsr.Value$Obj.get(Value.java:1765)
        at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:2184)
        at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1492)
        at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1485)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1239)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at xdc.services.intern.xsr.Invoke.call(Invoke.java:130)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at xdc.services.intern.xsr.Invoke.call(Invoke.java:92)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
        at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)
        at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
        at config.Shell.evaluateReader(Shell.java:847)
        at config.Shell.processReader(Shell.java:512)
        at config.Shell.processFile(Shell.java:571)
        at config.Shell.exec(Shell.java:781)
        at config.Shell.main(Shell.java:1414)
    js: "$internal", line 13: invalid stream header: 62142365
    org.mozilla.javascript.WrappedException: Wrapped java.io.StreamCorruptedException: invalid stream header: 62142365 (D:/ccs6/xdctools_3_30_03_47_core/packages/xdc/om2.xs#168)
        at xdc.services.spec.BrowserSession.loadPkg(BrowserSession.java:206)
        at xdc.services.spec.BrowserSession.findPkg(BrowserSession.java:116)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
        at script(D:/ccs6/xdctools_3_30_03_47_core/packages/xdc/om2.xs:168)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at xdc.services.intern.xsr.Value$Obj.get(Value.java:1765)
        at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:2184)
        at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1492)
        at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1485)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1239)
        at script.instance$meta$init(D:/ccs6/xdctools_3_30_03_47_core/packages/xdc/tools/Cmdr.xs:32)
        at script($internal:13)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at xdc.services.intern.xsr.Invoke.call(Invoke.java:130)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
        at script.main(D:/ccs6/xdctools_3_30_03_47_core/packages/xdc/tools/ICmd.xs:37)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at xdc.services.intern.xsr.Invoke.call(Invoke.java:92)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
        at script(D:/ccs6/xdctools_3_30_03_47_core/packages/xdc/xs.js:188)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
        at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)
        at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
        at config.Shell.evaluateReader(Shell.java:847)
        at config.Shell.processReader(Shell.java:512)
        at config.Shell.processFile(Shell.java:571)
        at config.Shell.exec(Shell.java:781)
        at config.Shell.main(Shell.java:1414)
    Caused by: java.io.StreamCorruptedException: invalid stream header: 62142365
        at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
        at java.io.ObjectInputStream.<init>(Unknown Source)
        at xdc.services.spec.Persist$Input.<init>(Persist.java:127)
        at xdc.services.spec.BrowserSession.loadPkg(BrowserSession.java:197)
        ... 34 more
    gmake: *** [configPkg/linker.cmd] Error 1
    gmake: Target `all' not remade because of errors.
    
    **** Build Finished ****
    

    **** Clean-only build of configuration Debug for project 70KWProject ****
    
    "c:\\ti\\ccsv6\\utils\\bin\\gmake" -k clean 
    DEL /F  "70KWProject.out"  "configPkg\linker.cmd" "configPkg\compiler.opt"  "70KWProject.hex" 
    找不到 C:\ccs6\workspace_v6_0\70KWProject\Debug\70KWProject.out
    RMDIR /S/Q  "configPkg\" 
    DEL /F "Fundrive\F2837xS_DefaultISR.pp" "Fundrive\F2837xS_GlobalVariableDefs.pp" "Fundrive\F2837xS_PieCtrl.pp" "Fundrive\F2837xS_PieVect.pp" "Fundrive\F2837xS_SysCtrl.pp" "FunSrc\AD.pp" "FunSrc\ARC.pp" "FunSrc\BoostController.pp" "FunSrc\CAP.pp" "FunSrc\FAULTDATA.pp" "FunSrc\HARDWARE.pp" "FunSrc\I2C.pp" "FunSrc\InvController.pp" "FunSrc\MAIN.pp" "FunSrc\PROTECT.pp" "FunSrc\SCILCD.pp" "FunSrc\SCIMCU.pp" "FunSrc\SCIMON.pp" "FunSrc\SCIPC.pp" "FunSrc\SYSCTR.pp" "FunSrc\SysDefine.pp" 
    DEL /F "Fundrive\F2837xS_CodeStartBranch.obj" "Fundrive\F2837xS_DefaultISR.obj" "Fundrive\F2837xS_GlobalVariableDefs.obj" "Fundrive\F2837xS_PieCtrl.obj" "Fundrive\F2837xS_PieVect.obj" "Fundrive\F2837xS_SysCtrl.obj" "Fundrive\F2837xS_usDelay.obj" "Fundrive\SetDBGIER.obj" "FunSrc\AD.obj" "FunSrc\ARC.obj" "FunSrc\BoostController.obj" "FunSrc\CAP.obj" "FunSrc\F28register_check.obj" "FunSrc\FAULTDATA.obj" "FunSrc\HARDWARE.obj" "FunSrc\I2C.obj" "FunSrc\InvController.obj" "FunSrc\MAIN.obj" "FunSrc\PROTECT.obj" "FunSrc\SCILCD.obj" "FunSrc\SCIMCU.obj" "FunSrc\SCIMON.obj" "FunSrc\SCIPC.obj" "FunSrc\SYSCTR.obj" "FunSrc\SysDefine.obj" 
    找不到 C:\ccs6\workspace_v6_0\70KWProject\Debug\Fundrive\F2837xS_CodeStartBranch.obj
    找不到 C:\ccs6\workspace_v6_0\70KWProject\Debug\FunSrc\AD.obj
    DEL /F "Fundrive\F2837xS_CodeStartBranch.pp" "Fundrive\F2837xS_usDelay.pp" "Fundrive\SetDBGIER.pp" "FunSrc\F28register_check.pp" 
    找不到 C:\ccs6\workspace_v6_0\70KWProject\Debug\Fundrive\F2837xS_CodeStartBranch.pp
    找不到 C:\ccs6\workspace_v6_0\70KWProject\Debug\FunSrc\F28register_check.pp
    'Finished clean'
    ' '
    
    **** Build Finished ****
    
    **** Build of configuration Debug for project 70KWProject ****
    
    "c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: ../60KWbios.cfg'
    'Invoking: XDCtools'
    "c:/ti/xdctools_3_30_03_47_core/xs" --xdcpath="C:/ti/bios_6_41_04_54/packages;c:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.C28_float -p ti.platforms.tms320x28:TMS320F28377S -r release -c "c:/ti/ccsv6/tools/compiler/ti-cgt-c2000_6.4.4" "../60KWbios.cfg"
    EXCEPTION
    java.io.StreamCorruptedException: invalid stream header: 62142365
        at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
        at java.io.ObjectInputStream.<init>(Unknown Source)
        at xdc.services.spec.Persist$Input.<init>(Persist.java:127)
        at xdc.services.spec.BrowserSession.loadPkg(BrowserSession.java:197)
        at xdc.services.spec.BrowserSession.findPkg(BrowserSession.java:116)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at xdc.services.intern.xsr.Value$Obj.get(Value.java:1765)
        at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:2184)
        at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1492)
        at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1485)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1239)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at xdc.services.intern.xsr.Invoke.call(Invoke.java:130)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at xdc.services.intern.xsr.Invoke.call(Invoke.java:92)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
        at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)
        at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
        at config.Shell.evaluateReader(Shell.java:847)
        at config.Shell.processReader(Shell.java:512)
        at config.Shell.processFile(Shell.java:571)
        at config.Shell.exec(Shell.java:781)
        at config.Shell.main(Shell.java:1414)
    js: "$internal", line 13: invalid stream header: 62142365
    org.mozilla.javascript.WrappedException: Wrapped java.io.StreamCorruptedException: invalid stream header: 62142365 (C:/ti/xdctools_3_30_03_47_core/packages/xdc/om2.xs#168)
        at xdc.services.spec.BrowserSession.loadPkg(BrowserSession.java:206)
        at xdc.services.spec.BrowserSession.findPkg(BrowserSession.java:116)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
        at script(C:/ti/xdctools_3_30_03_47_core/packages/xdc/om2.xs:168)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at xdc.services.intern.xsr.Value$Obj.get(Value.java:1765)
        at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:2184)
        at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1492)
        at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1485)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1239)
        at script.instance$meta$init(C:/ti/xdctools_3_30_03_47_core/packages/xdc/tools/Cmdr.xs:32)
        at script($internal:13)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at xdc.services.intern.xsr.Invoke.call(Invoke.java:130)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
        at script.main(C:/ti/xdctools_3_30_03_47_core/packages/xdc/tools/ICmd.xs:37)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at xdc.services.intern.xsr.Invoke.call(Invoke.java:92)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)
        at script(C:/ti/xdctools_3_30_03_47_core/packages/xdc/xs.js:188)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
        at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)
        at org.mozilla.javascript.Context.evaluateReader(Context.java:1110)
        at config.Shell.evaluateReader(Shell.java:847)
        at config.Shell.processReader(Shell.java:512)
        at config.Shell.processFile(Shell.java:571)
        at config.Shell.exec(Shell.java:781)
        at config.Shell.main(Shell.java:1414)
    Caused by: java.io.StreamCorruptedException: invalid stream header: 62142365
        at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
        at java.io.ObjectInputStream.<init>(Unknown Source)
        at xdc.services.spec.Persist$Input.<init>(Persist.java:127)
        at xdc.services.spec.BrowserSession.loadPkg(BrowserSession.java:197)
        ... 34 more
    gmake: *** [configPkg/linker.cmd] Error 1
    gmake: Target `all' not remade because of errors.
    
    **** Build Finished ****
    

    Best Regards,

    Julia

  • Thank you for the additional information.

    An exception was encountered when running XDCtools. Both the XDCtools and CCS versions being used is very old (and unsupported). Would it be possible for the customer to update to a more recent CCS version?