TechnicalReference_DiagA2lGens

 
 
 
 
 
 
 
 
 
 
 
 
MICROSAR Diag A2l Gen 
Technical Reference 
 
A2l fragment file generator for DEM, DCM and FIM 
Version 1.02.00 
 
 
 
 
 
 
 
 
 
 
 
Authors 
Alexander Ditte 
Status 
Released 
 
 
 
 
 
 


Technical Reference MICROSAR Diag A2l Gen 
Document Information 
History 
Author 
Date 
Version 
Remarks 
Alexander Ditte 
2012-04-13 
01.00.00 
initial version 
Alexander Ditte 
2013-06-12 
01.01.00 
added support for AR4 DCM 
Alexander Ditte 
2013-09-25 
01.01.01 
update of chapter 3.1 
Alexander Ditte 
2017-03-03 
01.02.00 
added chapter 4 Limitations 
Reference Documents 
No. 
Source 
Title 
Version 




Scope of the Document  
This  technical  reference  describes  the  specific  use  of  the  diagnostic  A2l  fragment  file 
generator for the DEM, DCM and FIM modules. 
 
 
 
 
 
 
 
Caution 
We have configured the programs in accordance with your specifications in the 
  questionnaire. Whereas the programs do support other configurations than the one 
specified in your questionnaire, Vector´s release of the programs delivered to your 
company is expressly restricted to the configuration you have specified in the 
questionnaire. 
 
 
 
2017, Vector Informatik GmbH 
Version: 1.02.00 
2 / 10 
based on template version 4.8.3 

Technical Reference MICROSAR Diag A2l Gen 
Contents 
1  Component History ........................................................................................................ 5 
2  Introduction .................................................................................................................... 6 
3  Functional Description .................................................................................................. 7 
3.1 
Features .......................................................................................................... 7 
4  Limitations ...................................................................................................................... 8 
4.1 
DEM ................................................................................................................ 8 
5  Glossary and Abbreviations .......................................................................................... 9 
5.1 
Glossary .......................................................................................................... 9 
5.2 
Abbreviations .................................................................................................. 9 
6  Contact .......................................................................................................................... 10 
 
2017, Vector Informatik GmbH 
Version: 1.02.00 
3 / 10 
based on template version 4.8.3 

Technical Reference MICROSAR Diag A2l Gen 
Tables 
Table 1-1  
Component history...................................................................................... 5 
Table 2-1  
Supported components and specifications .................................................. 6 
Table 3-1 
Command line arguments ........................................................................... 7 
Table 5-1  
Glossary ..................................................................................................... 9 
Table 5-2  
Abbreviations .............................................................................................. 9 
 
 
2017, Vector Informatik GmbH 
Version: 1.02.00 
4 / 10 
based on template version 4.8.3 

Technical Reference MICROSAR Diag A2l Gen 
1  Component History 
The  component  history  gives  an  overview  over  the  important  milestones  that  are 
supported in the different versions of the component.  
Component Version  New Features 
01.00.00 
>  Initial version  
01.01.00 
>  Added support for selective generation of measurement or calibration 
fragment content only 
01.02.00 
>  Added support for AUTOSAR 4 DCM 
>  Type definition template is generated in an own file 
Table 1-1  
Component history 
 
2017, Vector Informatik GmbH 
Version: 1.02.00 
5 / 10 
based on template version 4.8.3 

Technical Reference MICROSAR Diag A2l Gen 
2  Introduction 
This  document  describes  the  functionality,  API  and  configuration  of  the  diagnostic  A2l 
fragment generator module. 
This generator shall support the customer to calibrate pre-defined symbols of the following 
modules: 
 
Specification 
 
 
 
3
4


 
A
A
S
S
 
Component 
MICRO
MICRO
DEM 
 
 
DCM 
 
 
FIM 
 
 
Table 2-1  
Supported components and specifications 
 
2017, Vector Informatik GmbH 
Version: 1.02.00 
6 / 10 
based on template version 4.8.3 

Technical Reference MICROSAR Diag A2l Gen 
3  Functional Description 
3.1 
Features 
The generator can be controlled via command line options. It scans the given source code 
folders for configuration files of the supported modules. If a known symbol is available and 
also the correct size could be resolved an entry in the A2l fragment file will be generated. 
For  a  list  of  the  supported  calibratable  and  measurable  symbols  refer  to  the  technical 
reference of the respective module. 
For this tool to work correctly all paths for the configuration files (header and source)  and 
the static files must be passed. 
 
The following command line options are supported:  
Argument 
Optional 
Description 
Default 
[-c Component] 
Yes 
Only the specified component is 
All components are 
taken into account 
taken into account 
Dem: Diagnostic Event Manager 
only                                                                                 
Dcm: Diagnostic Communication 
Manager only                                                                                
FiM: Function Inhibition Manager 
only 
[-f] 
Yes 
Overwrite an existing output a2l 
A confirmation from the 
fragment file without confirmation 
user is required 
[-h] 
Yes 
Shows a help message 

[input …] 
No 
Source code folder(s) to scan 

Please add the folders for the 
static and generated files 
[-l] 
Yes 
Write a log file 
no file is generated 
[-mc 
Yes 
Set the content of the output file.  
Measurement and 
MeasurementCalibration] 
0: Measurement and Calibration         
C   
al i      
brat i    
on       
sy    
m     
bol   
s                                                                       
1: Measurement only                                                                                                             
2: Calibration only 
[-nr] 
Yes 
If set the given folders are not 

recursively scanned  
[-o Out] 
Yes 
Output directory for the generated  Current working 
file 
directory 
[-v] 
Yes 
Print additional information during  - 
program execution 
Table 3-1 
Command line arguments 
 
2017, Vector Informatik GmbH 
Version: 1.02.00 
7 / 10 
based on template version 4.8.3 

Technical Reference MICROSAR Diag A2l Gen 
4  Limitations 
4.1 
DEM 
Measurement symbol generation only supported if no Satellites are configured. 
2017, Vector Informatik GmbH 
Version: 1.02.00 
8 / 10 
based on template version 4.8.3 

Technical Reference MICROSAR Diag A2l Gen 
5  Glossary and Abbreviations 
5.1 
Glossary 
Term 
Description 
EAD 
Embedded Architecture Designer; generation tool for MICROSAR 
components 
GENy 
Generation tool for CANbedded and MICROSAR components 
Table 5-1  
Glossary 
 
 
5.2 
Abbreviations 
Abbreviation 
Description 
API 
Application Programming Interface   
AUTOSAR 
Automotive Open System Architecture 
BSW 
Basis Software 
DEM 
Diagnostic Event Manager 
DET 
Development Error Tracer 
EAD 
Embedded Architecture Designer 
ECU 
Electronic Control Unit 
HIS 
Hersteller Initiative Software 
ISR 
Interrupt Service Routine 
MICROSAR 
Microcontroller Open System Architecture (the Vector AUTOSAR 
solution) 
PPort 
Provide Port 
RPort 
Require Port 
RTE 
Runtime Environment 
SRS 
Software Requirement Specification 
SWC 
Software Component 
SWS 
Software Specification 
Table 5-2  
Abbreviations 
 
 
2017, Vector Informatik GmbH 
Version: 1.02.00 
9 / 10 
based on template version 4.8.3 

Technical Reference MICROSAR Diag A2l Gen 
6  Contact 
Visit our website for more information on 
 
>  News 
>  Products 
>  Demo software 
>  Support 
>  Training data 
>  Addresses 
 
www.vector.com 
 
 
 
 
2017, Vector Informatik GmbH 
Version: 1.02.00 
10 / 10 
based on template version 4.8.3 

Document Outline


Last modified July 6, 2025: Initial commit (97b4320)