SPRADJ0 February   2025 AM2612 , AM2631 , AM2632 , AM2634 , AM263P2 , AM263P4 , AM2732 , AM2732-Q1 , AM620-Q1 , AM623 , AM625 , AM625-Q1 , AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1 , AM62D-Q1 , AM62P , AM62P-Q1 , AM67 , AM68A , AM69A , DRA821U , TDA4AEN-Q1 , TDA4AH-Q1 , TDA4AL-Q1 , TDA4AP-Q1 , TDA4VE-Q1 , TDA4VEN-Q1 , TDA4VH-Q1 , TDA4VL-Q1 , TDA4VM , TDA4VP-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
    1. 1.1 Configurator
  5. 2Software Stack
    1. 2.1 Configurator Plug-in
    2. 2.2 Source Files
    3. 2.3 User Guide
    4. 2.4 Compliance Support Package (CSP)
  6. 3Utilizing the Source - Building Drivers and Examples
    1. 3.1 One-Time Setup
    2. 3.2 Build Instructions
    3. 3.3 Build Command Syntax
  7. 4Obtaining an MCAL package
  8. 5Summary
  9. 6References

Configurator Plug-in

The Configurator Plug-in provides configuration options of module-related parameters which can be edited and generated using a Configurator Tool to get a GUI for the available module fields. Any AUTOSAR-compliant configurator tool can utilize module plug-in files to load the configurable fields from an ARXML file (specifically, the schema ARXML file loads the model, data ARXML can provide pre- and recommended configuration values loadable for each of the fields in schema) and generate the corresponding include and source files.

Configurator Plug-in for EB tresos Studio has the following file contents:

  • config/
    • <Module>.xdm - XML Data Format file which can use XPath and expression type validations supported by EB tresos.
    • <Module>.arxml - Standard AUTOSAR XML file which can be used to load the plug-in schema in any AUTOSAR-compliant configurator tool.
  • config_ext/
    • <Module>_Rec.xdm - Recommended XDM Data file that can load the recommended field values for many of the available options in an XDM.
  • generate/
    • include/
      • <Module>_Cfg.h - Module Configuration Header file generation template.
    • src/
      • <Module>_Cfg.c - Module Configuration Source file generation template for Pre-compile configuration variant.
      • <Module>_Lcfg.c - Module Configuration Source file generation template for Link-time configuration variant.
      • <Module>_PBcfg.c - Module Configuration Source file generation template for Post-Build configuration variant.
    • V<Number> - Version-specific folder, where each version relates to a driver hardware variant. These contain any hardware-bound header and source files that totally fit with the hardware variant.
  • generate_swcd/
    • swcd/
      • <Module>_Bswmd.arxml - BSW Module Description file for a plug-in.
  • META-INF/
    • MANIFEST.MF - Java Manifest file used to describe the plug-in.
    • CRYPTOMANIFEST.MF and CRYPTOMANIFESTSIG.MF - Signed plug-in files to sign each file of a plug-in (with the exception of these files) and contain encrypted plug-in source information for use with a User License.
  • plugin.xml - Plug-in XML file for several plug-in specific settings.

To use a configurator plug-in, follow these steps:

  1. Paste the plug-in folders to be loaded under the plugins/ folder in the EB tresos installation path, generally C:/EB/tresos/ on a Microsoft® Windows® system. The plug-ins can be acquired for your specific device from TI through the mechanism described in the MCAL software documentation. Do not run EB tresos while the plug-ins are being copied, or else the software can fail to be recognized and EB tresos must be closed and re-launched.
  2. Launch the EB tresos Studio application:
    AM602, AM2412 AM602, AM2412
  3. Create a new Configuration Project from FileNewConfiguration Project. Set useful options from the New Project Wizard.
    AM602, AM2412
    1. Use any appropriate name for the project.AM602, AM2412
    2. Provide relevant ECU ID (users choice) and choose the right plug-in Target as ARM/AM2xx as matching with the AM2x MCU series. Seeing the Target drop-down populated with your device plug-in means the plug-in was recognized correctly by EB tresos.
      AM602, AM2412
    3. Add the right set of modules from the available set. Click the Next button if any Importers or Exporters must be used; otherwise, directly choose the Finish button.
      AM602, AM2412
  4. Open the generic editor for each module and find the available option fields to set and update the configuration.
    AM602, AM2412
  5. Once ready with the values, under the Context menu, application Toolbar or from the Application Menu Bar, click on Verify project and then proceed with Build project if there are 0 errors.
    AM602, AM2412
  6. Expand the output folder generated under the project and copy the generated include/<Mip>_Cfg.h and src/<Mip>_Cfg.c configuration-variant-based configuration source files to use with the end application of any driver.

Documentation on installing and using EB tresos Studio is available under the <EB_tresos_Installation_Path>/doc/ folder. See also the Users Guide available at EB/tresos/doc/2.0_EB_tresos_Studio/2.1_Studio_documentation_users_guide.pdf for more details on using this tool.