User Tools

Site Tools


manual:demos:tc375_lite_kit_ads

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
manual:demos:tc375_lite_kit_ads [2022/11/07 18:07]
voorburg created
manual:demos:tc375_lite_kit_ads [2023/12/04 22:41] (current)
voorburg [Supported firmware update interfaces]
Line 1: Line 1:
 ====== Infineon AURIX TriCore TC375 Lite Kit and AURIX Development Studio ====== ====== Infineon AURIX TriCore TC375 Lite Kit and AURIX Development Studio ======
 +
 +===== Supported firmware update interfaces =====
 +
 +^ RS232         ^ CAN            ^ USB         ^ TCP/​IP ​     ^ SD-card ​     ^ Modbus RTU   ^
 +| Yes           | Yes            | No          | No          | No           | No           |
 +
 +===== Development Environment =====
 +
 +This demo is targeted towards the [[https://​www.infineon.com/​cms/​en/​product/​evaluation-boards/​kit_a2g_tc375_lite/​|AURIX TC375 Lite Kit]] board, with 6 MB internal Flash EEPROM and 992 kB internal RAM.
 +
 +{{:​manual:​demos:​tricore_tc375_lite_kit.png|}}
 +
 +
 +To compile the demo programs you can use the [[https://​www.infineon.com/​cms/​en/​product/​promopages/​aurix-development-studio/​|AURIX Development Studio]].
 +
 +To program the bootloader into the internal flash, the on-board miniWiggler interface was used. Firmware updates via the serial communication port are preconfigured to use the virtual COM-port offered by the miniWiggler. This means that no additional hardware is needed, besides a standard micro-USB cable.
 +
 +===== Workspace creation in AURIX Development Studio =====
 +
 +Two demo projects are included in the OpenBLT bootloader package. One for the bootloader itself and one for the demo user program. This user program is configured such that it can be programmed, into the internal flash memory of the microcontroller,​ during a firmware update with the bootloader.
 +
 +The first step in getting the the bootloader up-and-running,​ is the creation of the Eclipse workspace in the AURIX Development Studio. After starting the AURIX Development Studio, you are prompted to open a workspace. It is easiest to create a new one in the following directory: .\Target\Demo\TRICORE_TC3_TC375_Lite_Kit_ADS\
 +
 +{{:​manual:​demos:​tricore_tc375_lite_devstudio_workspace_creation.png?​550|}}
 +
 +To import the demo programs into the workspace, select //File -> Import// from the program menu. Then select //General -> Existing Projects into Workspace//​. On the next screen you select the following directory as the root directory: .\Target\Demo\TRICORE_TC3_TC375_Lite_Kit_ADS\. Eclipse will automatically find the **Boot** and **Prog** projects and select them:
 +
 +{{:​manual:​demos:​tricore_tc375_lite_devstudio_project_import.png?​650|}}
 +
 +Click the //Finish// button to complete the project import operation.
 +
 +===== Building and programming the Bootloader =====
 +
 +Before the bootloader can be used, it needs to be built and programmed into the AURIX TriCore TC375'​s internal flash memory. The steps in this section only need to be done once.
 +
 +Set the project as the active project in Eclipse. This is achieved by right-clicking the **Boot** project in the project navigator called //C/C++ Projects//. From the context menu, select //Set Active Project//. Next, select //Project -> Rebuild Active Project// from the menu to compile all the bootloader sources and link them together into the final executable.
 +
 +The bootloader program is now ready to be programmed into the internal flash memory of the AURIX TriCore TC375. Make sure the AURIX TriCore TC375 Lite Kit is connected to your PC via a USB cable. Next, right-click the **Boot** project in the project navigator and select //Debug As -> AURIX C Application//​ from the context menu to flash the bootloader program. This will launch the Debug perspective in Eclipse. Once done, you can start the bootloader program by clicking the green play button on the toolbar or by pressing F8 on the keyboard.
 +
 +Alternatively,​ you can use your favorite programmer to flash the bootloader using one of the following files, depending on what file type your programmer supports:
 +
 +  * \Target\Demo\TRICORE_TC3_TC375_Lite_Kit_ADS\**Boot**\Debug\**openblt_tc375.elf**
 +  * \Target\Demo\TRICORE_TC3_TC375_Lite_Kit_ADS\**Boot**\Debug\**openblt_tc375.srec**
 +
 +===== Building the Demo Program =====
 +
 +Set the project as the active project in Eclipse. This is achieved by right-clicking the **Prog** project in the project navigator called //C/C++ Projects//. From the context menu, select //Set Active Project//. Next, select //Project → Rebuild Active Project// from the menu to compile all the user program sources and link them together into the final executable.
 +
 +The output file is
 +
 +  * \Target\Demo\TRICORE_TC3_TC375_Lite_Kit_ADS\**Prog**\Debug\**demoprog_tc375.srec**
 +
 +
 +===== Firmware update procedure =====
 +
 +To download the demo program \Target\Demo\TRICORE_TC3_TC375_Lite_Kit_ADS\**Prog**\Debug\**demoprog_tc375.srec** using the bootloader, follow the instructions in the following links, depending on the communication interface you intend to use:
 +
 +  * [[manual:​rs232_demo|Firmware updates using the RS232 communication interface]]
 +  * [[manual:​can_demo|Firmware updates using the CAN communication interface]]
 +
  
manual/demos/tc375_lite_kit_ads.1667840820.txt.gz · Last modified: 2022/11/07 18:07 by voorburg