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.

CODECOMPOSER: GEL : Could not load file

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: CCSTUDIO

Tool/software:

Using Sitara AM263 microcontroller, CCS version 12.7.1. I get this error on debugging:

Cortex_R5_0: GEL: Could not load file. Tried a few things, but does not work. Any suggestions? On Windows 10. Paths seem to be alright. 

  • SEVERE: Could not load file
    SEVERE: Error loading "$$path&&/fw_loader.out": Could not load file
    org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Error loading "C:///fw_loader.out": Could not load file (am263x_loadFwLoader.js#36)
    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(am263x_loadFwLoader.js:36)
    at org.mozilla.javascript.gen.c1.call(am263x_loadFwLoader.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(am263x_loadFwLoader.js)
    at org.mozilla.javascript.gen.c1.exec(am263x_loadFwLoader.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://fw_loader.out": Could not load file
    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

    Looks like it cannot load the .js file from .out file??

  • Hey Zubair,

    1) Can you confirm the EVM platform you are using?

    2) Can you provide the targetconfig.ccxml (or screenshot of the same)? 

    3) What version of the AM263x SDK are you using?

    4) What version of the Sitara MCU Device Support Files are you using?

    Best Regards,

    Zackary Fleenor

  • Hi,

    1. Not sure about EVM,  i think AM263x-CC

    2. 

    3. SDK version mcu_plus_sdk_am263x_08_05_00_24

    4. Where do i find that?

    Thanks

  • Hi,

    1/2) If you are using the AM263x Control Card, please select the AM263x_CC board option in the .ccxml general setup pane.

    3) Please use the latest version of the SDK (version 09_02_00_56) available here: MCU-PLUS-SDK-AM263X Software development kit (SDK) | TI.com

    4) In Code Composer Studio, Open the Help drop down, and select "About Code Composer Studio"

    5) Select Installation Details

    6) Verify Version of Sitara MCU Device Support for Windows.

    Best regards,

    Zackary Fleenor

  • Hi,  

    Thanks for your reply, will do the 1st 2 suggestions. 

    looks like dont have the support for windows, How would I install that? Thanks.

  • Hi Zubair,

    From the same Help drop down, select the "Check for Updates" option to find the latest versions of the various CCS/Device Support Files.

    Best Regards,

    Zackary Fleenor

  • Okay, looks like it cannot find updates.

    But now I ran the CCS as administrator(Right click -> run as administrator) even though my user account has admin rights, it worked. This is the only way it worked after trying out a few things. Maybe the CCS cannot find the correct admin path to parse the .out file or something??

  • Glad you were able to get the update to work. I will share this note with our CCS development team and see if they have any comments regarding the "Run as Administrator" requirement issue.

    Best Regards,

    Zackary Fleenor

  • Oh, sorry for the confusion, not the "run updates".

    I was able to open .out file through GEL file correctly only after I ran CCS as administrator without the updates and without updating the SDK even. 

  • Zubair - Was CCS installed with the same account that you are using to run it?

  • Can you try temporarily disabling any security/antivirus software and then run CCS as a normal user and see if the issue persists?

  • Yes, tried that as well. But with same antivirus, etc CCS ran fine on a colleagues laptop without any issues, except I had to it run as administrator.

  • This should not be the case if the same account that installed it is being used the run it. I'm not sure what the issue could be. Perhaps try a full re-install of CCS.