Main Content

Generate Software Executables for Multicore Models

Infineon® AURIX™ microcontrollers consist of homogenous TriCore® processing units and a heterogeneous parallel processing unit (PPU) that you can use to develop multicore application models for deployment in your SoC applications. Use the SoC Builder tool to generate executables, code, and program the hardware board.

Single vs. Separate Executables

The SoC Builder tool generates software executables after you successfully build your multicore model. You can create a single executable and linkable format (ELF) file for all the participating cores or separate ELF files for different participating cores of the Infineon AURIX microcontrollers. The single ELF file option stores all the data in the RAM of the TriCore 0 processing unit. To store or write different data in different cores, you can use the custom storage option or core-specific linker files and create separate ELF files for each participating core of your application model. For more information on custom storage class, see Custom Storage Class for Infineon AURIX TC4x Microcontrollers.

Advantages of Single ELF File

Creating a single ELF file rather than separate ELF files enables you to:

  • Optimize memory — With a single ELF file, the Infineon low-level driver library (iLLD), MathWorks peripheral, and interprocess communication (IPC) drivers are common functions across all the cores. Sharing common code, functions, and data across the participating cores reduces the memory footprint.

  • Single linker file for all participating cores — You can maintain a single linker script for all the participating cores, which enhances the scalability of your application and reduces memory overlap issues.

  • Debug all participating cores at once — A single ELF file for all participating cores eliminates the need for manually enabling the auxiliary cores with separate ELF files and manually loading the flash image of TriCore 0, the principal core, which is key to booting up the auxiliary cores.

Generate Single ELF File

To generate a single ELF file for all participating cores of multicore application model, follow these steps:

  1. Open the multicore model and start SoC Builder by clicking Build, Deploy & Start in the Hardware tab.

    SoC Builder for Infineon AURIX

    The SoC Builder tool provides these options in the Advanced Configuration pane:

    • Separate for each core (default) — Generate a separate ELF file for each participating core of the application model.

    • Single for all homogenous cores — Generate a single ELF file for all participating homogenous TriCore processing units of the application model.

    If your application model contains a heterogeneous PPU along with homogenous TriCore processing units, SoC Builder generates a single ELF file for all homogenous TriCore processing units and a different ELF file for the PPU.

  2. Select Single for all homogenous cores and select Use custom linker file to provide your own custom linker file by using the Browse button.

    single ELF selection for infineon aurix

  3. Click Next in the SoC Builder and continue with the model validation and build steps. The SoC Builder generates a single ELF file for all the participating cores after successful building of your application model. For more information on these steps, see Generate Code and Deploy Using SoC Builder.

See Also

Topics