当前位置:网站首页>[UDS unified diagnostic service] II. Network layer protocol (2) - data transmission rules (single frame and multi frame)
[UDS unified diagnostic service] II. Network layer protocol (2) - data transmission rules (single frame and multi frame)
2022-04-23 06:39:00 【Tomorrow is like noon】
Two 、 Network layer protocol (2)— Data transmission rules ( Single frame and multi frame )
1. Single frame data transmission rules


2. Multi frame data transmission rules
(1) Achieve the goal :

(2) Detailed transmission process :





(3) Detailed meaning analysis of transmitted byte data :






3. Network layer timing and error handling ( Take multi frame transmission as an example )
notes : The picture below needs some effort , Understand and understand the meaning of each time representative in detail

4. Some instructions
(1) Consecutive frames SN(Sequence Number) Add rules
-
Consecutive frames :
Consecutive frames appear after the first frame ,PCI The upper half byte of is 0010b, The lower half byte indicates the sequence number of consecutive frames (SN) . -
SN The value of is defined according to the following provisions :
- The first frame of a continuous frame SN The value is 1; Every successive frame added ,SN Increase in value 1;
- The flow control frame does not affect SN The calculation of the value ;
- When SN Its value 15 after , Of the next consecutive frame SN The value is 0.
-
Serial number (SN) Definition :

(2) Diagnostic message format :

- SF_DL: Single frame data length (4Bit)
- FF_DL: Continuous frame data length (12Bit)
- SN: Sequence Number, Serial number of consecutive frames (4Bit)
- FS: Flow State, Flow control state
- BS: Block Size, Allow one continuous transmission CF The number of
- STmin: Two CF Minimum interval between sending , Unit is ms
- N/A: Not Applicable, Don't use
版权声明
本文为[Tomorrow is like noon]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230546376882.html
边栏推荐
猜你喜欢

【UDS统一诊断服务】(补充)五、ECU bootloader开发要点详解 (2)

Cross domain issues - allow origin header contains multiple values but only one is allowed

【UDS统一诊断服务】三、应用层协议(2)

Swagger2 generates API documents
![[UDS] unified diagnostic service (UDS)](/img/ed/8c16e4f1136fff95a829be410cab11.png)
[UDS] unified diagnostic service (UDS)

进程管理命令

【UDS统一诊断服务】四、诊断典型服务(2)— 数据传输功能单元

【UDS统一诊断服务】一、诊断概述(1)— 诊断概述

Robocode教程4——Robocode的游戏物理

ArcGIS表转EXCEL超出上限转换失败
随机推荐
[UDS] unified diagnostic service (UDS)
clion安装教程
[ThreadX] h743 + ThreadX + Filex migration record
Detailed arrangement of knowledge points of University probability theory and mathematical statistics
The most practical chrome plug-in
猜数字游戏
Class inheritance and derivation
Camera calibration: key point method vs direct method
copy constructor
C语言数组处理批量数据
C语言的浪漫
vs中的多字节与unicode
A solution to replace not in in SQL
共用数据的保护
【UDS统一诊断服务】四、诊断典型服务(2)— 数据传输功能单元
File viewing commands and user management commands
【UDS统一诊断服务】三、应用层协议(2)
vs中能编译通过,但是会有红色下划线提示未定义标示符问题
GDB debugger installation and use
【OpenCV】使用 FileStorage 读写 Eigen 向量