• Menu
  • Product
  • Email
  • PDF
  • Order now
  • TI Deep Learning Library Upgrade Solution

    • SPRAD65 December   2022 TDA4VM , TDA4VM-Q1

       

  • CONTENTS
  • SEARCH
  • TI Deep Learning Library Upgrade Solution
  1.   Abstract
  2.   Trademarks
  3. 1Introduction
    1. 1.1 C7X Compiler
    2. 1.2 Operating System
    3. 1.3 Drivers
    4. 1.4 TIOVX
    5. 1.5 TIDL
    6. 1.6 Memory Segment Management
  4. 2TIDL Upgrade
    1. 2.1 RTOS SDK Changes
    2. 2.2 TIDL PC Tool Changes
    3. 2.3 Linux SDK Changes
  5. 3Demo Verify
  6. 4Summary
  7. 5References
  8. IMPORTANT NOTICE
search No matches found.
  • Full reading width
    • Full reading width
    • Comfortable reading width
    • Expanded reading width
  • Card for each section
  • Card with all content

 

APPLICATION NOTE

TI Deep Learning Library Upgrade Solution

Abstract

This application note demonstrates how to upgrade the TIDL in the old version of the SDK to the latest version. These upgrades include fixing some bugs in the old version of TIDL and supporting some new features. It is recommended for customers to be on the latest TIDL so as to get all the bug fixes done along with new features added in new SDK releases.

Trademarks

Arm® is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.

All trademarks are the property of their respective owners.

1 Introduction

Deep learning algorithms based on deep neural networks (DNNs) are used in many industries, such as robotics, industrial, and automotive. More and more DNN-based machine learning algorithms are used in ADAS products, such as lane line detection, traffic light recognition, pedestrian recognition and other basic ADAS functions are implemented using DNN algorithms. TI's latest generation automotive processor TDA4VM integrates high-performance computing unit C7x Digital Signal Processor (DSP) and Deep-learning Matrix Multiply Accelerator (MMA), which can efficiently perform some basic deep learning operators such as convolution calculations and matrix transformations. These DNN neural network algorithms usually require a lot of computation, and the C7x and MMA in TI TDA4 series processors can accelerate the computation of some DNN operators to achieve fast inference and recognition results. TI Deep Learning Library (TIDL) is a software ecosystem based on deep learning algorithms for TI platforms, which can quickly deploy some common deep learning algorithm models to TI embedded platforms.

TDA4xx is a multi-core heterogeneous SOC launched by TI. It has built-in TI's latest generation C7X DSP and Matrix Multiply Accelerator (MMA), which can efficiently process digital signals, especially good at processing audio, millimeter wave radar, lidar, and camera data. For the current hot AI technology, TI has also integrated related AI operators to facilitate customers to quickly deploy deep learning models. The software part of C7 mainly depends on the following parts in the whole SOC development process

  • Compiler of C7X DSP: It mainly provides some inline library functions and functions such as compiling, linking, and forming executable files written by developers.
  • Operating system: used for DSP's own task management, memory management, and so forth.
  • Low-level related drivers: mainly the code that depends on the implementation of related functions, such as DRU, UDMA, timer and other drivers.
  • TIOVX middleware: Provide a calling interface of multi-core heterogeneous accelerators for the entire SOC, and perform parallel computing of heterogeneous accelerators through pipeline settings, thereby accelerating data processing.
  • TIDL: TIDL is a comprehensive software product for acceleration of Deep Neural Networks (DNNs) on TI's embedded devices.
  • Memory segment management between multi-core heterogeneous: TDA4xx has multiple built-in cores suitable for different application scenarios, and each core can access the DDR space, so it is necessary to manage the memory space to avoid memory space conflicts.

1.1 C7X Compiler

Different C7x DSP compiler versions are provided in different versions of the SDK. The new version of the compiler has some original bug fixes and compilation optimizations, and also provide some new inline functions to use, so basically the new version of the compiler is used. Older versions of software code can be compiled, but older versions of compilers sometimes cannot compile newer versions of software code. Therefore, when upgrading the TIDL software, the compiler needs to be upgraded to a new version, otherwise there will be problems that cannot be compiled. In the use of the compiler, a manual is provided to introduce the use of the compiler, especially the introduction of the relevant compilation instructions. For details, see the C7000 C/C++Optimizing Compiler Users Guide.

 

Texas Instruments

© Copyright 1995-2025 Texas Instruments Incorporated. All rights reserved.
Submit documentation feedback | IMPORTANT NOTICE | Trademarks | Privacy policy | Cookie policy | Terms of use | Terms of sale