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.

TMS320F28379D: C2000 Code Generation Tools

Part Number: TMS320F28379D
Other Parts Discussed in Thread: SYSCONFIG, C2000WARE

Tool/software:

Build Error: Exception occurred calling scripting.addModule():

After revisiting my project a few weeks later, having had left it in a good working shape, upon trying to build it with a minor change of a value of the symbolic constant , the #define constant (changing the sampling window of the ADC Driver), I got this error: 

Exception occurred calling scripting.addModule().

I undid the change. Same  "Exception..." error. Then I used the same project which I had saved in another workspace (as a baseline), without any change. This one built fine. I decided to bring the target file from the other workspace (where it generated build the error) and compile it in the new workspace. For this reason, I had to change the name of the same target file in the new workspace and exclude it from build. It did not work, build error like above. I removed this transferred file from the workspace and included the original file (which was in the project folder but excluded from build, restoring its name and no other change). It generated the same error: Exception occurred calling scripting.addModule(). Basically, the new project structure is the same like before. 

I noticed from e2e that a similar problem has been reported even before, but, I do not see that it was addressed at the root cause. It appears that the make utility automation is the culprit as it messes up the Project Dependencies irreversibly. Can somebody explain in detail this and how to avoid this ? Yeah, every once in a while uninstalling/reinstalling the CCS and the SDK works, but, it is still a tedious process and it does not explain this weird and invisible problem.

Thanks a lot,

Erol Nikocevic

  • Erol,

    Sorry for the delay in responding to this thread. 

    Is the development environment same in both cases...like the CCS and Sysconfig version used. 

    Is it possible for you to share the Sysconfig file (.syscfg) file that you used to narrow down on the cause for this issue?

    Best Regards

    Siddharth

  • Hi Siddharth
    Thank you !
    At the time I had tried to restart the project, I had not made any modifications to it compared to the version which was working, so no product change. I did not make any changes to sysconfig , either. I had only changed a constant in the main file, just to make the name of the constant more readible and it stopped building.
    As I was trying to figure out later on what was going on with that warning, I did change the products in the properties-general-products-C200Ware, I changed C2000Ware to C2000Ware-SDK and it did not build either.
    I think changing C2000Ware to C2000Ware_SDK removes that exception error (Error: Exception occurred calling scripting.addModule()), but the other two errors shown below persist and the project won't build.
    Thanks a lot,
    Erol

    The project does not open/load in the Project Explorer any longer. It generates the error:

    ------------------------------------------------------------------------------------------

    Error loading C:\Users\Erol\TIDA_CLOUD_T3L\tinv_F28379D\main.syscfg

    Would you like to re-try in compatibility mode?

    Error: Exception occurred calling scripting.addModule()

    -----------------------------------------------------------------------------------------

  • Hi, 


    Can you try reimporting the project to a different workspace ? Looks like something might have corrupted the workspace. 

    Also, let me know the version of the tools and the SDK that you are using - CCS, SysConfig and C2000Ware

    Best Regards

    Siddharth