14229 诊断协议以及请求响应格式(ECUReset 0x11)

1.The ECUReset service is used by the client to request a server reset.
2.The ECUReset positive response message (if
required) shall be sent before the reset is executed in the server(s). After a successful server reset the server
shall activate the defaultSession.

Request Message

Parameter Name Byte Value comment
ECUReset Request SID 0x11
sub-function = [ resetType ] 0x00 - 0xFF
ISOSAEReserved 0x00
hardReset 0x01 might result in the re-initialization of both volatile memory and non-volatile memory locations to predetermined values
keyOffOnReset 0x02 Typically the values of non-volatile memory locations are preserved; volatile memory will be initialized.
softReset 0x03 A typical action is to restart the application without reinitializing of previously learned configuration data, adaptive factors and other long-term adjustments.
enableRapidPowerShutDown 0x04 enable and perform a “rapid power shut down” function.
disableRapidPowerShutDown 0x05 disable the previously enabled “rapid power shut down” function.

Postive response

Parameter Name Value comment
ECUReset Response SID 0x51
sub-function = [ resetType ] 0x00 – 0x7F
powerDownTime 0x00 – 0xFF(0-254seconds) only used if sub-function parameter = 0x04

Negative response

Value Name description comment
0x12 sub-functionNotSupported
0x13 incorrectMessageLengthOrInvalidFormat
0x22 conditionsNotCorrect
0x33 securityAccessDenied if the requested reset is secured and the server is not in an unlocked state

例子:

请求:0x11 0x01
响应:0x51 0x01

你可能感兴趣的:(诊断,autosar)