Navigation
External Links
Donate
Show your appreciation for OpenBLT
and support future development by
donating.
External Links
Donate
Show your appreciation for OpenBLT
and support future development by
donating.
RS232 | CAN | USB | TCP/IP | SD-card | Modbus RTU |
---|---|---|---|---|---|
Yes | Yes | No | No | No | No |
This demo is targeted towards the AURIX TC275 Lite Kit board, with 4 MB internal Flash EEPROM and 472 kB internal RAM.
To compile the demo programs you can use the 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.
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_TC2_TC275_Lite_Kit_ADS\
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_TC2_TC275_Lite_Kit_ADS\. Eclipse will automatically find the Boot and Prog projects and select them:
Click the Finish button to complete the project import operation.
Before the bootloader can be used, it needs to be built and programmed into the AURIX TriCore TC275'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 TC275. Make sure the AURIX TriCore TC275 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:
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
To download the demo program \Target\Demo\TRICORE_TC2_TC275_Lite_Kit_ADS\Prog\Debug\demoprog_tc275.srec using the bootloader, follow the instructions in the following links, depending on the communication interface you intend to use: