Getting Started with AURIX™ Development Studio
Installation and first steps
AURIX™ Development Studio Training V1.0.5
Scope of Work
This tutorial provides a guide for the user to:
- Install AURIX™ Development Studio V1.4.0
- Create new project
- Import project (Infineon Code Examples Repository)
- Build project
- Debug project
- Additional material
Download
The installation package of AURIX™ Development Studio can be found here:
Install AURIX™ Development Studio - 1
To install AURIX™ Development Studio, launch the installation package and follow the steps:
[Description of Installation Wizard Screenshots: The installation process involves several steps shown in dialog boxes. The first dialog is 'Select Destination Location', allowing the user to choose the installation directory. The second dialog, 'Select Additional Tasks', lets the user choose to create a desktop shortcut. The third dialog, 'Ready to Install', summarizes the chosen settings before installation begins. The final dialog confirms completion.]
Install AURIX™ Development Studio - 2
If DAS64 is not installed or outdated, it will be installed automatically during the AURIX™ Development Studio installation:
[Description of DAS64 Installation Wizard Screenshots: This section shows the installation of DAS64. It includes a 'Welcome' screen, a 'Disclaimer' screen requiring acceptance of terms, and a 'Final Confirmation' screen before installation. The DAS64 installation also includes dialogs for selecting destination location and additional tasks, similar to the main IDE installation.]
Workspace Definition
After launching the AURIX™ Development Studio, it is necessary to select a workspace.
[Description of Workspace Launcher: A dialog titled 'AURIX Development Studio Launcher' appears, prompting the user to 'Select a directory as workspace'. It shows the default workspace path and allows browsing for a different location. A checkbox 'Use this as the default and do not ask again' is available. The user clicks 'Launch' to proceed.]
Create New Project - 1
Once the program is started, a new project can be created by selecting File >> New >> “New AURIX™ Project”.
[Description of Menu Navigation: A screenshot shows the application menu bar with 'File' selected, revealing a dropdown menu. The 'New' option is highlighted, and within its submenu, 'New AURIX™ Project' is indicated.]
Create New Project - 2
From the "New AURIX™ Development Studio Project" window, choose a name for the new project.
The "Use default location" checkbox should be set to create the project inside the current selected workspace.
[Description of New Project Dialog: A dialog titled 'New AURIX Development Studio Project' is shown. It has fields for 'Project name' and 'Location'. The 'Use default location' checkbox is visible and should be checked. A 'Next' button is available to proceed.]
Create New Project - 3
From the "New AURIX™ Development Studio Project" window, choose the device or the board. A specific device or board can be chosen from the left or right list. While selecting a board, the tool highlights the supported devices for that board and vice versa.
[Description of Device/Board Selection: A dialog titled 'New AURIX Development Studio Project' displays two main lists: 'Device' on the left and 'Board' on the right. Users can select a specific microcontroller device (e.g., AURIX TC2xx, TC3xx) or a development board (e.g., KIT_AURIX_TC277_TFT_DC-Step). Information like Frequency, Flash Size, and SRAM Size is displayed for the selected device.]
Create New Project - 4
Depending on the project's complexity, the reduced or full set of drivers can be imported. By pressing "Finish", a new project is created.
[Description of Project Creation Completion: The 'New AURIX Development Studio Project' dialog is shown again, with a 'Finish' button highlighted. A separate window, the 'Project Explorer', displays the newly created project structure, including folders like 'Includes', 'Configurations', and source files like 'Cpu0_Main.c'.]
Import Project (Infineon Code Examples Repository) - 1
Alternatively, it is possible to import an example project using File >> "Import..." utility and selecting Infineon >> "AURIX™ Development Studio Project" type. At the end, press "Next".
[Description of Import Wizard Start: The application menu shows 'File' > 'Import...' selected. The 'Import' wizard dialog is displayed, with a list of import wizards. The user needs to select 'Infineon' and then 'AURIX Development Studio Project' from the categories.]
Import Project (Infineon Code Examples Repository) - 2
Hint: Clicking on an example project in the list shows the example description.
[Description of Example Selection: The 'Import AURIX Development Studio Project' dialog shows a list of example projects under 'Select a project to import'. Each entry includes Name, Abstract, Boards/Kits, Last Updated, Documents, and Keywords. Clicking an entry displays its description in a separate area.]
Import Project (Infineon Code Examples Repository) - 3
Select (double-click) an example project from the list and press "Finish". This creates a local copy of the example in your workspace directory and opens the project.
[Description of Project Import Completion: The 'Import AURIX Development Studio Project' dialog is shown with an example project selected. The 'Finish' button is highlighted. The 'Project Explorer' then displays the imported project.]
Build Project
Before debugging, it is necessary to build the project. Press the "Build Active Project" icon and when the build is finished, check that there are no compiling errors.
[Description of Build Process: The IDE's main window shows the 'Project Explorer' with a project selected. A toolbar icon for building is indicated. A console output window shows build progress, indicating successful completion with "Build Finished. 0 errors, 1 warnings.".]
Debug Project - 1
Connect your device via a USB cable to the PC.
[Description of Hardware Connection: An image displays a red printed circuit board, which is a typical development board for Infineon AURIX microcontrollers, with a USB cable connected to its port.]
Debug Project - 2
In order to flash and debug the code, press the "Debug Active Project" icon and then the "Debug" button on the "Debug Configurations" window.
[Description of Debug Configuration: The IDE's toolbar shows the "Debug Active Project" icon. A dialog titled 'Debug Configurations' is displayed, allowing the user to select the target board and connection settings. The user clicks the "Debug" button within this configuration window.]
Debug Project - 3
Switch the perspective and press "Resume" to run the code. While running, the code can be stopped with the "Suspend" button. To terminate the debug session, press the "Terminate" button. Additionally, in the Debug perspective, it is also possible to run the code in single or multiple steps with the buttons "Step Into", "Step Over" and "Step Return".
[Description of Debugging Controls: A 'Confirm Perspective Switch' dialog prompts the user to switch to the Debug perspective. The main IDE window shows the 'Debug' view with threads listed. Buttons for 'Resume', 'Suspend', 'Terminate', 'Step Into', 'Step Over', and 'Step Return' are indicated.]
Debug Project - 4
A serial monitor is open by default in the Debug Perspective inside the AURIX™ Development Studio, or it can be opened manually from the terminal icon. The serial monitor must be configured with the following parameters to enable communication between the board and the PC:
- Serial port number
- Speed (baud rate)
- Data size
- Parity
- Stop bits
[Description of Serial Monitor Configuration: A 'Launch Terminal' dialog is shown, with settings for 'Serial port' (e.g., COM3), 'Baud rate' (e.g., 115200), 'Data size', 'Parity', and 'Stop bits'. The user configures these parameters and clicks 'OK'.]
Additional Material - 1
All the imported examples from Infineon come with a tutorial explaining the needed HW/SW setup, the code, and how to run and test the example. The tutorial is accessible from the AURIX™ Development Studio by Ctrl + click on the link in the Cpu0_main.c file.
[Description of Tutorial Access: A code editor view shows the content of `Cpu0_main.c`. A specific line containing a URL is highlighted, indicating that Ctrl+clicking this link opens the tutorial.]
Additional Material - 2
From the same Cpu0_main.c file, it is possible to download the Infineon Low Level Drivers documentation for the specific device used in the example.
[Description of Documentation Link: The code editor view of `Cpu0_main.c` is shown again. A URL pointing to Infineon Low Level Drivers documentation is highlighted.]
Additional Material - 3
Hint: Both the example's tutorial and the iLLD documentation can be opened by Right-clicking on the project name and pressing the "Open documentation" utility.
[Description of Project Documentation Access: The 'Project Explorer' view in the IDE is shown. A context menu is displayed after right-clicking on a project name. The "Open documentation" option is highlighted in this menu.]
Trademarks and Notices
All referenced product or service names and trademarks are the property of their respective owners.
Edition: 2021-03
Published by: Infineon Technologies AG, 81726 Munich, Germany
Copyright: © 2020 Infineon Technologies AG. All Rights Reserved.
Document Reference: Getting_Started_with_AURIX™_Development_Studio
Contact: For questions about this document, email: erratum@infineon.com
Important Notice: The information in this document is provided without warranty and is subject to Infineon Technologies' terms and conditions. It is intended for technically trained staff.
Warnings: Products may contain dangerous substances. Infineon Technologies' products should not be used in applications where failure could result in personal injury.
For further information, contact your nearest Infineon Technologies office or visit www.infineon.com.