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.

AM69A: How to Build TIDL Tools v10.01.00.04 from SDK v10.01.00.04?

Part Number: AM69A

Tool/software:

Hello TI Community,

I'm using edgeai-tidl-tools v10.01.04.00, which relies on TIDL Tools v10.01.04.00.

However, when I build TIDL from the ti-processor-sdk-rtos-j784s4-evm-10.01.00.04, it produces TIDL Tools v10.01.00.01, not v10.01.00.04. This version mismatch affects my models output.

My goal:
Build TIDL Tools v10.01.00.04 from the ti-processor-sdk-rtos-j784s4-evm-10.01.00.04.

Questions:

  • Is there a way to rebuild or patch the SDK’s TIDL to match the expected version 10.01.00.04?

Any guidance or documentation links would be greatly appreciated.

Thanks in advance!

  • Hello;

    Thanks for question.

    If you downloaded the RTOS SDK 10.01.00.04, then the SDK you will build is 10.01.00.04. There is no mismatch issue. Below is the link to download RTOS SDK from ti.com

    https://www.ti.com/tool/download/PROCESSOR-SDK-RTOS-J784S4/10.01.00.04

    Now edgeAI TIDL tools is another thing, you will download it from github. Below is the link to download/clone edgeai TIDL tools

    https://github.com/TexasInstruments/edgeai-tidl-tools.git

    There is a compatible relationship between SDKs and TIDL tools. Here is the table for compatibility check. Your builds should follow this table.

    https://github.com/TexasInstruments/edgeai-tidl-tools/blob/master/docs/version_compatibility_table.md

    Regards
    Wen Li

     

  • Hello, thanks for your reply!

    However, I believe there's a misunderstanding.

    I did download and use ti-processor-sdk-rtos-j784s4-evm-10.01.00.04, but when I build TIDL from this SDK, the output TIDL package still reports its version as 10.01.00.01 during compilation.

    Additionally, when I look inside the SDK sources, I can confirm that the TIDL version is hardcoded as 10_01_00_01, for example in c7x-mma-tidl/arm-tidl/rt/inc/tidl_ti.h:

    So effectively, building from this SDK always produces a TIDL Tools package labeled as 10.01.00.01, not 10.01.00.04.

    My question is:
    Is there any official or recommended process to build a TIDL Tools package with version 10.01.00.04 from this SDK?
    Or do I need to apply patches or manually align the TIDL version used in the SDK to match the desired release?

    Thanks again for your help and clarification!

  • Hi;

    Could you elaborate what you mean by "Build TIDL from this SDK"? What is your make option? What are the commands or steps that you have used to "build TIDL from a SDK"?

    Downloaded the package and following the documented steps are the recommended way to build. There is no official or recommended process to do the patch for this.

    Thanks and regards

    Wen Li

  • Hello, thanks for the follow-up.

    By "build TIDL from the SDK," I mean the following steps:

    ./sdk_builder/scripts/setup_psdk_rtos.sh --install_tidl_deps
    cd sdk_builder
    make tidl_pc_tools -j

    This builds the tidl_tools, but the resulting TIDL version is still 10.01.00.01, not 10.01.00.04, even though I'm using the 10.01.00.04 SDK release.

    That's the root of my question — how to build TIDL Tools that match the actual SDK version (00.04) instead of defaulting to 00.01?

    Thanks again.

  • Hi;

    Thank you for the clarification.

    TI offers the RTOS-SDK and the edgeAI-TIDL-tools as two separated packages. As long as you have followed the compatible table in the link below, both will work fine. 

    You can use the "tidl-model-importer" as a test example, the one comes with edgeAI-tidl-tools VS the one from the SDK you built, they should function the same.  

    The internal version numbers between them don't need to be exactly matched. In fact, we don't recommend customers to change/swap the individual source code modules between builds, unless you have special needs, such as to do patching.

    If you think your question has been answered, please close this ticket. You can easily submit a new ticket if you have some questions come up later. 

    Thanks and regards

  • Hello;

    Do you still have questions about this issue? You can easily submit a new one if you have question late. 

    Regards

    Wen Li