当前位置:网站首页>[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
边栏推荐
猜你喜欢
[ThreadX] h743zi + lan8720 + ThreadX + netx duo transplantation
文件查看命令和用户管理命令
Programmers can also write novels
MySQL groups are sorted by a field, and the first value is taken
非参数化相机畸变模型简介
Basemap库绘制地图
For() loop parameter call order
[UDS] unified diagnostic service (UDS)
File viewing commands and user management commands
Class inheritance and derivation
随机推荐
The waterfall waterfall flow of uview realizes single column and loads more
PM2 deploy nuxt project
Excel打开超大csv格式数据
Linux 用rpm的方式安装mysql(超简单)
【UDS统一诊断服务】三、应用层协议(1)
【UDS统一诊断服务】(补充)五、ECU bootloader开发要点详解 (2)
[UDS unified diagnostic service] IV. typical diagnostic service (2) - data transmission function unit
gcc ,g++,gdb的安装
PM2 deploy nuxt related commands
[opencv] use filestorage to read and write eigenvectors
7-21日错题涉及知识点。
进程管理命令
Installation of GCC, G + +, GDB
1007 go running (hdu6808) in the fourth game of 2020 Hangzhou Electric Multi school competition
SQL sorts according to the specified content
Round up a little detail of the round
MySQL groups are sorted by a field, and the first value is taken
Generate random number
非参数化相机畸变模型简介
C#【文件操作篇】按行读取txt文本