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.

TMDSCNCD28335: Error compilation/Missing file

Part Number: TMDSCNCD28335


Hi Experts,

Good day.

Client is trying to compile a simple model for the TMDSCNCD28335 microcontroller.

They have already installed all 3rd party SW needed. However, an error pops up every time they try to compile the model.

What is the file path that is missing? The error is as shown as attached below.

Thank you.

Regards,
Archie A.

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

### Starting build procedure for: untitled ### Generating code and artifacts to 'Model specific' folder structure ### Generating code into build folder: C:\Users\user\Desktop\untitled_ert_rtw



The model untitled is configured to simulate flush-to-zero (FTZ) behavior, but is using normal mode simulation. To observe FTZ behavior, simulate the model using an accelerated mode.


Component:Simulink | Category:Model

### Invoking Target Language Compiler on untitled.rtw ### Using System Target File: C:\Program Files\MATLAB\R2020b\rtw\c\ert\ert.tlc ### Loading TLC function libraries ### Initial pass through model to cache user defined code . ### Caching model source code ### Writing header file untitled_types.h ### Writing header file untitled.h . ### Writing source file untitled.c ### Writing header file rtwtypes.h ### Writing header file untitled_private.h ### Writing header file rtmodel.h ### Writing source file ert_main.c . ### TLC code generation complete. ### Evaluating PostCodeGenCommand specified in the model ### Build procedure for untitled aborted due to an error.


 Build Summary 
1
Elapsed: 0.2 sec

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 2.848s



The path '' does not exist.


Caused by:
The path does not exist, error code: 0 


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

  • Archie,

    We have reached to MathWorks team to look into the build error. We should expect response by tomorrow.

  • Hi Archie,

    We need to look into the model. Could you please share your model?

    Best Regards,
    Ram Alla.

  • Hello Ram.

    Thanks for getting back.

    Client just shared the MATLAB file as attached below.

    For your reference. Thank you.

    Regards,
    Archie A.

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/171/ADC_5F00_22_5F00_Nov_5F00_2021.slx

  • Archie,

    Checking with Ram/MW team if he got the opportunity to review the model. Will get back to you later today.

  • Hi Archie,

    I could successfully build the model from my end and looks like you are missing some configuration settings.
    Even though you installed the third party software, did you configure them for Embedded coder support package for TI C2000?
    If you haven't done, you need to do it from the Add-on manager and click on the setup or gear icon next to Embedded coder support package for TI C2000.
    It will take you to the hardware setup screen where you need to do the required settings.

    If the issue is not resolved, please contact MathWorks technical support team as we need more information to understand the issue better and debug the issue.
    When we have a support ticket, our internal process enables us to involve right people on this issue and we will immediately get in touch with you to understand the case in more detailed way.

    Please connect to us at:
    www.mathworks.com/support.html

    Best Regards,
    Ram Alla | MathWorks

  • Hi Ram/Santosh,

    Thank you for the assistance.

    Client confirmed that they have already installed the third party software and configured them for Embedded coder package for C2000 MCUs. They checked and validated the installation folders. TI Control suite was not required for the Defrilo 28335 microcontroller.

    They just now contacted your support team (Mathworks) with this issue and waiting for the response.

    Thanks again for your direction.

    Regards,
    Archie A.

  • Archie,

    I will close the threat from here as you have created ticket on MW forum.

  • Hi Ram/Santosh,

    I would like to update this post to provide resolution as shared by customer from Mathworks.

    The solution was to install all processors for C2000 support package although they are not using all processors. Yet, not sure why this is the case but the model compiled successfully.

    Thank you.

    Regards,
    Archie A.

  • Archie,

    Thanks for the update. 

    : Any idea why we needed to install all processors for C2000 support package? Is there any dependency of any module?

    THanks & Regards,

    Santosh

  • Hi Santosh,

    Still waiting for the update the MW team.

    However, customer now facing another issue with the F28335. See attached.

    Could not connect to XCP slave: XCP Master internal error: Busy(0) or no timeout(2) for 255
    Error:Unable to connect to the 'TI Delfino F2833x' target for 'ADC_22_Nov_2021'.

    Any support on this?

    Thank you.

    Regards,
    Archie A.

    6371.Error.txt

  • Archie,

    Let's create a new thread for the new issue. We can involve expert on XCP.to support the issue.