导图社区 AUTOAR4.2.2XCP配置容器20230715A
AUTOAR4.2.2XCP配置容器,介绍了XcpConfig和XcpGeneral.一起来看。
编辑于2023-08-18 16:36:47 安徽XCP
XcpConfig
This container contains the configuration parameters and sub containers of the AUTOSAR Xcp module.
XcpDaqList(0..*)
XcpDaqListNumber
Index number of the DAQ list
EcucIntegerParamDef (Symbolic Name generated for this parameter)
XcpDaqListType
This indicates whether this DAQ list represents a DAQ or a STIM
DAQ
DAQ_STIM
STIM
XcpMaxOdt(0 .. 252)
MAX_ODT indicates the maximum amount of ODTs in this DAQ list (STATIC configuration) dependency: only available if XcpDaqConfigType is "DAQ_STATIC" (bit set to '0')
EcucIntegerParamDef
XcpMaxOdtEntries
This parameter indicates the maximum amount of entries in an ODT of this DAQ list (STATIC configuration). dependency: only available if XcpDaqConfigType is "DAQ_STATIC" (bit set to '0')
EcucIntegerParamDef
XcpDto(0..*)
This container collects data transfer object specific parameters for the DAQ list
XcpDtoPid
Packet identifier (PID) of the DTO that identifies the ODT the content of the DTO.
EcucIntegerParamDef (Symbolic Name generated for this parameter)
XcpDto2PduMapping
This reference specifies the mapping of the DTO to the PDUs from the lower-layer interfaces (CanIf, FrIf, SoAd and Cdd). A reference to a XcpRxPdu is only feasible if the the DaqListType is DAQ_STIM. A reference to a XcpTxPdu is only feasible if the DaqListType is DAQ.
Choice reference to [ XcpRxPdu , XcpTxPdu ]
XcpOdt(0..*)
XcpOdtEntryMaxSize
This parameter indicates the upper limit for the size of the element described by an ODT entry. Depending on the DaqListType this ODT belongs to it describes the limit for a DAQ (MAX_ODT_ENTRY_SIZE_DAQ) or a STIM (MAX_ODT_ENTRY_SIZE_STIM).
EcucIntegerParamDef(0..254)
XcpOdtNumber(0..1)
Index number of this ODT within the DAQ list.
EcucIntegerParamDef (Symbolic Name generated for this parameter)
XcpOdt2DtoMapping(0..2)
This reference maps the ODT to the according DTO in which it will be transmitted.
Reference to [ XcpDto ]
XcpOdtEntry(1..*)
This container collects all configuration parameters that comprise an ODT entry.
XcpOdtEntryAddress(0..1)
Memory address that the ODT entry is referencing to.
EcucLinkerSymbolDef
XcpOdtEntryBitOffset(0..1)
Represent the bit offset in case of the element represents status bit.
EcucIntegerParamDef
XcpOdtEntryLength(0..1)
Length of the referenced memory area that is referenced by the ODT entry.
EcucIntegerParamDef
XcpOdtEntryNumber(0..1)
Index number of the ODT entry
EcucIntegerParamDef
XcpEventChannel(1..*)
XcpEventChannelConsistency
Type of consistency used by event channel
DAQ
EVENT
ODT
XcpEventChannelMaxDaqList
Maximum amount of DAQ lists that are handled by this event channel.
EcucIntegerParamDef
XcpEventChannelNumber
Index number of the event channel.
EcucIntegerParamDef (Symbolic Name generated for this parameter)
XcpEventChannelPriority
Priority of the event channel
EcucIntegerParamDef
XcpEventChannelTimeCycle
The event channel time cycle indicates which sampling period is used to process this event channel. A value of 0 means 'Not cyclic'.
EcucIntegerParamDef
XcpEventChannelTimeUnit(0..1)
dependency: Dependent on the Parameter EventChannelTimeCycle. When this parameter is set to 0, the entire event channel time unit parameter shall be ignored.
TIMESTAMP_UNIT_100MS
TIMESTAMP_UNIT_100NS
TIMESTAMP_UNIT_100PS
TIMESTAMP_UNIT_100US
TIMESTAMP_UNIT_10MS
TIMESTAMP_UNIT_10NS
TIMESTAMP_UNIT_10PS
TIMESTAMP_UNIT_10US
TIMESTAMP_UNIT_1MS
TIMESTAMP_UNIT_1NS
TIMESTAMP_UNIT_1PS
TIMESTAMP_UNIT_1S
TIMESTAMP_UNIT_1US
XcpEventChannelType
DAQ
DAQ_STIM
STIM
XcpEventChannelTriggeredDaqListRef(0..*)
References all DAQ lists that are trigged by this event channel.
Reference to [ XcpDaqList ]
XcpPdu(1..*)
XcpRxPdu(0..1)
XcpRxPduId
ID of the PDU that will be received via a Xcp_<module>RxIndication.
EcucIntegerParamDef (Symbolic Name generated for this parameter)
XcpRxPduRef
Reference to the external PDU definition
Reference to [ Pdu ]
XcpTxPdu
XcpTxPduId
The PDU identifier, which has to be used by the lower layer BSW module for TxConfirmations or TriggerTransmits.
EcucIntegerParamDef (Symbolic Name generated for this parameter)
XcpTxPduRef
Reference to the external PDU definition
Reference to [ Pdu ]
XcpGeneral
This container contains the general configuration parameters of the XCP.
XcpDaqConfigType
Sets the DAQ_CONFIG_TYPE bit within the DAQ_PROPERTIES parameter to "static" or to "dynamic". If DAQ_STATIC is selected, the DAQ_CONFIG_TYPE bit is set to "0". If DAQ_DYNAMIC is selected, the DAQ_CONFIG_TYPE bit is set to "1". dependency: If DAQ_CONFIG_TYPE = dynamic, MAX_DAQ equals MIN_DAQ+DAQ_COUNT.
DAQ_DYNAMIC
DAQ_STATIC
XcpDaqCount
Indicates the number of DAQ lists for dynamic configuration. dependency: This parameter is available only if XcpDaqConfigType is set to "1" i.e DAQ_DYNAMIC
EcucIntegerParamDef
XcpDevErrorDetect
EcucBooleanParamDef
XcpFlashProgrammingEnabled
Enabling of XCP Flash programming functionality
EcucBooleanParamDef
XcpIdentificationFieldType
Type of Identification Field the slave will use when transferring DAQ Packets to the master. The master has to use the same Type of Identification Field when transferring STIM Packets to the slave.
ABSOLUTE
Absolute ODT number
RELATIVE_BYTE
Relative ODT number, absolute DAQ list number (BYTE)
RELATIVE_WORD
Relative ODT number, absolute DAQ list number (WORD)
RELATIVE_WORD_ALIGNED
Relative ODT number, absolute DAQ list number (WORD, aligned).
XcpMainFunctionPeriod
The XCP does not require this information but the BSW scheduler, which invokes the main function, needs it in order to plan its tasks.
EcucFloatParamDef
XcpMaxCto
MAX_CTO shows the maximum length of a CTO packet in bytes.
EcucIntegerParamDef(8..255)
XcpMaxDto
MAX_DTO shows the maximum length of a DTO packet in bytes.
EcucIntegerParamDef(8..65535)
XcpMaxEventChannel
EcucIntegerParamDef(0..65535)
XcpMinDaq
Indicates the number of predefined, read only DAQ lists on the XCP slave
EcucIntegerParamDef(0..255)
XcpOdtCount
This parameter indicates the amount of ODTs of a DAQ list using dynamic DAQ list configuration; dependency: This parameter is available only if XcpDaqConfigType is set to "1" i.e DAQ_DYNAMIC
EcucIntegerParamDef(0..252)
XcpOdtEntriesCount
Indicates the amount of entries into an ODT using dynamic DAQ list configuration. dependency: This parameter is available only if XcpDaqConfigType is set to "1" i.e DAQ_DYNAMIC
EcucIntegerParamDef(0..255)
XcpOdtEntrySizeDaq
Indicates the size of an element described by an ODT entry to the DaqListType for a DAQ.
EcucIntegerParamDef(0..255)
XcpOdtEntrySizeStim
Indicates the size of an element described by an ODT entry to the DaqListType for a stim.
EcucIntegerParamDef(0..255)
XcpOnCanEnabled
EcucBooleanParamDef
XcpOnCddEnabled
EcucBooleanParamDef
XcpOnEthernetEnabled
EcucBooleanParamDef
XcpOnFlexRayEnabled
EcucBooleanParamDef
XcpPrescalerSupported
This parameter enables and disables the support for Prescaler support. True is Enabled, False is disabled
EcucBooleanParamDef
XcpSuppressTxSupport
Switches the support of suppressing transmission of PDUs per communication channel on or off. TRUE: Suppressing of TxPDUs supported FALSE: Suppressing of TxPDUs not supported
EcucBooleanParamDef
XcpTimestampTicks
This parameter defines the timestamp that will increment based TIMESTAMP_TICKS per unit and wrap around if an overflow occurs.
EcucIntegerParamDef(0..65535)
XcpTimestampType
FOUR_BYTE
NO_TIME_STAMP
ONE_BYTE
TWO_BYTE
XcpTimestampUnit
This parameter indicates the resolution of the data acquisition clock of the slave when transferring data to master.
TIMESTAMP_UNIT_100MS
TIMESTAMP_UNIT_100NS
TIMESTAMP_UNIT_100PS
TIMESTAMP_UNIT_100US
TIMESTAMP_UNIT_10MS
TIMESTAMP_UNIT_10NS
TIMESTAMP_UNIT_10PS
TIMESTAMP_UNIT_10US
TIMESTAMP_UNIT_1MS
TIMESTAMP_UNIT_1NS
TIMESTAMP_UNIT_1PS
TIMESTAMP_UNIT_1S
TIMESTAMP_UNIT_1US
XcpVersionInfoApi
EcucBooleanParamDef
XcpCounterRef
This parameter contains a reference to the counter, which is used by XCP.
Reference to [ OsCounter ]
XcpNvRamBlockIdRef(0..1)
This reference contains the link to a non-volatile memory block to be used in the feature "RESUME MODE" so this information has to be stored non volatile to be available directly after start-up of the ECU.
Symbolic name reference to [ NvMBlockDescriptor ]