导图社区 AUTOAR4.2.2Dem配置容器20230716A
AUTOAR4.2.2Dem配置容器,Configuration of the Dem (Diagnostic Event Manager) module.
编辑于2023-08-18 16:37:41 安徽Dem
Configuration of the Dem (Diagnostic Event Manager) module
DemGeneral
DemAgingCycleCounterProcessing(0..1)
This configuration switch defines, whether the aging counter is calculated Dem-internally or provided via Dem_SetAgingCycleCounterValue.
DEM_PROCESS_AGINGCTR_EXTERN
DEM_PROCESS_AGINGCTR_INTERN
DemAgingRequieresTestedCycle
Defines if the aging cycle counter is processed every aging cycles or if only tested aging cycle are considered. true: only tested aging cycle are considered for aging cycle counter false: aging cycle counter is processed every aging cycle
EcucBooleanParamDef
DemAvailabilitySupport
This configuration switch defines, whether support for availability is enabled or not.
DEM_EVENT_AVAILABILITY
DEM_NO_AVAILABILITY
DemBswErrorBufferSize(0..1)
Maximum number of elements in buffer for handling of BSW errors
EcucIntegerParamDef
DemClearDTCBehavior
Defines the clearing process of diagnostic information for volatile and non-volatile memory and the positive response handling for the Dcm module.
DEM_CLRRESP_NONVOLATILE_FINISH
Return DEM_CLEAR_OK after volatile and non-volatile event memory data cleared
DEM_CLRRESP_NONVOLATILE_TRIGGER
Return DEM_CLEAR_OK after volatile event memory data cleared and non-volatile event memory clearing is triggered
DEM_CLRRESP_VOLATILE
Return DEM_CLEAR_OK after volatile event memory data cleared
DemClearDTCLimitation
DEM_ALL_SUPPORTED_DTCS
DEM_ONLY_CLEAR_ALL_DTCS
Dem_<...>ClearDTC accepts all supported DTC values, as well as all DTC values which are configured in DemGroupDTCs and DEM_DTC_GROUP_ALL_DTCS.
DEM_ALL_SUPPORTED_DTCS
Dem_<...>ClearDTC accepts ClearAllDTCs only
DemDataElementDefaultEndianness
Defines the default endianness of the data belonging to a data element which is applicable if the DemExternalSRDataElementClass does not define a endianness
BIG_ENDIAN
LITTLE_ENDIAN
OPAQUE
DemDebounceCounterBasedSupport
This configuration switch defines, whether support for counter based debouncing is enabled or not.
EcucBooleanParamDef
DemDebounceTimeBasedSupport
This configuration switch defines, whether support for time based debouncing is enabled or not.
EcucBooleanParamDef
DemDevErrorDetect
EcucBooleanParamDef
DemDtcStatusAvailabilityMask
Mask for the supported DTC status bits by the Dem. This mask is used by UDS service 0x19.
EcucIntegerParamDef
DemEnvironmentDataCapture(0..1)
DemEnvironmentDataCapture defines the point in time, when the data actually is captured.
DEM_CAPTURE_ASYNCHRONOUS_TO_REPORTING
The data capturing is postponed to the next cycle of the Dem_Mainfunction. (This means that there is a minimum delay between report of the failure and capturing the data).
DEM_CAPTURE_SYNCHRONOUS_TO_REPORTING
The data is captured immediately within the reporting function (i.e. in the context of the setEventStatus/reportErrorStatus function)
DemEventCombinationSupport
This parameter defines the type of event combination supported by the Dem.
DEM_EVCOMB_DISABLED
DEM_EVCOMB_ONRETRIEVAL
DEM_EVCOMB_ONSTORAGE
DemEventDisplacementStrategy
DEM_DISPLACEMENT_FULL
Event memory entry displacement is enabled, by consideration of priority active/passive status, and occurrence.
DEM_DISPLACEMENT_NONE
Event memory entry displacement is disabled.
DEM_DISPLACEMENT_PRIO_OCC
Event memory entry displacement is enabled, by consideration of priority and occurrence (but without active/passive status)
DemEventMemoryEntryStorageTrigger
Configures the primary trigger to allocate an event memory entry
DEM_TRIGGER_ON_CONFIRMED
Event Memory entries are triggered if the UDS DTC status bit 3 (confirmedDTC) changes from 0 to 1
DEM_TRIGGER_ON_FDC_THRESHOLD
Event Memory entries are triggered when the FDC threshold is reached.
DEM_TRIGGER_ON_PENDING
Event Memory entries are triggered if the UDS DTC status bit 2 (pendingDTC) changes from 0 to 1.
DEM_TRIGGER_ON_TEST_FAILED
Event Memory entries are triggered if the UDS DTC status bit 0 (testFailed) changes from 0 to 1.
DemGeneralInterfaceSupport
The interfaces GeneralEvtInfo, GeneralCallbackEventDataChanged and GeneralCallbackEventStatusChange are provided if DemGeneralInterfaceSupport is equal to true.
EcucBooleanParamDef
DemHeaderFileInclusion(0..*)
Name of the header file(s) to be included by the Dem module containing the used C-callback declarations
EcucStringParamDef
DemImmediateNvStorageLimit(0..1)
This parameter defines the maximum number of occurrences, a specific event memory entry is allowed, to be stored in NVRAM immediately (refer to DemImmediateNvStorage).
EcucIntegerParamDef
DemMILIndicatorRef(0..1)
This parameter defines the indicator representing the MIL. This parameter is mandatory for ECUs supporting OBD (refer to DemOBDSupport). dependency: DemOBDSupport == DEM_OBD_MASTER_ECU || DEM_OBD_PRIMARY_ECU
Reference to DemIndicator
DemMaxNumberEventEntryEventBuffer(0..1)
Specifies the size of the buffer for storing environmental data (freezeframes and extended data) until they are processed and stored to the event memory. dependency: Required for DemEnvironmentDataCapture == DEM_CAPTURE_SYNCHRONOUS_TO_REPORTING
EcucIntegerParamDef
DemMaxNumberEventEntryPermanent
Maximum number of events which can be stored in the permanent memory. The assignment of an event to this memory type is dynamic and used for emission-related events only
EcucIntegerParamDef
DemMaxNumberPrestoredFF
Defines the maximum number for prestored freeze frames. If set to 0, then freeze frame prestorage is not supported by the ECU.
EcucIntegerParamDef
DemOBDSupport
DEM_OBD_DEP_SEC_ECU
Kind of OBD ECU: OBD Dependend / Secondary ECU
DEM_OBD_MASTER_ECU
Kind of OBD ECU: Master ECU
DEM_OBD_NO_OBD_SUPPORT
DEM_OBD_PRIMARY_ECU
Kind of OBD ECU: Pimary ECU
DemOccurrenceCounterProcessing
This configuration switch defines the consideration of the fault confirmation process for the occurrence counter. For OBD and mixed systems (OBD/non OBD, refer to DemOBDSupport) configuration switch shall always set to DEM_PROCESS_OCCCTR_TF.
DEM_PROCESS_OCCCTR_CDTC
the occurrence counter is triggered by the TestFailed bit if the fault confirmation was successful (ConfirmedDTC bit is set)
DEM_PROCESS_OCCCTR_TF
the occurrence counter is only triggered by the TestFailed bit (and the fault confirmation is not considered) This parameter is mandatory in case of J1939.
DemOperationCycleStatusStorage
Defines if the operation cycle state is available over the power cycle (stored non-volatile) or not. true: the operation cycle state is stored non-volatile false: the operation cycle state is only stored volatile dependency: DemOBDSupport == DEM_OBD_MASTER_ECU || DEM_OBD_PRIMARY_ECU
EcucBooleanParamDef
DemPTOSupport
This configuration switch defines, whether PTO support (and therefore PID $1E support) is enabled or not. dependency: DemOBDSupport == DEM_OBD_MASTER_ECU || DEM_OBD_PRIMARY_ECU
EcucBooleanParamDef
DemResetConfirmedBitOnOverflow
This configuration switch defines, whether the confirmed bit is reset or not while an event memory entry will be displaced
EcucBooleanParamDef
DemStatusBitHandlingTestFailedSinceLastClear
This configuration switch defines, whether the aging and displacement mechanism shall be applied to the "TestFailedSinceLastClear" status bits.
DEM_STATUS_BIT_AGING_AND_DISPLACEMENT
the "TestFailedSinceLastClear" status bits are reset to 0, if aging or displacement applies (like done for the "ConfirmedDTC" status bits)
DEM_STATUS_BIT_NORMAL
aging and displacement has no impact on the "TestFailedSinceLastClear" status bits
DemStatusBitStorageTestFailed
Activate/Deactivate the permanent storage of the "TestFailed" status bits.
EcucBooleanParamDef
DemSuppressionSupport
This configuration switch defines, whether support for suppression is enabled or not.
DEM_DTC_SUPPRESSION
Support suppression by DTC
DEM_NO_SUPPRESSION
DemTaskTime
Allow to configure the time for the periodic cyclic task. Please note: This configuration value shall be equal to the value in the Basic Software Scheduler configuration of the RTE module. The AUTOSAR configuration standard is to use SI units, so this parameter is defined as float value in seconds. Dem configuration tools must convert this float value to the appropriate value format for the use in the software implementation of Dem. min: A negative value is not allowed. max: After event status was reported, processing shall be completed within 100ms in order to have the fault entry status information updated as soon as possible (e.g. for PID $01). upperMultiplicity: Exactly one TaskTime must be specified per configuration. lowerMultiplicity: Exactly one TaskTime must be specified per configuration.
EcucFloatParamDef(0.001..0.1)
DemTriggerDcmReports
Activate/Deactivate the notification to the Diagnostic Communication Manager for ROE processing.
EcucBooleanParamDef
DemTriggerDltReports
Activate/Deactivate the notification to the Diagnostic Log and Trace
EcucBooleanParamDef
DemTriggerFiMReports
Activate/Deactivate the notification to the Function Inhibition Manager.
EcucBooleanParamDef
DemTriggerMonitorInitBeforeClearOk
Defines if the monitor re-initialization has to be triggered before or after the Dem module returns DEM_CLEAR_OK. true: trigger re-initialization before DEM_CLEAR_OK false: trigger re-initialization after DEM_CLEAR_OK dependency: DemClearDTCBehavior
EcucBooleanParamDef
DemTypeOfDTCSupported
This parameter defines the format returned by Dem_DcmGetTranslationType and does not relate to/influence the supported Dem functionality.
DEM_DTC_TRANSLATION_ISO11992_4
DEM_DTC_TRANSLATION_ISO14229_1
ISO14229-1 DTC format (3 byte format)
DEM_DTC_TRANSLATION_ISO15031_6
ISO15031-6 DTC format = SAE_J2012-DA_DTCFormat_00 (2 byte format)
DEM_DTC_TRANSLATION_SAEJ1939_73
SAEJ1939-73 DTC format
DEM_DTC_TRANSLATION_SAE_J2012_DA_DTCFORMAT_04
SAE_J2012-DA_DTCFormat_00 (3 byte format)
DemTypeOfFreezeFrameRecordNumeration
This parameter defines the type of assigning freeze frame record numbers for event-specific freeze frame records.
DEM_FF_RECNUM_CALCULATED
freeze frame records will be numbered consecutive starting by 1 in their chronological order
DEM_FF_RECNUM_CONFIGURED
freeze frame records will be numbered based on the given configuration in their chronological order
DemVersionInfoApi
EcucBooleanParamDef
DemCallbackDTCStatusChanged(0..*)
DemCallbackDTCStatusChangedFnc(0..1)
Function name of prototype "DTCStatusChanged". Note: If the parameter DemTriggerDcmReports is enabled, this parameter shall not be "Dcm_DemTriggerOnDTCStatus". dependency: DemTriggerDcmReport
EcucFunctionNameDef
DemDataElementClass(0..65535)
DemExternalCSDataElementClass(0..1)
This container contains the configuration (parameters) for an external client/server based data element class. It defines, how the Dem can obtain the value of the data element from either a SW-C or another BSW module. Whether a client/server port or a C function-call is used, is defined by DemDataElementUsePort
DemDataElementDataSize
EcucIntegerParamDef
DemDataElementReadFnc(0..1)
EcucFunctionNameDef
DemDataElementUsePort
If the parameter is set to True, a R-Port is generated, to obtain the data element (interface DataServices_{Data}). If the parameter is set to False, the information is obtained by C function-call on another BSW module specified by the parameter DemDataElementReadFnc.
EcucBooleanParamDef
DemExternalSRDataElementClass(0..1)
This container contains the configuration (parameters) for an external sender/receiver based data element class. It defines, how the Dem can obtain the value of the data element from a SW-C, by using a sender/receiver port.
DemDataElementDataSize
EcucIntegerParamDef
DemDataElementDataType
DemDataElementEndianness
DemDiagnosisScaling(0..1)
This container contains the configuration (parameters) of an alternative Diagnosis Representation. Out if this the scaling between Diagnosis and ECU internal representation and vice versa can be calculated.
DemAlternativeDataInterface(0..1)
DemDataElement
Foreign reference to VARIABLE-DATA-PROTOTYPE
DemPortInterfaceMapping(0..1)
DemAlternativeDataProps(0..1)
DemDataTypeCategory
Foreign reference to APPLICATION-PRIMITIVE-DATA-TYPE
DemLinearScale(0..1)
DemDiagnosisRepresentationDataLowerRange
EcucFloatParamDef
DemDiagnosisRepresentationDataOffset
EcucFloatParamDef
DemDiagnosisRepresentationDataResolution
EcucFloatParamDef
DemDiagnosisRepresentationDataUpperRange
EcucFloatParamDef
DemTextTableMapping(0..*)
DemDiagnosisRepresentationDataValue
EcucIntegerParamDef
DemInternalDataValue
EcucIntegerParamDef
DemAlternativeDataType(0..1)
DemApplicationDataType
Foreign reference to APPLICATION-PRIMITIVE-DATA-TYPE
DemTextTableMapping(0..*)
DemDiagnosisRepresentationDataValue
EcucIntegerParamDef
DemInternalDataValue
EcucIntegerParamDef
DemSRDataElementClass(0..1)
This container defines the source of data in a provided port which shall be read for a external data element This container shall contain either one DemSubElementInDataElementInstance OR DemDataElementInstance OR DemSubElementInImplDataElementInstance reference
DemDataElemenTInstance(0..1)
Instance Reference to the primitive data in a port where the data element is typed with an ApplicationPrimitveDataType or an ImplementationDataType.
DemDataElementInstanceRef
Instance reference to AUTOSAR-DATA-PROTOTYPE context: ROOTSW-COMPOSITION-PROTOTYPE SW-COMPONENT-PROTOTYPE PORT-PROTOTYPE
DemSubElementInDataElementInstance(0..1)
Instance Reference to the primitve sub-element (at any level) of composite data in a port where the data element is typed with an ApplicationCompositeDataType.
DemSubElementInDataElementInstanceRef
Instance reference to AUTOSAR-DATA-PROTOTYPE context: ROOTSW-COMPOSITION-PROTOTYPE SW-COMPONENT-PROTOTYPE PORT-PROTOTYPE AUTOSAR-DATA-PROTOTYPE APPLICATIONCOMPOSITE-ELEMENT-DATA-PROTOTYPE*
DemSubElementInImplDataElementInstance(0..1)
Instance Reference to the primitve sub-element (at any level) of composite data in a port where the data element is typed with an ImplementationDataType of category STRUCTURE or ARRAY
DemSubElementInImplDataElementInstanceRef
Instance reference to IMPLEMENTATION-DATA-TYPE-ELEMENT context: ROOT-SW-COMPOSITION-PROTOTYPE SW-COMPONENTPROTOTYPE PORT-PROTOTYPE AUTOSAR-DATA-PROTOTYPE I MPLEMENTATION-DATA-TYPE-ELEMENT*
DemInternalDataElementClass(0..1)
This container contains the configuration (parameters) for an external sender/receiver based data element class. It defines, how the Dem can obtain the value of the data element from a SW-C, by using a sender/receiver port.
DemDataElementDataSize
EcucIntegerParamDef
DemInternalDataElement
DemDidClass(0..65535)
DemDidDataElementClassRef(1..255)
Reference to DemDataElementClass
DemDidIdentifier
EcucIntegerParamDef
DemEnableCondition(0..255)
DemEnableConditionId
EcucIntegerParamDef (Symbolic Name generated for this parameter)
DemEnableConditionStatus
Defines the initial status for enable or disable of acceptance of event reports of a diagnostic event. The value is the initialization after power up (before this condition is reported the first time). true: acceptance of a diagnostic event enabled false: acceptance of a diagnostic event disabled
EcucBooleanParamDef
DemEnableConditionGroup(0..255)
DemEnableConditionRef(1..255)
Reference to DemEnableCondition
DemExtendedDataClass(0..*)
DemExtendedDataRecordClassRef(1..253)
Reference to DemExtendedDataRecordClass
DemExtendedDataRecordClass(0..253)
DemDataElementClassRef
Reference to DemDataElementClass
DemExtendedDataRecordNumber
This configuration parameter specifies an unique identifier for an extended data record. One or more extended data records can be assigned to one diagnostic event/DTC. 0x00 is reserved by ISO (therefore the minimal value equals 1) 0xF0 to 0xFF are reserved by ISO (therefore the maximal value equals 239)
EcucIntegerParamDef
DemExtendedDataRecordTrigger
DemExtendedDataRecordUpdate
子主题
DemFreezeFrameClass(0..65535)
DemDidClassRef(1..255)
Reference to DemDidClass
DemFreezeFrameRecNumClass(0..255)
DemFreezeFrameRecordClassRef
Reference to DemFreezeFrameRecordClass
DemFreezeFrameRecordClass(0..255)
DemFreezeFrameRecordNumber
This parameter defines a record number for a freeze frame record. This record number is unique per freeze frame record number class
EcucIntegerParamDef
DemFreezeFrameRecordTrigger
DemFreezeFrameRecordUpdate
DemGeneralJ1939(0..1)
DemAmberWarningLampIndicatorRef(0..1)
Reference to DemIndicator
DemJ1939ClearDtcSupport
EcucBooleanParamDef
DemJ1939Dm31Support
EcucBooleanParamDef
DemJ1939ExpandedFreezeFrameSupport
EcucBooleanParamDef
DemJ1939FreezeFrameSupport
EcucBooleanParamDef
DemJ1939RatioSupport
EcucBooleanParamDef
DemJ1939Readiness1Support
EcucBooleanParamDef
DemJ1939Readiness2Support
EcucBooleanParamDef
DemJ1939Readiness3Support
EcucBooleanParamDef
DemJ1939ReadingDtcSupport
EcucBooleanParamDef
DemProtectLampIndicatorRef
EcucBooleanParamDef
DemRedStopLampIndicatorRef(0..1)
Reference to DemIndicator
DemCallbackJ1939DTCStatusChanged(0..*)
DemCallbackDTCStatusChangedFnc(0..1)
Function name of prototype "DTCStatusChanged". Note: If the parameter DemTriggerDcmReports is enabled, this parameter shall not be "Dcm_DemTriggerOnDTCStatus"
EcucFunctionNameDef
DemJ1939FreezeFrameClass(0..255)
DemSPNClassRef
Reference to an SPN. This reference defines requiresIndex = true since it represents a ordered list of references where the order describes the order of single SPNs in the J1939 Freeze Frame.
Reference to DemSPNClass
DemSPNClass(0..*)
DemSPNDataElementClassRef
This reference contains the link to a data element class
Reference to DemDataElementClass
DemSPNId
EcucIntegerParamDef
DemGeneralOBD(0..1)
DemOBDCentralizedPID21Handling
Switch to enable the centralized handling of PID $21
EcucBooleanParamDef
DemOBDCentralizedPID31Handling
Switch to enable the centralized handling of PID $31
EcucBooleanParamDef
DemOBDCompliancy
Configuration value to define the appropriate value to PID$1C "OBD requirements to which vehicle or engine is certified." according to the respective standards, e.g. OBD, OBDII, JOBD etc. Notice as well J1979 or the "DiagnosticReadiness 1" DM05 message of J1939-73
EcucIntegerParamDef
DemOBDDestinationOfEventsRef(0..1)
The destination of events assigns where the OBD events shall be stored
Choice Reference to [DemPrimaryMemory,DemUserDefinedMemory]
DemOBDEngineType
DEM_IGNITION_COMPRESSION
Diesel engine type
DEM_IGNITION_SPARK
Gasoline engine type
DemOBDEventDisplacement
Activate/Deactivate a different displacement behavior for OBD events. OBD events with special Conditions (e.g. Pending, MIL_On...) shall not be displaced.
EcucBooleanParamDef
DemOBDInputAcceleratorPedalInformation(0..1)
Input variable for the accelerator padal information, which is assigned to a specific data element used as interface for the Dem-internal PID calculations.
Choice Reference to[DemExternalCSDataElementClass,DemExternalSRDataElementClass]
DemOBDInputAmbientPressure(0..1)
Input variable for the ambient pressure, which is assigned to a specific data element used as interface for the Dem-internal PID calculations.
Choice Reference to [DemExternalCSDataElementClass,DemExternalSRDataElementClass]
DemOBDInputAmbientTemperature(0..1)
Input variable for the ambient temperature, which is assigned to a specific data element used as interface for the Dem-internal PID calculations
Choice Reference to [DemExternalCSDataElementClass,DemExternalSRDataElementClass]
DemOBDInputDistanceInformation(0..1)
Input variable for the distance information, which is assigned to a specific data element used as interface for the Dem-internal PID calculations.
Choice Reference to [DemExternalCSDataElementClass,DemExternalSRDataElementClass]
DemOBDInputEngineSpeed(0..1)
Input variable for the engine speed, which is assigned to a specific data element used as interface for the Dem-internal PID calculations.
Choice Reference to [DemExternalCSDataElementClass,DemExternalSRDataElementClass]
DemOBDInputEngineTemperature(0..1)
Input variable for the engine temperature, which is assigned to a specific data element used as interface for the Dem-internal PID calculations
Choice Reference to [DemExternalCSDataElementClass,DemExternalSRDataElementClass]
DemOBDInputProgrammingEvent(0..1)
Input variable for the programming event, which is assigned to a specific data element used as interface for the Dem-internal PID calculations
Choice Reference to [DemExternalCSDataElementClass,DemExternalSRDataElementClass]
DemOBDInputVehicleSpeed(0..1)
Choice Reference to [DemExternalCSDataElementClass,DemExternalSRDataElementClass]
DemOBDTimeSinceEngineStart(0..1)
Input variable for the Time Since Engine Start information, which is assigned to a specific data element.
Choice Reference to [DemExternalCSDataElementClass,DemExternalSRDataElementClass]
DemCallbackOBDDTCStatusChanged(0..*)
The presence of this container indicates, that the Dem has access to a "DTCStatusChanged" callback, which the Dem will call to notify other components about the change in the status of a DTC. In case there is a DemCallbackDTCStatusChangedFnc, this parameter defines the name of the function that the Dem will call. In case there is no DemCallbackDTCStatusChangedFnc, the Dem will have an R-Port requiring the interface CallbackDTCStatusChanged whose name is generated by using the unique callback-prefix followed by the event name. Status change notifications are supported for DTCs in primary memory only
DemGroupOfDTC(0..255)
DemGroupDTCs
DTC values of the selected group of DTC (Range: 3 byte, 0xFFFFFF is reserved for ’all DTCs’, according to ISO14229-1 Annex D.1) The DTC group ’all DTCs’ is always available and will not be configured. The following ranges are reserved by ISO 14229-1 : 0x000000 to 0x0000ff and 0xffff00 to 0xffffff.
EcucIntegerParamDef (Symbolic Name generated for this parameter)
DemIndicator(0..255)
DemIndicatorID
EcucIntegerParamDef (Symbolic Name generated for this parameter)
DemMirrorMemory(0..1)
This container contains the mirror event memory specific parameters of the Dem module
DemMaxNumberEventEntryMirror
Maximum number of events which can be stored in the mirror memory
EcucIntegerParamDef
DemNvRamBlockId(0..*)
DemNvRamBlockIdRef
This reference contains the link to a non-volatile memory block. For post build time configurations worst case scenario shall be used.
Symbolic name reference to NvMBlockDescriptor
DemOperationCycle(1..256)
DemOperationCycleAutomaticEnd
If DemOperationCycleAutomaticEnd is configured to TRUE, Dem shall automatically end the driving cycle at either Dem_Shutdown() or Dem_Init().
EcucBooleanParamDef
DemOperationCycleAutostart
The autostart property defines if the operation cycles is automatically (re-)started during Dem_PreInit
EcucBooleanParamDef
DemOperationCycleId(0..1)
EcucIntegerParamDef (Symbolic Name generated for this parameter)
DemOperationCycleType
DEM_OPCYC_IGNITION Ignition ON / OFF cycle
DEM_OPCYC_OBD_DCY OBD Driving cycle
DEM_OPCYC_OTHER further operation cycle
DEM_OPCYC_POWER Power ON / OFF cycle
DEM_OPCYC_TIME Time based operation cycle
DEM_OPCYC_WARMUP OBD Warm up cycle
DemPrimaryMemory
This container contains the primary event memory specific parameters of the Dem module.
DemMaxNumberEventEntryPrimary
Maximum number of events which can be stored in the primary memory
EcucIntegerParamDef
DemRatio(0..65535)
This container contains the OBD-specific in-use-monitor performance ratio configuration. It is related to a specific event, a FID, and an IUMPR group.
DemDiagnosticEventRef
This reference contains the link to a diagnostic event dependency: DemOBDSupport == DEM_OBD_MASTER_ECU
Reference to DemEventParameter
DemFunctionIdRef
This reference contains the link to a function identifier within the FiM which is used as a primary FID Dependency: DemOBDSupport == DEM_OBD_MASTER_ECU
Symbolic name reference to FiMFID
DemIUMPRDenGroup
This parameter specifies the assigned denominator type which is applied in addition to the General Denominator conditions. dependency: DemOBDSupport == DEM_OBD_MASTER_ECU || DEM_OBD_PRIMARY_ECU
DEM_IUMPR_DEN_500MILL
DEM_IUMPR_DEN_COLDSTART
DEM_IUMPR_DEN_EVAP
DEM_IUMPR_DEN_NONE
DEM_IUMPR_DEN_PHYS_API
DemIUMPRGroup
DEM_IUMPR_BOOSTPRS
DEM_IUMPR_CAT1
DEM_IUMPR_CAT2
DEM_IUMPR_EGR
DEM_IUMPR_EGSENSOR
DEM_IUMPR_EVAP
DEM_IUMPR_FLSYS
DEM_IUMPR_NMHCCAT
DEM_IUMPR_NOXADSORB
DEM_IUMPR_NOXCAT
DEM_IUMPR_OXS1
DEM_IUMPR_OXS2
DEM_IUMPR_PMFILTER
DEM_IUMPR_PRIVATE
DEM_IUMPR_SAIR
DEM_IUMPR_SECOXS1
DEM_IUMPR_SECOXS2
DemRatioId
dependency: DemOBDSupport == DEM_OBD_MASTER_ECU
EcucIntegerParamDef (Symbolic Name generated for this parameter)
DemRatioKind
DEM_RATIO_API
DEM_RATIO_OBSERVER
DemSecondaryFunctionIdRef(0..*)
This reference contains the link to a function identifier within the FiM which is used as a secondary FID. The "primary" and all "secondary" FID inhibitions are combined by "OR".\ \dependency: DemOBDSupport == DEM_OBD_MASTER_ECU
Symbolic name reference to FiMFID
DemStorageCondition(0..255)
DemStorageConditionId
EcucIntegerParamDef (Symbolic Name generated for this parameter)
DemStorageConditionReplacementEventRef(0..1)
Specifies the reference to an event which is stored to event memory and supports failure analysis
Reference to DemEventParameter
DemStorageConditionStatus
Defines the initial status for enable or disable of storage of a diagnostic event. The value is the initialization after power up (before this condition is reported the first time). true: storage of a diagnostic event enabled false: storage of a diagnostic event disabled
EcucBooleanParamDef
DemStorageConditionGroup(0..255)
DemStorageConditionRef(1..255)
Reference to DemStorageCondition
DemUserDefinedMemory(0..30)
This container contains the user defined event memory specific parameters of the Dem module.
DemMaxNumberEventEntryUserDefined
Maximum number of events which can be stored in the user defined memory.
EcucIntegerParamDef
DemUserDefinedMemoryIdentifier
EcucIntegerParamDef(16..255)
DemConfigSet
DemComponent(0..*)
This container configures the monitored components and system dependencies
DemComponentFailedCallbackFnc(0..1)
Specifies the function to be called on component failed status changes
EcucFunctionNameDef
DemComponentIgnoresPriority(0..1)
This configuration switch defines, whether the priority of events at this component shall be ignored
EcucBooleanParamDef
DemImmediateChildComponentRef(0..*)
Reference to all immediate children of the current component.
Reference to DemComponent
DemDTC(0..65535)
This container contains the configuration (parameters) for DemUdsDTC
DemDTCAttributesRef
Reference to DemDTCAttributes
DemDTCFunctionalUnit(0..1)
DTCFuncitonalUnit is a 1-byte value which identifies the corresponding basic vehicle / system function which reports the DTC. This parameter is necessary for the report of severity information. If this parameter is configured for no DTC, the Dem provides no DTC functional unit information.
EcucIntegerParamDef
DemDTCSeverity(0..1)
DTC severity according to ISO 14229-1. This parameter depends on the automotive manufacturer. If it is not configured, the value is counted as ’no severity’. If this parameter is configured for no DTC, the Dem provides no DTC severity information
DEM_SEVERITY_CHECK_AT_NEXT_HALT
DEM_SEVERITY_CHECK_IMMEDIATELY
DEM_SEVERITY_MAINTENANCE_ONLY
DEM_SEVERITY_NO_SEVERITY
DemDtcValue(0..1)
EcucIntegerParamDef
DemObdDTCRef(0..1)
This parameter defines the OBD DTC configuration associated with the DemDTC. It is allowed to have events without a OBD DTC
Reference to DemObdDTC
DemWWHOBDDTCClass
DTC Class according to ISO 14229-1 [2013 version]. This parameter depends on the automotive manufacturer. If it is not configured, the value is marked as ’unclassified’. If this parameter is configured for no DTC, the Dem provides no DTC WWHOBD class information.
DEM_DTC_WWHOBD_CLASS_A
DEM_DTC_WWHOBD_CLASS_B1
DEM_DTC_WWHOBD_CLASS_B2
DEM_DTC_WWHOBD_CLASS_C
DEM_DTC_WWHOBD_CLASS_NOCLASS
DemDTCAttributes(0..65535)
This container contains the configuration (parameters) for DemDTCAttributes.
DemAgingAllowed
Switch to allow aging/unlearning of the event or not
EcucBooleanParamDef
DemAgingCycleCounterThreshold(0..1)
Number of aging cycles needed to unlearn/delete the event dependency: DemAgingAllowed
EcucIntegerParamDef
DemAgingCycleCounterThresholdForTFSLC(0..1)
Number of aging cycles needed to reset the testFailedSinceLastClear Bit. dependency: DemStatusBitHandlingTestFailedSinceLastClear == DEM_STATUS_BIT_AGING_AND_DISPLACEMENT
EcucIntegerParamDef
DemAgingCycleRef(0..1)
Reference to DemOperationCycle
DemDTCPriority
Priority of the event/dtc, in view of full event buffer. A lower value means higher priority
EcucIntegerParamDef
DemDTCSignificance(0..1)
Significance of the event, which indicates additional information concerning fault classification and resolution. It can be mapped as Dem-internal data element. It shall be configured, if it is a part of event related data.
DEM_EVENT_SIGNIFICANCE_FAULT
DEM_EVENT_SIGNIFICANCE_OCCURRENCE
DemEventMemoryEntryFdcThresholdStorageValue(0..1)
dependency: DemFreezeFrameRecordTrigger, DemExtendedDataRecordTrigger, DemEventMemoryEntryStorageTrigger = DEM_STORAGE_ON_FDC_THRESHOLD
EcucIntegerParamDef
DemExtendedDataClassRef(0..1)
This reference defines the link to an extended data class sampler
Reference to DemExtendedDataClass
DemFreezeFrameClassRef(0..1)
DemFreezeFrameClassRef
DemFreezeFrameRecNumClassRef(0..1)
This parameter defines the list of dedicated freeze frame record numbers associated with the diagnostic event. These record numbers are assigned to the freeze frame records (instead of calculated record numbers). This parameter is only required for configured record numeration (refer to DemTypeOfFreezeFrameRecordNumeration). dependency: DemTypeOfFreezeFrameRecordNumeration = DEM_FF_RECNUM_CONFIGURED
Reference to DemFreezeFrameRecNumClass
DemImmediateNvStorage
Switch to enable immediate storage triggering of an according event memory entriy persistently to NVRAM. true: immediate non-volatile storage triggering enabled false: immediate non-volatile storage triggering disabled
EcucBooleanParamDef
DemJ1939DTC_J1939NodeRef(0..1)
Reference to DemJ1939Node
DemJ1939ExpandedFreezeFrameClassRef(0..1)
Reference to DemJ1939FreezeFrameClass
DemJ1939FreezeFrameClassRef(0..1)
Reference to DemJ1939FreezeFrameClass
DemMaxNumberFreezeFrameRecords(0..1)
This parameter defines the number of according freeze frame records, which can maximal be stored for this event. Therefore all these freeze frame records have the same freeze frame class. This parameter is only required for calculated record numeration (refer to DemTypeOfFreezeFrameRecordNumeration) dependency: DemTypeOfFreezeFrameRecordNumeration = DEM_FF_RECNUM_CALCULATED
EcucIntegerParamDef
DemMemoryDestinationRef(0..2)
The event destination assigns events to none, one or two origins. If no event destination is assigned to a specific event, the event is handled internally and is not visible externally to the Dcm. If more than one event destination is assigned to a specific event, the event can be present in the corresponding origins.
Choice Reference to [DemMirrorMemory,DemPrimaryMemory,DemUserDefinedMemory]
DemWWHOBDFreezeFrameClassRef(0..1)
This reference defines the link to a WWH-OBD freeze frame class sampler.
Reference to DemFreezeFrameClass
DemDebounceTimeBaseClass(0..65535)
This container contains the configuration of Debounce Counter Based Class
DemDebounceBehavior
This parameter defines how the event debounce algorithm will behave, if a related enable condition is not fulfilled or ControlDTCSetting of the related event is disabled.
DEM_DEBOUNCE_FREEZE
The event debounce counter will be frozen with the current value and will not change while a related enable condition is not fulfilled or ControlDTCSetting of the related event is disabled. After all related enable conditions are fulfilled and ControlDTCSetting of the related event is enabled again, the event qualification will continue with the next report of the event (i.e. SetEventStatus).
DEM_DEBOUNCE_RESEZ
The event debounce counter will be reset to initial value if a related enable condition is not fulfilled or ControlDTCSetting of the related event is disabled. The qualification of the event will be restarted with the next valid event report.
DemDebounceTimeFailedThreshold
Defines the time out duration for "Event Failed" qualification. The AUTOSAR configuration standard is to use SI units, so this parameter is defined as float value in seconds. Dem configuration tools must convert this float value to the appropriate value format for the use in the software implementation of Dem.
EcucFloatParamDef
DemDebounceTimePassedThreshold
Defines the time out duration for "Event Passed" qualification. The AUTOSAR configuration standard is to use SI units, so this parameter is defined as float value in seconds. Dem configuration tools must convert this float value to the appropriate value format for the use in the software implementation of Dem.
EcucFloatParamDef
DemDtrs(0..1)
This container holds the configuration of DTRs collection.
DemDtr(0..65535)
DemDtrCompuDenominator0
Part of the conversion between the binary representation and the physical meaning analogous to the SW-C Template conversion CompuRationalCoeffs with 2 numerator coefficients and 1 denominator coefficient in the direction compuInternalToPhys. This is the only one supported denominator value, a constant divisor. The value 0 is not allowed. dependency: DemOBDSupport == DEM_OBD_MASTER_ECU || DEM_OBD_PRIMARY_ECU
EcucFloatParamDef
DemDtrCompuNumerator0
Part of the conversion between the binary representation and the physical meaning analogous to the SW-C Template conversion CompuRationalCoeffs with 2 numerator coefficients and 1 denominator coefficient in the direction compuInternalToPhys. This is the first numerator value, which is multiplied with xˆ 0, i.e., the offset.
EcucFloatParamDef
DemDtrCompuNumerator1
Part of the conversion between the binary representation and the physical meaning analogous to the SW-C Template conversion CompuRationalCoeffs with 2 numerator coefficients and 1 denominator coefficient in the direction compuInternalToPhys. This is the second numerator value, which is multiplied with xˆ 1, i.e., the factor.
EcucFloatParamDef
DemDtrEventRef(0..1)
Reference to the DemEventParameter this DTR is related to. If the related event is not configured, the Dem cannot ensure consistency between the DTR and the event dependency: DemOBDSupport == DEM_OBD_MASTER_ECU || DEM_OBD_PRIMARY_ECU
Reference to DemEventParameter
DemDtrId
The index identifier value assigned to this DTR. The value is generated during the Dem configuration process.
EcucIntegerParamDef (Symbolic Name generated for this parameter)
DemDtrMid
The OBDMID of the DTR. The values 0x00, 0x20, 0x40, 0x60, 0x80, 0xA0, 0xC0, 0xE0 are reserved.
EcucIntegerParamDef
DemDtrTid
EcucIntegerParamDef
DemDtrUasid
EcucIntegerParamDef
DemDtrUpdateKind
DEM_DTR_UPDATE_ALWAYS
DEM_DTR_UPDATE_STEADY
DemDebounceCounterBasedClass(0..65535)
This container contains the configuration of Debounce Counter Based Class
DemDebounceBehavior
This parameter defines how the event debounce algorithm will behave, if a related enable condition is not fulfilled or ControlDTCSetting of the related event is disabled.
DEM_DEBOUNCE_FREEZE
The event debounce counter will be frozen with the current value and will not change while a related enable condition is not fulfilled or ControlDTCSetting of the related event is disabled. After all related enable conditions are fulfilled and ControlDTCSetting of the related event is enabled again, the event qualification will continue with the next report of the event (i.e. SetEventStatus).
DEM_DEBOUNCE_RESEZ
The event debounce counter will be reset to initial value if a related enable condition is not fulfilled or ControlDTCSetting of the related event is disabled. The qualification of the event will be restarted with the next valid event report.
DemDebounceCounterDecrementStepSize
Defines the step size for decrementation of the internal debounce counter (PREPASSED).
EcucIntegerParamDef
DemDebounceCounterFailedThreshold
Defines the value of the internal debounce counter, which indicates the failed status
EcucIntegerParamDef
DemDebounceCounterIncrementStepSize
Defines the step size for incrementation of the internal debounce counter (PREFAILED).
EcucIntegerParamDef
DemDebounceCounterJumpDown
Switch for the activation of Jump-Down.
EcucBooleanParamDef
DemDebounceCounterJumpDownValue
Jump-Down value of the internal debounce counter which is taken as initialization value for the counter when the respective step-down occurs.
EcucIntegerParamDef
DemDebounceCounterJumpUp
EcucBooleanParamDef
DemDebounceCounterJumpUpValue
EcucIntegerParamDef
DemDebounceCounterPassedThreshold
Defines the value of the internal debounce counter, which indicates the passed status.
EcucIntegerParamDef
DemDebounceCounterStorage
Switch to store the debounce counter value non-volatile or not. true: debounce counter value shall be stored non-volatile false: debounce counter value is volatile dependency: DemOperationCycleStatusStorage = True
EcucIntegerParamDef
DemEventParameter(1..65535)
This container contains the configuration (parameters) for events.
DemComponentClassRef(0..1)
Reference to DemComponent
DemComponentPriority(0..1)
Specifies the priority within the component. A lower value means higher priority.
EcucIntegerParamDef
DemDTCRef(0..1)
This parameter defines the DTC configuration (typically Uds) associated with the diagnostic event. It is allowed to have events without a DTC (e.g. for ECU-internal events triggering safety reactions without being reported via diagnostic communication). The same DemDTCAttributes can be used from several events, to combine these (refer to chapter "Combination of diagnostic event").
Reference to DemDTC
DemEnableConditionGroupRef(0..1)
Reference to DemEnableConditionGroup
DemEventAvailable
This parameter configures an Event as unavailable. It is treated by Dem as if it does not exist. true = Event is available false = Event is not available
EcucBooleanParamDef
DemEventFailureCycleCounterThreshold
Defines the number of failure cycles for the event based fault confirmation. If this parameter is enabled, fault confirmation of the event is enabled accordingly.
EcucIntegerParamDef
DemEventId
EcucIntegerParamDef (Symbolic Name generated for this parameter)
DemEventKind
This parameter is used to distinguish between SW-C and BSW events. SW-C events are reported by Dem_SetEventStatus API and BSW events are reported by Dem_ReportErrorStatus API.
DEM_EVENT_KIND_BSW
DEM_EVENT_KIND_SWC
DemFFPrestorageSupported
If this parameter is set to true, then the Prestorage of FreezeFrames is supported by the assigned event. This parameter is useful to calculate the buffer size.
EcucBooleanParamDef
DemOBDGroupingAssociativeEventsRef(0..1)
This parameter defines a reference which points to a representative event of one group of associate events. The "reverence event" must refer to it self. Note: One event is only allowed to be reverenced to only one group of associate events. dependency: DemOBDSupport == DEM_OBD_MASTER_ECU || DEM_OBD_PRIMARY_ECU
Reference to DemEventParameter
DemOperationCycleRef
Reference to DemOperationCycle
DemReportBehavior(0..1)
Indicates the reporting behavior of the BSW Module (DemEventKind == DEM_EVENT_KIND_BSW) in order to determine the size of the reporting queue. If the parameter is not defined it means REPORT_BEFORE_INIT dependency: DemEventKind == DEM_EVENT_KIND_BSW
REPORT_AFTER_INIT
Indicates that the Event will not be reported before Dem_Init().
REPORT_BEFORE_INIT
Indicates that the Event may be reported before Dem_Init()
DemStorageConditionGroupRef(0..1)
Reference to DemStorageConditionGroup
DemCallbackClearEventAllowed(0..1)
The presence of this container indicates that the Dem has access to a "ClearEventAllowed" callback. In case there is a DemCallbackClearEventAllowedFnc, this parameter defines the name of the function that the Dem will call. In case there is no DemCallbackClearEventAllowedFnc, the Dem will have an R-Port requiring the interface CallbackClearEventAllowed whose name is generated by using the unique callback-prefix followed by the event name.
DemCallbackClearEventAllowedFnc(0..1)
EcucFunctionNameDef
DemClearEventAllowedBehavior
DemClearEventAllowedBehavior
DEM_NO_STATUS_BYTE_CHANGE
DEM_ONLY_THIS_CYCLE_AND_READINESS
DemCallbackEventDataChanged(0..1)
The presence of this container indicates that the Dem has access to an "EventDataChanged" callback. In case there is a DemCallbackEventDataChangedFnc, this parameter defines the name of the function that the Dem will call. In case there is no DemCallbackEventDataChangedFnc, the Dem will have an R-Port requiring the interface CallbackEventDataChanged whose name is generated by using the unique callback-prefix followed by the event name
DemCallbackEventDataChangedFnc(0..1)
EcucFunctionNameDef
DemCallbackEventStatusChanged(0..*)
The presence of this container indicates, that the Dem has access to an "EventStatusChanged" callback, which the Dem will call to notify other components about the change in the status of an event. In case there is a DemCallbackEvenStatusChangedFnc, this parameter defines the name of the function that the Dem will call. In case there is no DemCallbackEvenStatusChangedFnc, the Dem will have an R-Port requiring the interface CallbackEventStatusChanged, whose name is generated by using the unique callback-prefix followed by the event name
DemCallbackEventStatusChangedFnc
EcucFunctionNameDef
DemCallbackInitMForE(0..1)
The presence of this container indicates, that the Dem has access to an "InitMonitorForEvent" callback, which the Dem will call to initialize a monitor. In case the container has a DemCallbackInitMForEFnc, this parameter defines the name of the function that the Dem will call. In case there is no DemCallbackInitMForEFnc, the Dem will have an R-Port requiring the interface CallbackInitMonitorForEvent, whose name is generated by using the unique callback-prefix followed by the event name.
DemCallbackInitMForEFnc(0..1)
EcucFunctionNameDef
DemDebounceAlgorithmClass
Debounce algorithm class: counter based, time based, or monitor internal.
DemDebounceCounterBased(0..1)
DemDebounceCounterBasedClassRef
Reference to DemDebounceCounterBasedClass
DemDebounceMonitorInternal(0..1)
DemCallbackGetFDC(0..1)
DemCallbackGetFDC specifies the callback (parameter DemCallbackGetFDCFnc is present) or R-Port (no parameter DemCallbackGetFDCFnc is present) to retrieve the fault detection counter value. In case no container is configured, no fault detection counter will be available.
DemCallbackGetFDCFnc(0..1)
This parameter defines the name of the function that the Dem will call to retrieve the fault-detection counter value from a complex driver.
EcucFunctionNameDef
DemDebounceTimeBase(0..1)
DemDebounceTimeBaseRef
Reference to DemDebounceTimeBaseClass
DemIndicatorAttribute(0..255)
This container contains the event specific configuration of Indicators.
DemIndicatorBehaviour
子主题
DemIndicatorFailureCycleCounterThreshold(0..1)
Defines the number of failure cycles for the WarningIndicatorOnCriteria.
EcucIntegerParamDef
DemIndicatorHealingCycleCounterThreshold
Defines the number of healing cycles for the WarningIndicatorOffCriteria.
EcucIntegerParamDef
DemIndicatorRef
Reference to DemIndicator
DemJ1939Node(0..255)
Contains the parameters for the support of a logical J1939 node.
DemJ1939NmNodeRef(1..255)
DemJ1939NmNodeRef
DemObdDTC(0..65535)
vThis container contains the configuration (parameters) for DemObdDTC
DemConsiderPtoStatus
This parameter is TRUE, when the event is affected by the Dem PTO handling. dependency: DemOBDSupport == DEM_OBD_MASTER_ECU || DEM_OBD_PRIMARY_ECU
EcucBooleanParamDef
DemDtcValue(0..1)
dependency: DemOBDSupport == DEM_OBD_MASTER_ECU || DEM_OBD_PRIMARY_ECU
EcucIntegerParamDef
DemEventOBDReadinessGroup(0..1)
This parameter specifies the Event OBD Readiness group for PID $01 and PID $41 computation. This parameter is only applicable for emission-related ECUs. dependency: DemOBDSupport == DEM_OBD_MASTER_ECU
DEM_OBD_RDY_AC
DEM_OBD_RDY_BOOSTPR
DEM_OBD_RDY_CAT
DEM_OBD_RDY_CMPRCMPT
DEM_OBD_RDY_EGSENS
DEM_OBD_RDY_ERG
DEM_OBD_RDY_EVAP
DEM_OBD_RDY_FLSYS
DEM_OBD_RDY_FLSYS_NONCONT
DEM_OBD_RDY_HCCAT
DEM_OBD_RDY_HTCAT
DEM_OBD_RDY_MISF
DEM_OBD_RDY_NONE
DEM_OBD_RDY_NOXCAT
DEM_OBD_RDY_O2SENS
DEM_OBD_RDY_O2SENSHT
DEM_OBD_RDY_PMFLT
DEM_OBD_RDY_SECAIR
DemJ1939DTCValue(0..1)
EcucIntegerParamDef
DemPidClass(0..255)
This container contains the different PIDs for the single global OBD relevant freeze frame class. It is assembled out of one or several data elements. dependency: DemOBDSupport == DEM_OBD_MASTER_ECU || DEM_OBD_PRIMARY_ECU
DemJ1939NmNodeRef
EcucIntegerParamDef
DemPidDataElement(1..255)
This container contains the different data elements contained in the specific PID
DemPidDataElementClassRef
dependency: DemOBDSupport == DEM_OBD_MASTER_ECU || DEM_OBD_PRIMARY_ECU
Reference to DemDataElementClass