UDS Diagnosis - SPRMIB

Suppress Positive Response Message Indication Bit (SPRMIB):
Suppress positive response message indication bit (SPRMIB) only support in sub-function services with sub-function bytes. This bit defines whether a positive response of ECU is required or not

TRUE = server shall NOT send a positive response message (exception NRC 0x78)
FALSE = server shall send a positive or negative response message
作用:降低车载总线负载,一般用于功能寻址情况下

SubFunction parameter structure
Bit 7: suppressPosRspMsgIndicationBit
This bit indicates if a positive response message shall be suppressed by the server.
‘0’ = FALSE, do not suppress a positive response message (a positive response message is required).
‘1’ = TRUE, suppress response message (a positive response message shall not be sent; the server
being addressed shall not send a positive response message).
Independent of the suppressPosRspMsgIndicationBit, negative response messages are sent by the
server(s) according to the restrictions specified in 7.5.
Even if a positive response is not required (i.e., SPRMIB = true), the execution of the service must be
completely passed to keep the implementation consistent regardless of SPRMIB value.
suppressPosRspMsgIndicationBit values of both ‘0’ and ‘1’ shall be supported for all sub-function
parameter values (i.e., bits 6-0 of the sub-function structure) supported by the server for any given
service.
Bit 6-0:sub-function parameter value
The bits 0-6 of the sub-function parameter contain the sub-function parameter value of the service
(0x00 – 0x7F).

The sub-function parameter value is a 7 bit value (bits 6-0 of the sub-function parameter byte) that can have multiple values to further specify the service behaviour.

Services supporting sub-function parameter values in addition to the suppressPosRspMsgIndicationBit shall support the sub-function parameter values as defined in the sub-function parameter value table.

Each service contains a table that defines values for the sub-function parameter values, taking only into account the bits 0-6.

NOTE If SPRMIB is TRUE for responses with a big amount of data, where paged-buffer-handling needs to be used, this can result in a situation where the transmission of the first batch of data could be started still within the response timing window, but the termination of the service execution is beyond the limits of the response timing window. If the response is suppressed in this case, there is no way to inform the client about the delay, but the server is still busy and not yet ready to receive another request. For the client it is recommended not to ask for a big amount of data and set SPRMIB in the same request (e.g., SID 0x19 SF 0x0A), as this would defeat the purpose of SPRMIB. For the server implementation it is recommended to send NRC 0x78 (RCRRP) and subsequently also send the positive response, in case paged-buffer-handling is used while SPRMIB is TRUE.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
UDS(Unified Diagnostic Services)协议是一种通用的诊断服务协议,用于汽车电子控制单元(ECU)与诊断工具之间的通信。它定义了一系列的诊断服务和通信消息,使诊断工具能够与车辆的ECU进行通信,以读取诊断数据、执行诊断功能和写入控制参数等操作。 UDS协议遵循ISO 14229标准,该标准定义了UDS协议的通信方式、数据格式、错误处理、安全性等方面的要求。通过UDS协议,诊断工具可以向ECU发送诊断请求,如读取故障码、读取和写入数据或控制参数等。同时,ECU也可以通过UDS协议响应这些请求,并将实时数据、故障码或测试结果返回给诊断工具。 UDS协议提供了灵活且可扩展的诊断服务,可以满足不同车辆制造商和ECU的需求。它支持各种诊断功能,如读取和清除故障码、读取实时数据、编程和校准控制器等。同时,UDS协议还支持安全访问和数据保护,以确保诊断操作的安全性和可靠性。 UDS协议通过CAN总线或其他通信媒介进行通信,具有高效的数据传输和低延迟的特点。它适用于各种类型的车辆,包括乘用车、商用车和工程机械等。UDS协议的应用范围广泛,包括车辆制造、汽车维修和诊断设备开发等领域。 总而言之,UDS协议-14229是一种通用的诊断服务协议,通过定义诊断服务和通信消息,实现了诊断工具与车辆ECU之间的通信。它具有灵活可扩展、安全可靠的特点,广泛应用于汽车制造和维修领域。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值