Changes between Version 9 and Version 10 of spec/Dcm
- Timestamp:
- Dec 6, 2022, 11:50:20 AM (18 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
spec/Dcm
v9 v10 9 9 = 概要 = 10 10 * DiagnosticCommunication(診断)に関する解説サイト 11 * [https:// vector.com/vj_beginners-diag_jp.htmlはじめての診断(ベクター・ジャパン株式会社)]11 * [https://cdn.vector.com/cms/content/know-how/VJ/PDF/For_Beginners_Diagnostic_Communication.pdf はじめての診断(ベクター・ジャパン株式会社)] 12 12 * API一覧 13 13 14 ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R4.2.2 =|| 15 || [#Dcm_Init Dcm_Init] || 1|| 0x01|| ○ || 16 || [#Dcm_GetVersionInfo Dcm_GetVersionInfo] || 36|| 0x24|| ○ || 17 || [#Dcm_DemTriggerOnDTCStatus Dcm_DemTriggerOnDTCStatus] || 43|| 0x2B|| ○ || 18 || [#Dcm_GetVin Dcm_GetVin] || 7|| 0x07|| ○ || 19 || [#Dcm_GetSecurityLevel Dcm_GetSecurityLevel] || 13|| 0x0D|| ○ || 20 || [#Dcm_GetSesCtrlType Dcm_GetSesCtrlType] || 6|| 0x06|| ○ || 21 || [#Dcm_GetActiveProtocol Dcm_GetActiveProtocol] || 15|| 0x0F|| ○ || 22 || [#Dcm_ResetToDefaultSession Dcm_ResetToDefaultSession] || 42|| 0x2A|| ○ || 23 || [#Dcm_TriggerOnEvent Dcm_TriggerOnEvent] || 45|| 0x2D|| ○ || 24 || [#Dcm_SetActiveDiagnostic Dcm_SetActiveDiagnostic] || 86|| 0x56|| ○ || 25 || [#Dcm_StartOfReception Dcm_StartOfReception] || 70|| 0x46|| ○ || 26 || [#Dcm_CopyRxData Dcm_CopyRxData] || 68|| 0x44|| ○ || 27 || [#Dcm_TpRxIndication Dcm_TpRxIndication] || 69|| 0x45|| ○ || 28 || [#Dcm_CopyTxData Dcm_CopyTxData] || 67|| 0x43|| ○ || 29 || [#Dcm_TpTxConfirmation Dcm_TpTxConfirmation] || 72|| 0x48|| ○ || 30 || [#Dcm_TxConfirmation Dcm_TxConfirmation] || 64|| 0x40|| ○ || 31 || [#Dcm_ComM_NoComModeEntered Dcm_ComM_NoComModeEntered] || 33|| 0x21|| ○ || 32 || [#Dcm_ComM_SilentComModeEntered Dcm_ComM_SilentComModeEntered] || 34|| 0x22|| ○ || 33 || [#Dcm_ComM_FullComModeEntered Dcm_ComM_FullComModeEntered] || 35|| 0x23|| ○ || 34 || [#Dcm_ReadMemory Dcm_ReadMemory] || 38|| 0x26|| ○ || 35 || [#Dcm_WriteMemory Dcm_WriteMemory] || 39|| 0x27|| ○ || 36 || [#Dcm_SetProgConditions Dcm_SetProgConditions] || 50|| 0x32|| ○ || 37 || [#Dcm_GetProgConditions Dcm_GetProgConditions] || 49|| 0x31|| ○ || 38 || [#Dcm_ProcessRequestTransferExit Dcm_ProcessRequestTransferExit] || 48|| 0x30|| ○ || 39 || [#Dcm_ProcessRequestUpload Dcm_ProcessRequestUpload] || 87|| 0x57|| ○ || 40 || [#Dcm_ProcessRequestDownload Dcm_ProcessRequestDownload] || 37|| 0x25|| ○ || 41 || [#Dcm_ProcessRequestFileTransfer Dcm_ProcessRequestFileTransfer] || 68|| 0x44|| ○ || 42 || [#Dcm_MainFunction Dcm_MainFunction] || 69|| 0x45|| ○ || 43 || [#Xxx_GetSeed Xxx_GetSeed] || 89|| 0x59|| ○ || 44 || [#Xxx_CompareKey Xxx_CompareKey] || 90|| 0x5A|| ○ || 45 || [#Xxx_GetSecurityAttemptCounter Xxx_GetSecurityAttemptCounter] || 52|| 0x34|| ○ || 46 || [#Xxx_SetSecurityAttemptCounter Xxx_SetSecurityAttemptCounter] || 59|| 0x3B|| ○ || 47 || [#Xxx_ReadData Xxx_ReadData] || 82|| 0x52|| ○ || 48 || [#Xxx_WriteData Xxx_WriteData] || 76|| 0x4C|| ○ || 49 || [#Xxx_ReadDataLength Xxx_ReadDataLength] || 55|| 0x37|| ○ || 50 || [#Xxx_ConditionCheckRead Xxx_ConditionCheckRead] || 56|| 0x38|| ○ || 51 || [#Xxx_GetScalingInformation Xxx_GetScalingInformation] || 77|| 0x4D|| ○ || 52 || [#Xxx_ReturnControlToECU Xxx_ReturnControlToECU] || 60|| 0x3C|| ○ || 53 || [#Xxx_ResetToDefault Xxx_ResetToDefault] || 58|| 0x3A|| ○ || 54 || [#Xxx_FreezeCurrentState Xxx_FreezeCurrentState] || 85|| 0x55|| ○ || 55 || [#Xxx_ShortTermAdjustment Xxx_ShortTermAdjustment] || 64|| 0x40|| ○ || 56 || [#Xxx_IsDidAvailable Xxx_IsDidAvailable] || 65|| 0x41|| ○ || 57 || [#Xxx_ReadDidData Xxx_ReadDidData] || 94|| 0x5E|| ○ || 58 || [#Xxx_WriteDidData Xxx_WriteDidData] || 91|| 0x5B|| ○ || 59 || [#Xxx_ReadDidRangeDataLength Xxx_ReadDidRangeDataLength] || 92|| 0x5C|| ○ || 60 || [#Xxx_Start Xxx_Start] || 93|| 0x5D|| ○ || 61 || [#Xxx_Stop Xxx_Stop] || 95|| 0x5F|| ○ || 62 || [#Xxx_RequestResults Xxx_RequestResults] || 50|| 0x32|| ○ || 63 || [#Xxx_ClearDTCCheckFnc Xxx_ClearDTCCheckFnc] || 51|| 0x33|| ○ || 14 ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R4.2.2 =||= R21-11 =|| 15 || [#Dcm_Init Dcm_Init] || 1|| 0x01|| ○ || ○ || 16 || [#Dcm_GetVersionInfo Dcm_GetVersionInfo] || 36|| 0x24|| ○ || ○ || 17 || [#Dcm_DemTriggerOnDTCStatus Dcm_DemTriggerOnDTCStatus] || 43|| 0x2B|| ○ || ○ || 18 || [#Dcm_GetVin Dcm_GetVin] || 7|| 0x07|| ○ || ○ || 19 || [#Dcm_BndMWriteBlockFinish Dcm_BndMWriteBlockFinish] || 122|| 0x7A|| - || ○ || 20 || [#Dcm_SetDeauthenticatedRole Dcm_SetDeauthenticatedRole] || 121|| 0x79|| - || ○ || 21 || [#Dcm_GetSecurityLevel Dcm_GetSecurityLevel] || 13|| 0x0D|| ○ || ○ || 22 || [#Dcm_GetSesCtrlType Dcm_GetSesCtrlType] || 6|| 0x06|| ○ || ○ || 23 || [#Dcm_GetActiveProtocol Dcm_GetActiveProtocol] || 15|| 0x0F|| ○ || - || 24 || [#Dcm_ResetToDefaultSession Dcm_ResetToDefaultSession] || 42|| 0x2A|| ○ || ○ || 25 || [#Dcm_TriggerOnEvent Dcm_TriggerOnEvent] || 45|| 0x2D|| ○ || ○ || 26 || [#Dcm_SetActiveDiagnostic Dcm_SetActiveDiagnostic] || 86|| 0x56|| ○ || ○ || 27 || [#Dcm_StartOfReception Dcm_StartOfReception] || 70|| 0x46|| ○ || ○ || 28 || [#Dcm_CopyRxData Dcm_CopyRxData] || 68|| 0x44|| ○ || ○ || 29 || [#Dcm_TpRxIndication Dcm_TpRxIndication] || 69|| 0x45|| ○ || ○ || 30 || [#Dcm_CopyTxData Dcm_CopyTxData] || 67|| 0x43|| ○ || ○ || 31 || [#Dcm_TpTxConfirmation Dcm_TpTxConfirmation] || 72|| 0x48|| ○ || ○ || 32 || [#Dcm_TxConfirmation Dcm_TxConfirmation] || 64|| 0x40|| ○ || ○ || 33 || [#Dcm_ComM_NoComModeEntered Dcm_ComM_NoComModeEntered] || 33|| 0x21|| ○ || ○ || 34 || [#Dcm_ComM_SilentComModeEntered Dcm_ComM_SilentComModeEntered] || 34|| 0x22|| ○ || ○ || 35 || [#Dcm_ComM_FullComModeEntered Dcm_ComM_FullComModeEntered] || 35|| 0x23|| ○ || ○ || 36 || [#Dcm_CsmAsyncJobFinished Dcm_CsmAsyncJobFinished] || 255|| 0xFF|| - || ○ || 37 || [#Dcm_KeyMAsyncCertificateVerifyFinished Dcm_KeyMAsyncCertificateVerifyFinished] || 255|| 0xFF|| - || ○ || 38 || [#Dcm_ReadMemory Dcm_ReadMemory] || 38|| 0x26|| ○ || ○ || 39 || [#Dcm_WriteMemory Dcm_WriteMemory] || 39|| 0x27|| ○ || ○ || 40 || [#Dcm_SetProgConditions Dcm_SetProgConditions] || 50[[BR]]97|| 0x32[[BR]]0x61|| ○[[BR]]- || -[[BR]]○ || 41 || [#Dcm_GetProgConditions Dcm_GetProgConditions] || 49[[BR]]98|| 0x31[[BR]]0x62|| ○[[BR]]- || -[[BR]]○ || 42 || [#Dcm_ProcessRequestAddFile Dcm_ProcessRequestAddFile] || 114|| 0x72|| - || ○ || 43 || [#Dcm_ProcessRequestDeleteFile Dcm_ProcessRequestDeleteFile] || 115|| 0x73|| - || ○ || 44 || [#Dcm_ProcessRequestReplaceFile Dcm_ProcessRequestReplaceFile] || 116|| 0x74|| - || ○ || 45 || [#Dcm_ProcessRequestReadFile Dcm_ProcessRequestReadFile] || 117|| 0x75|| - || ○ || 46 || [#Dcm_ProcessRequestReadDir Dcm_ProcessRequestReadDir] || 118|| 0x76|| - || ○ || 47 || [#Dcm_WriteFile Dcm_WriteFile] || 255|| 0xFF|| - || ○ || 48 || [#Dcm_ReadFileOrDir Dcm_ReadFileOrDir] || 120|| 0x78|| - || ○ || 49 || [#Dcm_ProcessRequestTransferExit Dcm_ProcessRequestTransferExit] || 48[[BR]]50|| 0x30[[BR]]0x32|| ○[[BR]]- || -[[BR]]○ || 50 || [#Dcm_ProcessRequestUpload Dcm_ProcessRequestUpload] || 87[[BR]]49|| 0x57[[BR]]0x31|| ○[[BR]]- || -[[BR]]○ || 51 || [#Dcm_ProcessRequestDownload Dcm_ProcessRequestDownload] || 37[[BR]]48|| 0x25[[BR]]0x30|| ○[[BR]]- || -[[BR]]○ || 52 || [#Dcm_ProcessRequestFileTransfer Dcm_ProcessRequestFileTransfer] || 68|| 0x44|| ○ || - || 53 || [#Dcm_ProcessTransferDataRead Dcm_ProcessTransferDataRead] || 38|| 0x26|| - || ○ || 54 || [#Dcm_ProcessTransferDataWrite Dcm_ProcessTransferDataWrite] || 39|| 0x27|| - || ○ || 55 || [#Dcm_MainFunction Dcm_MainFunction] || 69[[BR]]37|| 0x45[[BR]]0x25|| ○[[BR]]- || -[[BR]]○ || 56 || [#Xxx_GetSeed Xxx_GetSeed] || 89[[BR]]68[[BR]]69|| 0x59[[BR]]0x44[[BR]]0x45|| ○[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○ || 57 || [#Xxx_CompareKey Xxx_CompareKey] || 90[[BR]]71|| 0x5A[[BR]]0x47|| ○[[BR]]- || -[[BR]]○ || 58 || [#Xxx_GetSecurityAttemptCounter Xxx_GetSecurityAttemptCounter] || 52[[BR]]89|| 0x34[[BR]]0x59|| ○[[BR]]- || -[[BR]]○ || 59 || [#Xxx_SetSecurityAttemptCounter Xxx_SetSecurityAttemptCounter] || 59[[BR]]90|| 0x3B[[BR]]0x5A|| ○[[BR]]- || -[[BR]]○ || 60 || [#Xxx_ReadData Xxx_ReadData] || 82[[BR]]52[[BR]]59[[BR]]88[[BR]]104[[BR]]105|| 0x52[[BR]]0x34[[BR]]0x3B[[BR]]0x58[[BR]]0x68[[BR]]0x69|| ○[[BR]]-[[BR]]-[[BR]]-[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○[[BR]]○[[BR]]○[[BR]]○ || 61 || [#Xxx_WriteData Xxx_WriteData] || 76[[BR]]81[[BR]]82[[BR]]53[[BR]]62[[BR]]112[[BR]]113|| 0x4C[[BR]]0x51[[BR]]0x52[[BR]]0x35[[BR]]0x3E[[BR]]0x70[[BR]]0x71|| ○[[BR]]-[[BR]]-[[BR]]-[[BR]]-[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○[[BR]]○[[BR]]○[[BR]]○[[BR]]○ || 62 || [#Xxx_ReadDataLength Xxx_ReadDataLength] || 55[[BR]]54[[BR]]76|| 0x37[[BR]]0x36[[BR]]0x4C|| ○[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○ || 63 || [#Xxx_ConditionCheckRead Xxx_ConditionCheckRead] || 56[[BR]]55[[BR]]73|| 0x38[[BR]]0x37[[BR]]0x49|| ○[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○ || 64 || [#Xxx_GetScalingInformation Xxx_GetScalingInformation] || 77[[BR]]75[[BR]]56[[BR]]114[[BR]]115|| 0x4D[[BR]]0x4B[[BR]]0x38[[BR]]0x72[[BR]]0x73|| ○[[BR]]-[[BR]]-[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○[[BR]]○[[BR]]○ || 65 || [#Xxx_ReturnControlToECU Xxx_ReturnControlToECU] || 60[[BR]]79[[BR]]116|| 0x3C[[BR]]0x4F[[BR]]0x74|| ○[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○ || 66 || [#Xxx_ResetToDefault Xxx_ResetToDefault] || 58[[BR]]77[[BR]]117[[BR]]60[[BR]]118|| 0x3A[[BR]]0x4D[[BR]]0x75[[BR]]0x3C[[BR]]0x76|| ○[[BR]]-[[BR]]-[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○[[BR]]○[[BR]]○ || 67 || [#Xxx_FreezeCurrentState Xxx_FreezeCurrentState] || 85[[BR]]74[[BR]]119[[BR]]-[[BR]]120|| 0x55[[BR]]0x4A[[BR]]0x77[[BR]]--[[BR]]0x78|| ○[[BR]]-[[BR]]-[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○[[BR]]○[[BR]]○ || 68 || [#Xxx_ShortTermAdjustment Xxx_ShortTermAdjustment] || 64[[BR]]80[[BR]]121[[BR]]85[[BR]]131|| 0x40[[BR]]0x50[[BR]]0x79[[BR]]0x55[[BR]]0x83|| ○[[BR]]-[[BR]]-[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○[[BR]]○[[BR]]○ || 69 || [#Xxx_IsDidAvailable Xxx_IsDidAvailable] || 65[[BR]]83|| 0x41[[BR]]0x53|| ○[[BR]]- || -[[BR]]○ || 70 || [#Xxx_ReadDidData Xxx_ReadDidData] || 94[[BR]]64|| 0x5E[[BR]]0x40|| ○[[BR]]- || -[[BR]]○ || 71 || [#Xxx_WriteDidData Xxx_WriteDidData] || 91[[BR]]65|| 0x5B[[BR]]0x41|| ○[[BR]]- || -[[BR]]○ || 72 || [#Xxx_ReadDidRangeDataLength Xxx_ReadDidRangeDataLength] || 92[[BR]]94|| 0x5C[[BR]]0x5E|| ○[[BR]]- || -[[BR]]○ || 73 || [#Xxx_GetInfotypeValueData Xxx_GetInfotypeValueData] || 96|| 0x60|| - || ○ || 74 || [#Xxx_Start Xxx_Start] || 93[[BR]]91[[BR]]128|| 0x5D[[BR]]0x5B[[BR]]0x80|| ○[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○ || 75 || [#Xxx_StartConfirmation Xxx_StartConfirmation] || 255|| 0xFF|| - || ○ || 76 || [#Xxx_Stop Xxx_Stop] || 95[[BR]]92[[BR]]129|| 0x5F[[BR]]0x5C[[BR]]0x81|| ○[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○ || 77 || [#Xxx_StopConfirmation Xxx_StopConfirmation] || 105|| 0x69|| - || ○ || 78 || [#Xxx_RequestResults Xxx_RequestResults] || 50[[BR]]113[[BR]]130|| 0x32[[BR]]0x71[[BR]]0x82|| ○[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○ || 79 || [#Xxx_RequestResultsConfirmation Xxx_RequestResultsConfirmation] || 112|| 0x70|| - || ○ || 80 || [#Xxx_RequestControl Xxx_RequestControl] || 99|| 0x63|| - || ○ || 81 || [#Xxx_StartProtocol Xxx_StartProtocol] || 103|| 0x67|| - || ○ || 82 || [#Xxx_StopProtocol Xxx_StopProtocol] || 100|| 0x64|| - || ○ || 83 || [#Xxx_Indication Xxx_Indication] || 101|| 0x65|| - || ○ || 84 || [#Xxx_Confirmation Xxx_Confirmation] || 102|| 0x66|| - || ○ || 85 || [#Xxx_ClearDTCCheckFnc Xxx_ClearDTCCheckFnc] || 51[[BR]]95|| 0x33[[BR]]0x5F|| ○[[BR]]- || -[[BR]]○ || 64 86 65 87 * コンフィギュレーション一覧 … … 69 91 * エラーコード一覧 70 92 71 ||= エラーコード =||= Dec =||= Hex =||= R4.2.2 =|| 72 || DCM_E_INTERFACE_TIMEOUT || 1|| 0x01|| ○ || 73 || DCM_E_INTERFACE_RETURN_VALUE || 2|| 0x02|| ○ || 74 || DCM_E_INTERFACE_BUFFER_OVERFLOW || 3|| 0x03|| ○ || 75 || DCM_E_UNINIT || 5|| 0x05|| ○ || 76 || DCM_E_PARAM || 6|| 0x06|| ○ || 77 || DCM_E_PARAM_POINTER || 7|| 0x07|| ○ || 78 || DCM_E_INIT_FAILED || 8|| 0x08|| ○ || 79 || DCM_E_SET_PROG_CONDITIONS_FAIL || 9|| 0x09|| ○ || 93 ||= エラーコード =||= Dec =||= Hex =||= R4.2.2 =||= R21-11 =|| 94 || DCM_E_INTERFACE_TIMEOUT || 1|| 0x01|| ○ || ○ || 95 || DCM_E_INTERFACE_RETURN_VALUE || 2|| 0x02|| ○ || ○ || 96 || DCM_E_INVALID_VALUE || 2|| 0x02|| - || ○ || 97 || DCM_E_INTERFACE_BUFFER_OVERFLOW || 3|| 0x03|| ○ || ○ || 98 || DCM_E_UNINIT || 5|| 0x05|| ○ || ○ || 99 || DCM_E_PARAM || 6|| 0x06|| ○ || ○ || 100 || DCM_E_PARAM_POINTER || 7|| 0x07|| ○ || ○ || 101 || DCM_E_INIT_FAILED || 8|| 0x08|| ○ || ○ || 102 || DCM_E_SET_PROG_CONDITIONS_FAIL || 9|| 0x09|| ○ || ○ || 80 103 81 104 ---- … … 103 126 }}} 104 127 128 == Dcm_BndMWriteBlockFinish == 129 {{{ 130 void Dcm_BndMWriteBlockFinish (BndM_BlockIdType BlockId, BndM_ResultType result) 131 }}} 132 133 == Dcm_SetDeauthenticatedRole == 134 {{{ 135 Std_ReturnType Dcm_SetDeauthenticatedRole (uint16 connectionId, Dcm_AuthenticationRoleType deauthenticatedRole) 136 }}} 137 105 138 == Dcm_GetSecurityLevel == 106 139 {{{ … … 149 182 150 183 == Dcm_CopyTxData == 184 * R4.2.2 151 185 {{{ 152 186 BufReq_ReturnType Dcm_CopyTxData(PduIdType id, const PduInfoType* info, RetryInfoType* retry, PduLengthType* availableDataPtr) 153 187 }}} 154 188 189 * R21-11 190 {{{ 191 BufReq_ReturnType Dcm_CopyTxData (PduIdType id, const PduInfoType* info, const RetryInfoType* retry, PduLengthType* availableDataPtr) 192 }}} 193 155 194 == Dcm_TpTxConfirmation == 156 195 {{{ … … 159 198 160 199 == Dcm_TxConfirmation == 200 * R4.2.2 161 201 {{{ 162 202 void Dcm_TxConfirmation(PduIdType TxPduId) 163 203 }}} 164 204 205 * R21-11 206 {{{ 207 void Dcm_TxConfirmation (PduIdType TxPduId, Std_ReturnType result) 208 }}} 209 165 210 == Dcm_ComM_NoComModeEntered == 166 211 {{{ … … 178 223 }}} 179 224 225 == Dcm_CsmAsyncJobFinished == 226 {{{ 227 Std_ReturnType Dcm_CsmAsyncJobFinished (Csm_ResultType result) 228 }}} 229 230 == Dcm_KeyMAsyncCertificateVerifyFinished == 231 {{{ 232 Std_ReturnType Dcm_KeyMAsyncCertificateVerifyFinished (KeyM_CertificateIdType CertID, KeyM_CertificateStatusType Result) 233 }}} 234 180 235 == Dcm_ReadMemory == 181 236 {{{ … … 184 239 185 240 == Dcm_WriteMemory == 241 * R4.2.2 186 242 {{{ 187 243 Dcm_ReturnWriteMemoryType Dcm_WriteMemory(Dcm_OpStatusType OpStatus, uint8 MemoryIdentifier, uint32 MemoryAddress, uint32 MemorySize, uint8* MemoryData, Dcm_NegativeResponseCodeType* ErrorCode) 188 244 }}} 189 245 246 * R21-11 247 {{{ 248 Dcm_ReturnWriteMemoryType Dcm_WriteMemory (Dcm_OpStatusType OpStatus, uint8 MemoryIdentifier, uint32 MemoryAddress, uint32 MemorySize, const uint8* MemoryData, Dcm_NegativeResponseCodeType* ErrorCode) 249 }}} 250 190 251 == Dcm_SetProgConditions == 252 * R4.2.2 191 253 {{{ 192 254 Std_ReturnType Dcm_SetProgConditions(Dcm_OpStatusType OpStatus, Dcm_ProgConditionsType * ProgConditions) 193 255 }}} 194 256 257 * R21-11 258 {{{ 259 Std_ReturnType Dcm_SetProgConditions (Dcm_OpStatusType OpStatus, const Dcm_ProgConditionsType* ProgConditions) 260 }}} 261 195 262 == Dcm_GetProgConditions == 196 263 {{{ … … 198 265 }}} 199 266 267 == Dcm_ProcessRequestAddFile == 268 {{{ 269 Std_ReturnType Dcm_ProcessRequestAddFile (Dcm_OpStatusType OpStatus, uint16 filePathAndNameLength, const uint8* filePathAndName, uint8 dataFormatIdentifier, uint64 fileSizeUncompressed, uint64 fileSizeCompressed, uint64* maxNumberOfBlockLength, Dcm_NegativeResponseCodeType* ErrorCode) 270 }}} 271 272 == Dcm_ProcessRequestDeleteFile == 273 {{{ 274 Std_ReturnType Dcm_ProcessRequestDeleteFile (Dcm_OpStatusType OpStatus, uint16 filePathAndNameLength, const uint8* filePathAndName, Dcm_NegativeResponseCodeType* ErrorCode) 275 }}} 276 277 == Dcm_ProcessRequestReplaceFile == 278 {{{ 279 Std_ReturnType Dcm_ProcessRequestReplaceFile (Dcm_OpStatusType OpStatus, uint16 filePathAndNameLength, const uint8* filePathAndName, uint8 dataFormatIdentifier, uint64 fileSizeUncompressed, uint64 fileSizeCompressed, uint64* maxNumberOfBlockLength, Dcm_NegativeResponseCodeType* ErrorCode) 280 }}} 281 282 == Dcm_ProcessRequestReadFile == 283 {{{ 284 Std_ReturnType Dcm_ProcessRequestReadFile (Dcm_OpStatusType OpStatus, uint16 filePathAndNameLength, const uint8* filePathAndName, uint8 dataFormatIdentifier, uint64 fileSizeUncompressed, uint64 fileSizeCompressed, uint64* maxNumberOfBlockLength, Dcm_NegativeResponseCodeType* ErrorCode) 285 }}} 286 287 == Dcm_ProcessRequestReadDir == 288 {{{ 289 Std_ReturnType Dcm_ProcessRequestReadDir (Dcm_OpStatusType OpStatus, uint16 filePathAndNameLength, const uint8* filePathAndName, uint64* dirInfoLength, uint64* maxNumberOfBlockLength, Dcm_NegativeResponseCodeType* ErrorCode) 290 }}} 291 292 == Dcm_WriteFile == 293 {{{ 294 Std_ReturnType Dcm_WriteFile (Dcm_OpStatusType OpStatus, uint64 DataLength, uint8* Data, Dcm_NegativeResponseCodeType* ErrorCode) 295 }}} 296 297 == Dcm_ReadFileOrDir == 298 {{{ 299 Std_ReturnType Dcm_ReadFileOrDir (Dcm_OpStatusType OpStatus, uint64* DataLength, uint8* Data, Dcm_NegativeResponseCodeType* ErrorCode) 300 }}} 301 200 302 == Dcm_ProcessRequestTransferExit == 303 * R4.2.2 201 304 {{{ 202 305 Std_ReturnType Dcm_ProcessRequestTransferExit(Dcm_OpStatusType OpStatus, uint8* transferRequestParameterRecord, uint32 transferRequestParameterRecordSize, uint8* transferResponseParameterRecord, uint32* transferResponseParameterRecordSize, Dcm_NegativeResponseCodeType* ErrorCode) 203 306 }}} 204 307 308 * R21-11 309 {{{ 310 Std_ReturnType Dcm_ProcessRequestTransferExit (Dcm_OpStatusType OpStatus, const uint8* transferRequestParameterRecord, uint32 transferRequestParameterRecordSize, const uint8* transferResponseParameterRecord, uint32* transferResponseParameterRecordSize, Dcm_NegativeResponseCodeType* ErrorCode) 311 }}} 312 205 313 == Dcm_ProcessRequestUpload == 314 * R4.2.2 206 315 {{{ 207 316 Std_ReturnType Dcm_ProcessRequestUpload(Dcm_OpStatusType OpStatus, uint8 DataFormatIdentifier, uint32 MemoryAddress, uint32 MemorySize, uint32* BlockLength, Dcm_NegativeResponseCodeType* ErrorCode) 208 317 }}} 209 318 319 * R21-11 320 {{{ 321 Std_ReturnType Dcm_ProcessRequestUpload (Dcm_OpStatusType OpStatus, uint8 DataFormatIdentifier, uint8 MemoryIdentifier, uint32 MemoryAddress, uint32 MemorySize, uint32* BlockLength, Dcm_NegativeResponseCodeType* ErrorCode) 322 }}} 323 210 324 == Dcm_ProcessRequestDownload == 325 * R4.2.2 211 326 {{{ 212 327 Std_ReturnType Dcm_ProcessRequestDownload(Dcm_OpStatusType OpStatus, uint8 DataFormatIdentifier, uint32 MemoryAddress, uint32 MemorySize, uint32* BlockLength, Dcm_NegativeResponseCodeType* ErrorCode) 213 328 }}} 214 329 330 * R21-11 331 {{{ 332 Std_ReturnType Dcm_ProcessRequestDownload (Dcm_OpStatusType OpStatus, uint8 DataFormatIdentifier, uint8 MemoryIdentifier, uint32 MemoryAddress, uint32 MemorySize, uint32* BlockLength, Dcm_NegativeResponseCodeType* ErrorCode) 333 }}} 334 215 335 == Dcm_ProcessRequestFileTransfer == 216 336 {{{ … … 218 338 }}} 219 339 340 == Dcm_ProcessTransferDataRead == 341 {{{ 342 Dcm_ReturnReadMemoryType Dcm_ProcessTransferDataRead (Dcm_OpStatusType OpStatus, uint8 MemoryIdentifier, uint32 MemoryAddress, uint32 MemorySize, Dcm_RequestDataArrayType MemoryData, Dcm_NegativeResponseCodeType* ErrorCode) 343 }}} 344 345 == Dcm_ProcessTransferDataWrite == 346 {{{ 347 Dcm_ReturnWriteMemoryType Dcm_ProcessTransferDataWrite (Dcm_OpStatusType OpStatus, uint8 MemoryIdentifier, uint32 MemoryAddress, uint32 MemorySize, const Dcm_RequestDataArrayType MemoryData, Dcm_NegativeResponseCodeType* ErrorCode) 348 }}} 349 220 350 == Dcm_MainFunction == 221 351 {{{ … … 224 354 225 355 == Xxx_GetSeed == 356 * R4.2.2 226 357 {{{ 227 358 Std_ReturnType Xxx_GetSeed(Dcm_OpStatusType OpStatus, uint8* Seed, Dcm_NegativeResponseCodeType* ErrorCode) 228 359 }}} 229 360 361 * R21-11 362 {{{ 363 Std_ReturnType Xxx_GetSeed(Dcm_OpStatusType OpStatus, uint8* Seed, Dcm_NegativeResponseCodeType* ErrorCode) 364 Std_ReturnType Xxx_GetSeed (const uint8* SecurityAccessDataRecord, Dcm_OpStatusType OpStatus, uint8* Seed, Dcm_NegativeResponseCodeType* ErrorCode) 365 }}} 366 230 367 == Xxx_CompareKey == 231 368 {{{ … … 244 381 245 382 == Xxx_ReadData == 383 * R4.2.2 246 384 {{{ 247 385 Std_ReturnType Xxx_ReadData(Dcm_OpStatusType OpStatus, uint8* Data, Dcm_NegativeResponseCodeType* ErrorCode) 248 386 }}} 249 387 388 * R21-11 389 {{{ 390 Std_ReturnType Xxx_ReadData(Dcm_OpStatusType OpStatus, uint8* Data, Dcm_NegativeResponseCodeType* ErrorCode) 391 Std_ReturnType Xxx_ReadData (uint8* Data) 392 Std_ReturnType Xxx_ReadData (Dcm_OpStatusType OpStatus, uint8* Data) 393 Std_ReturnType Xxx_ReadData (uint8* Data, uint16 DataLength, Dcm_NegativeResponseCodeType* ErrorCode) 394 Std_ReturnType Xxx_ReadData (Dcm_OpStatusType OpStatus, uint8* Data, uint16 DataLength, Dcm_NegativeResponseCodeType* ErrorCode) 395 }}} 396 250 397 == Xxx_WriteData == 398 * R4.2.2 251 399 {{{ 252 400 Std_ReturnType Xxx_WriteData(uint8* Data, uint16 DataLength, Dcm_OpStatusType OpStatus, Dcm_NegativeResponseCodeType* ErrorCode) 253 401 }}} 254 402 403 * R21-11 404 {{{ 405 Std_ReturnType Xxx_WriteData (const uint8* Data, uint16 DataLength, Dcm_OpStatusType OpStatus, Dcm_NegativeResponseCodeType* ErrorCode) 406 Std_ReturnType Xxx_WriteData (const uint8* Data, Dcm_NegativeResponseCodeType* ErrorCode) 407 Std_ReturnType Xxx_WriteData (const uint8* Data, uint16 DataLength, Dcm_NegativeResponseCodeType* ErrorCode) 408 Std_ReturnType Xxx_WriteData (const uint8* Data, Dcm_OpStatusType OpStatus, Dcm_NegativeResponseCodeType* ErrorCode) 409 }}} 410 255 411 == Xxx_ReadDataLength == 412 * R4.2.2 256 413 {{{ 257 414 Std_ReturnType Xxx_ReadDataLength(Dcm_OpStatusType OpStatus, uint16* DataLength) 258 415 }}} 259 416 417 * R21-11 418 {{{ 419 Std_ReturnType Xxx_ReadDataLength(Dcm_OpStatusType OpStatus, uint16* DataLength) 420 Std_ReturnType Xxx_ReadDataLength (uint16* DataLength) 421 }}} 422 260 423 == Xxx_ConditionCheckRead == 424 * R4.2.2 261 425 {{{ 262 426 Std_ReturnType Xxx_ConditionCheckRead(Dcm_OpStatusType OpStatus, Dcm_NegativeResponseCodeType* ErrorCode) 263 427 }}} 264 428 429 * R21-11 430 {{{ 431 Std_ReturnType Xxx_ConditionCheckRead(Dcm_OpStatusType OpStatus, Dcm_NegativeResponseCodeType* ErrorCode) 432 Std_ReturnType Xxx_ConditionCheckRead (Dcm_NegativeResponseCodeType* ErrorCode) 433 }}} 434 265 435 == Xxx_GetScalingInformation == 436 * R4.2.2 266 437 {{{ 267 438 Std_ReturnType Xxx_GetScalingInformation(Dcm_OpStatusType OpStatus, uint8* ScalingInfo, Dcm_NegativeResponseCodeType* ErrorCode) 268 439 }}} 269 440 441 * R21-11 442 {{{ 443 Std_ReturnType Xxx_GetScalingInformation(Dcm_OpStatusType OpStatus, uint8* ScalingInfo, Dcm_NegativeResponseCodeType* ErrorCode) 444 Std_ReturnType Xxx_GetScalingInformation (uint8* ScalingInfo, Dcm_NegativeResponseCodeType* ErrorCode) 445 Std_ReturnType Xxx_GetScalingInformation (uint8* ScalingInfo, uint8 ScalingInfoLength, Dcm_NegativeResponseCodeType* ErrorCode) 446 Std_ReturnType Xxx_GetScalingInformation (Dcm_OpStatusType OpStatus, uint8* ScalingInfo, uint8 ScalingInfoLength, Dcm_NegativeResponseCodeType* ErrorCode) 447 }}} 448 270 449 == Xxx_ReturnControlToECU == 450 * R4.2.2 271 451 {{{ 272 452 Std_ReturnType Xxx_ReturnControlToECU([Dcm_ControlMask_{Data} controlMask,] Dcm_NegativeResponseCodeType* ErrorCode) 273 453 }}} 274 454 455 * R21-11 456 {{{ 457 Std_ReturnType Xxx_ReturnControlToECU ([Dcm_ControlMask_{DID}Type controlMask], [uint8* controlMask], Dcm_NegativeResponseCodeType* ErrorCode) 458 Std_ReturnType Xxx_ReturnControlToECU (uint8* controlMask, uint8 controlMaskLength, Dcm_NegativeResponseCodeType ErrorCode) 459 }}} 460 275 461 == Xxx_ResetToDefault == 462 * R4.2.2 276 463 {{{ 277 464 Std_ReturnType Xxx_ResetToDefault(Dcm_OpStatusType OpStatus, [Dcm_ControlMask_{Data} controlMask,] Dcm_NegativeResponseCodeType* ErrorCode) 278 465 }}} 279 466 467 * R21-11 468 {{{ 469 Std_ReturnType Xxx_ResetToDefault ([Dcm_ControlMask_{DID}Type controlMask], [uint8* controlMask], Dcm_NegativeResponseCodeType* ErrorCode) 470 Std_ReturnType Xxx_ResetToDefault (uint8* controlMask, uint8 controlMaskLength, Dcm_NegativeResponseCodeType* ErrorCode) 471 Std_ReturnType Xxx_ResetToDefault (Dcm_OpStatusType OpStatus, [Dcm_ControlMask_{DID}Type controlMask], [uint8* controlMask], Dcm_NegativeResponseCodeType* ErrorCode) 472 Std_ReturnType Xxx_ResetToDefault (Dcm_OpStatusType OpStatus, uint8* controlMask, uint8 controlMaskLength, Dcm_NegativeResponseCodeType* ErrorCode) 473 }}} 474 280 475 == Xxx_FreezeCurrentState == 476 * R4.2.2 281 477 {{{ 282 478 Std_ReturnType Xxx_FreezeCurrentState(Dcm_OpStatusType OpStatus, [Dcm_ControlMask_{Data} controlMask,] Dcm_NegativeResponseCodeType* ErrorCode) 283 479 }}} 284 480 481 * R21-11 482 {{{ 483 Std_ReturnType Xxx_FreezeCurrentState ([Dcm_ControlMask_{DID}Type controlMask], [uint8* controlMask], Dcm_NegativeResponseCodeType* ErrorCode) 484 Std_ReturnType Xxx_FreezeCurrentState (uint8* controlMask, uint8 controlMaskLength, Dcm_NegativeResponseCodeType* ErrorCode) 485 Std_ReturnType Xxx_FreezeCurrentState (Dcm_OpStatusType OpStatus, [Dcm_ControlMask_{DID}Type controlMask], [uint8* controlMask], Dcm_NegativeResponseCodeType* ErrorCode) 486 Std_ReturnType Xxx_FreezeCurrentState (Dcm_OpStatusType OpStatus, uint8* controlMask, uint8 controlMaskLength, Dcm_NegativeResponseCodeType* ErrorCode) 487 }}} 488 285 489 == Xxx_ShortTermAdjustment == 490 * R4.2.2 286 491 {{{ 287 492 Std_ReturnType Xxx_ShortTermAdjustment(uint8* ControlStateInfo, uint16 DataLength, Dcm_OpStatusType OpStatus, [Dcm_ControlMask_{Data} controlMask,] Dcm_NegativeResponseCodeType* ErrorCode) 288 493 }}} 289 494 495 * R21-11 496 {{{ 497 Std_ReturnType Xxx_ShortTermAdjustment (const uint8* ControlStateInfo, [Dcm_ControlMask_{DID}Type controlMask], [uint8* controlMask], Dcm_NegativeResponseCodeType* ErrorCode) 498 Std_ReturnType Xxx_ShortTermAdjustment (const uint8* ControlStateInfo, uint16 DataLength, uint8* controlMask, uint8 controlMaskLength, Dcm_NegativeResponseCodeType* ErrorCode) 499 Std_ReturnType Xxx_ShortTermAdjustment (const uint8* ControlStateInfo, uint16 DataLength, Dcm_OpStatusType OpStatus, [Dcm_ControlMask_{DID}Type controlMask], [uint8* controlMask], Dcm_NegativeResponseCodeType* ErrorCode) 500 Std_ReturnType Xxx_ShortTermAdjustment (const uint8* ControlStateInfo, uint16 DataLength, Dcm_OpStatusType OpStatus, uint8* controlMask, uint8 controlMaskLength, Dcm_NegativeResponseCodeType* ErrorCode) 501 }}} 502 290 503 == Xxx_IsDidAvailable == 291 504 {{{ … … 299 512 300 513 == Xxx_WriteDidData == 514 * R4.2.2 301 515 {{{ 302 516 Std_ReturnType Xxx_WriteDidData(uint16 DID, uint8* Data, Dcm_OpStatusType OpStatus, uint16 DataLength, Dcm_NegativeResponseCodeType ErrorCode) 303 517 }}} 304 518 519 * R21-11 520 {{{ 521 Std_ReturnType Xxx_WriteDidData (uint16 DID, const uint8* Data, Dcm_OpStatusType OpStatus, uint16 DataLength, Dcm_NegativeResponseCodeType ErrorCode) 522 }}} 523 305 524 == Xxx_ReadDidRangeDataLength == 306 525 {{{ … … 308 527 }}} 309 528 529 = Xxx_GetInfotypeValueData == 530 {{{ 531 Std_ReturnType Xxx_GetInfotypeValueData (Dcm_OpStatusType OpStatus, uint8* DataValueBuffer, uint8* DataValueBufferSize) 532 }}} 533 310 534 == Xxx_Start == 535 * R4.2.2 311 536 {{{ 312 537 Std_ReturnType Xxx_Start([DcmDspRoutineSignalType dataIn_1,] ... [DcmDspRoutineSignalType dataIn_n,] [const uint8* dataInVar,] Dcm_OpStatusType OpStatus, [DcmDspRoutineSignalType dataOut_1,] ... [DcmDspRoutineSignalType dataOut_n,] [uint8* dataOutVar,] [uint16 currentLengthDataInVar,] [uint16* currentLengthDataOutVar,] Dcm_NegativeResponseCodeType ErrorCode) 313 538 }}} 314 539 540 * R21-11 541 {{{ 542 Std_ReturnType Xxx_Start (Dcm_OpStatusType OpStatus, uint8* dataInOut, uint16* currentDataLength, Dcm_NegativeResponseCodeType* ErrorCode) 543 Std_ReturnType Xxx_Start ([DcmDspRoutineSignalType dataIn_1, ... DcmDspRoutineSignalType dataIn_n], [const uint8* dataInVar], Dcm_OpStatusType OpStatus, [DcmDspRoutineSignalType dataOut_1, ... DcmDspRoutineSignalType dataOut_n], [uint8* dataOutVar], [uint16* currentDataLength], Dcm_NegativeResponseCodeType ErrorCode) 544 }}} 545 546 == Xxx_StartConfirmation == 547 {{{ 548 Std_ReturnType Xxx_StartConfirmation (Dcm_ConfirmationStatusType ConfirmationStatus) 549 }}} 550 315 551 == Xxx_Stop == 552 * R4.2.2 316 553 {{{ 317 554 Std_ReturnType Xxx_Stop([DcmDspRoutineSignalType dataIn_1,] ... [DcmDspRoutineSignalType dataIn_n,] [const uint8* dataInVar,] [DcmDspRoutineSignalType dataOut_1,] ... [DcmDspRoutineSignalType dataOut_n,] [uint8* dataOutVar,] [uint16 currentLengthDataInVar,] [uint16* currentLengthDataOutVar,] Dcm_NegativeResponseCodeType* ErrorCode) 318 555 }}} 319 556 557 * R21-11 558 {{{ 559 Std_ReturnType Xxx_Stop (Dcm_OpStatusType OpStatus, uint8* dataInOut, uint16* currentDataLength, Dcm_NegativeResponseCodeType* ErrorCode) 560 Std_ReturnType Xxx_Stop ([DcmDspRoutineSignalType dataIn_1, ... DcmDspRoutineSignalType dataIn_n], [const uint8* dataInVar], [DcmDspRoutineSignalType dataOut_1, ... DcmDspRoutineSignalType dataOut_n], [uint8* dataOutVar], [uint16* currentDataLength], Dcm_NegativeResponseCodeType* ErrorCode) 561 }}} 562 563 == Xxx_StopConfirmation == 564 {{{ 565 Std_ReturnType Xxx_StopConfirmation (Dcm_ConfirmationStatusType ConfirmationStatus) 566 }}} 567 320 568 == Xxx_RequestResults == 569 * R4.2.2 321 570 {{{ 322 571 Std_ReturnType Xxx_RequestResults(Dcm_OpStatusType OpStatus, [DcmDspRoutineSignalType* dataOut_1,] ... [DcmDspRoutineSignalType* dataOut_n,] [uint8* dataOutVar,] [uint16* currentLengthDataOutVar,] Dcm_NegativeResponseCodeType* ErrorCode) 572 }}} 573 574 * R21-11 575 {{{ 576 Std_ReturnType Xxx_RequestResults (Dcm_OpStatusType OpStatus, uint8* dataInOut, uint16* currentDataLength, Dcm_NegativeResponseCodeType* ErrorCode) 577 Std_ReturnType Xxx_RequestResults (Dcm_OpStatusType OpStatus, [DcmDspRoutineSignalType* dataIn_1, ... DcmDspRoutineSignalType* dataIn_n], [const uint8* dataInVar], [DcmDspRoutineSignalType* dataOut_1, ... DcmDspRoutineSignalType* dataOut_n], [uint8* dataOutVar], [uint16* variableDataLength], Dcm_NegativeResponseCodeType* ErrorCode) 578 }}} 579 580 == Xxx_RequestResultsConfirmation == 581 {{{ 582 Std_ReturnType Xxx_RequestResultsConfirmation (Dcm_ConfirmationStatusType ConfirmationStatus) 583 }}} 584 585 == Xxx_RequestControl == 586 {{{ 587 Std_ReturnType Xxx_RequestControl (uint8* OutBuffer, const uint8* InBuffer) 588 }}} 589 590 == Xxx_StartProtocol == 591 {{{ 592 Std_ReturnType Xxx_StartProtocol (Dcm_ProtocolType ProtocolType, uint16 TesterSourceAddress, uint16 ConnectionId) 593 }}} 594 595 == Xxx_StopProtocol == 596 {{{ 597 Std_ReturnType Xxx_StopProtocol (Dcm_ProtocolType ProtocolType, uint16 TesterSourceAddress, uint16 ConnectionId) 598 }}} 599 600 == Xxx_Indication == 601 {{{ 602 Std_ReturnType Xxx_Indication (uint8 SID, const uint8* RequestData, uint32 DataSize, uint8 ReqType, uint16 ConnectionId, Dcm_NegativeResponseCodeType* ErrorCode, Dcm_ProtocolType ProtocolType, uint16 TesterSourceAddress) 603 }}} 604 605 == Xxx_Confirmation == 606 {{{ 607 Std_ReturnType Xxx_Confirmation (uint8 SID, uint8 ReqType, uint16 ConnectionId, Dcm_ConfirmationStatusType ConfirmationStatus, Dcm_ProtocolType ProtocolType, uint16 TesterSourceAddress) 323 608 }}} 324 609