Introduction to AURIX™ TC4x free development environment
AURIX™ of Yingjia MCU
1
TC4x development tools
The development tools of TC4x mainly refer to the integrated development environment/compiler and debugger, which are divided into commercial version and free evaluation version.
Tasking SmartCode, Hightec, GHS, etc. are all commercial version integrated development environments/compilers, and currently support TC4x products. PLS, Lauterbach, and iSystem are commercial version debuggers and currently fully support TC4x products.
AURIX Development Studio (ADS) Limited is the latest free integrated development environment launched by Infineon, which integrates code editing, compilation and debugging, and supports the latest TC4x products. It also integrates the TC4x iLLD routine library internally, which is very suitable for novices to learn and evaluate. This article mainly introduces the application and use of ADS Limited.
*Notice:
-
ADS only supports TC2x/TC3x MCU, and only ADS Limited can support TC4x MCU.
-
ADS Limited is only for users to conduct non-commercial evaluation and learning. During the actual project development stage, users still need to purchase the commercial version of the integrated development environment/compiler.
2
AURIX Development Studio Limited
2.1
Apply and install
Before applying for ADS Limited, first apply for a MyInfineon account, and then apply for ADS Limited download on the Infineon Community (https://community.infineon.com/) or Case Management (https://ifxcasemanagement.crm4.dynamics.com/) system permissions.
(1). After opening the permission:
-
Log in to the Infineon official website and select Design Support
-
Enter developer center
-
search
(2). Download and install Infineon Developer Center
(3). After opening the Infineon Developer Center, log in to your MyInfineon account
(4). Then you can find the AURIX Development Studio Limited version under the Manage Tools box, download and install the latest version.
2.2
Create a new TC4x template project
(1). Open ADS Limited, select a save path for the newly created workspace, Launch
(2). Follow the steps in the figure below to create a new TC4x template project.
(3). Compile
*Notice:
-
New projects use the Tasking compiler by default, but you can also use the free GCC compiler that comes with it, see the next section.
-
To use the Tasking compiler, you need to ensure that the ADS limited installation directory is C:\Infineon\AURIX-Studio-limited-1.9.22-L\plugins\com.infineon.aurix.ads.tc4xx.tools_1.9.22\build_system\tools\Compilers\ The licopt file under Tasking_10.1r1\etc points to a valid license file.
After installing Tasking SmartCode, there will be licfile.txt and licopt.txt in the etc folder of the installation directory. You need to use the licopt.txt file in the etc folder of Tasking SmartCode to replace the one in the ADS limited path above, so that it can work properly. Use Tasking compiler.
2.3
Free GCC compiler
ADS limited also integrates free GCC compilation, which can compile TC4x projects.
(1). Right-click the project name->Build Configuration->Set Active->
TriCore Debug
(2). Compile
2.4
TC4x routine library
Many TC4x routines are integrated into ADS Limited. You can directly import the routines for compilation and debugging through the following steps.
(1). Click “Import AURIX™ Project”
(2). Select Infineon TC4xx Code Examples Repository
(3). Select one of the routines to import and then compile.
2.4.1 Use GCC compiler to compile built-in routines
The default built-in routines do not have GCC compilation options. You can copy the routine source file to the newly created template project, and then you can use the GCC compiler in the template project.
2.5
debug
The winIDEA debugger software is integrated in ADS limited, and can be used with the on-board miniwiggler on the TC4x board to directly debug the TC4x MCU.
2.5.1 Hardware connection
At this time, open the device manager and confirm whether the on-board mini-wiggler is recognized:
If the DAS device cannot be found, you can download and install the DAS driver from the Infineon official website: www.infineon.com
2.5.2 Debugging steps
(1). Click Debug Configuration
(2). Double-click winIDEA Debugger
(3). Uncheck stop execution at, click debug to enter the debugging interface
(4). The picture below is the debugging interface of winIDEA
*Notice:
-
Currently, the latest ADS Limited v1.9.22 only supports TC49x A step, and subsequent versions will support subsequent TC4x Devices.
-
The winIDEA debugger software that comes with Tasking SmartCode v10.2 or higher already supports TC49x A and TC4Dx.
"Introduction to PPU"
Welcome to follow the WeChat public account
Infineon Automotive Electronics Ecosystem
Submit product requirements
If you have demand for Infineon products, please scan the QR code to fill out the demand form, and our sales will serve you as soon as possible!