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.

Processors forum

Part Number: AM62P
Other Parts Discussed in Thread: AM68A, AM69A, AM67A

Tool/software:

AM62P: How can I download "tidl_tools" for edgeai-tidl-tools



recently i follow the step to setup my environment but facing issue

when execute below command in my container

cd edgeai-tidl-tools

export SOC=AM62

source ./setup.sh

log:

::

root@495cd072efea:/home/root# source ./setup.sh
TIDL_TOOLS_TYPE set to :CPU
X64 Architecture
SOC=am62
Installing python packages..

Downloading CPU TIDL TOOLS AM62 ...
tar (child): tidl_tools.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
bash: cd: tidl_tools: No such file or directory

::

what is the correct "export SOC=?" to set for target AM62P?

seems like it can not find the tidl_tools.tar.gz for AM62 (if i change to SOC=am62a it able to download, but is it right to be used for AM62/AM62P?)

setup.sh:

            echo "Downloading CPU TIDL TOOLS ${SOC^^} ..."
            wget --quiet   software-dl.ti.com/.../$REL/TIDL_TOOLS/${SOC^^}/tidl_tools.tar.gz

 


Reference link:
https://github.com/TexasInstruments/edgeai-tidl-tools/blob/master/README.md#setup

Best Regards,
WengChong

  • Hi WengChong,

    It is our pleasure to help. You are correct, you can use SOC=am62 for AM62P as both AM62 and AM62P do not include a HW AI accelerator and hens the A53 cores will be used for AI inference. 

    I confirm that the link: https://software-dl.ti.com/jacinto7/esd/tidl-tools/10_01_04_00/TIDL_TOOLS/AM62/tidl_tools.tar.gz do not work. I am communicating internally with the dev team to look at the issue. 

    Meanwhile, you can use SOC=am62a just to setup the tool. You can then change the SOC back to am62 when you use the tool. This is just a temporary and untested suggestion while we here back from the dev team. 

    May I ask about your use case for using tidl-tools on AM62P so that I help you with better suggestions?

    Best regards,

    Qutaiba

  • Hi Saleh,


    Thanks for your quick response and input
    ->i will try it out (you can use SOC=am62a just to setup the tool. You can then change the SOC back to am62 when you use the tool)

    we not sure what are the real use case yet.

    my purpose is to understand and get use on what ecosystem is provided by TI

    Most likely we may have our own pre-trained Model which want to integrate and apply at the edge AI chip of TI


    Best Regards,
    WengChong

  • Hi WengChong,

    The download for tidl-tools did not work for SOC=am62, as I mentioned before, this device does not contain an AI accelerator and the AI inference will be implemented on ARM A53 cores. For this reason, the regular run times such as onnxruntime and tflite are used. The setup.sh does not consider that and we will update it so that it does not stop in a use case similar to the one you reported. Thank you for bringing this to our attention. 

    we not sure what are the real use case yet.

    my purpose is to understand and get use on what ecosystem is provided by TI

    Most likely we may have our own pre-trained Model which want to integrate and apply at the edge AI chip of TI

    In that case, I recommend to use a device with an AI accelerator such as AM62A, AM67A, AM68A and AM69A. These devices are equipped with HW AI accelerators with processing power of up to 2, 4, 8, 32 TOPS respectively with variations of these devices covering the gaps in between. 

    We are glad to see you consider TI processors for your next AI project and please let us know if you have nay further questions. 

    Best regards,

    Qutaiba

  • Hi Saleh,

    `Meanwhile, you can use SOC=am62a just to setup the tool. You can then change the SOC back to am62 when you use the tool.`

    ->I able to fix <echo "Downloading CPU TIDL TOOLS ${SOC^^} ..."> with this suggestion.

    FYI

    Best Regards,
    WengChong