# UDS_S32K144_Bootloader
**Repository Path**: bluss/UDS_S32K144_Bootloader
## Basic Information
- **Project Name**: UDS_S32K144_Bootloader
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 1
- **Created**: 2024-04-14
- **Last Updated**: 2024-04-14
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# :beers: UDS_S32K144_Bootloader
```c
/*
* ___ ___ ___ ___ _____ ___ ___
* _____ / /\ / /\ ___ / /\ / /\ / /::\ / /\ / /\
* / /::\ / /::\ / /::\ / /\ / /::\ / /::\ / /:/\:\ / /:/_ / /::\
* / /:/\:\ / /:/\:\ / /:/\:\ / /:/ ___ ___ / /:/\:\ / /:/\:\ / /:/ \:\ / /:/ /\ / /:/\:\
* / /:/~/::\ / /:/ \:\ / /:/ \:\ / /:/ /__/\ / /\ / /:/ \:\ / /:/~/::\ /__/:/ \__\:| / /:/ /:/_ / /:/~/:/
* /__/:/ /:/\:| /__/:/ \__\:\ /__/:/ \__\:\ / /::\ \ \:\ / /:/ /__/:/ \__\:\ /__/:/ /:/\:\ \ \:\ / /:/ /__/:/ /:/ /\ /__/:/ /:/___
* \ \:\/:/~/:/ \ \:\ / /:/ \ \:\ / /:/ /__/:/\:\ \ \:\ /:/ \ \:\ / /:/ \ \:\/:/__\/ \ \:\ /:/ \ \:\/:/ /:/ \ \:\/:::::/
* \ \::/ /:/ \ \:\ /:/ \ \:\ /:/ \__\/ \:\ \ \:\/:/ \ \:\ /:/ \ \::/ \ \:\/:/ \ \::/ /:/ \ \::/~~~~
* \ \:\/:/ \ \:\/:/ \ \:\/:/ \ \:\ \ \::/ \ \:\/:/ \ \:\ \ \::/ \ \:\/:/ \ \:\
* \ \::/ \ \::/ \ \::/ \__\/ \__\/ \ \::/ \ \:\ \__\/ \ \::/ \ \:\
* \__\/ \__\/ \__\/ \__\/ \__\/ \__\/ \__\/
*/
```
## :warning: 特别注意
序号 | 服务类型 | SID | 服务名 | 描述 | 默认会话 | 非默认会话 | 支持的负响应码 (NRC_) | |||||||||||||||
1 | 诊断和通信管理功能单元 Diagnostic and Communication Management functional unit | 0x10 | 诊断会话控制 DiagnosticSessionControl service | The client requests to control a diagnostic session with a server(s). | X | X | 0x12 | 0x13 | 0x22 | |||||||||||||
2 | 0x11 | 电控单元复位 ECUReset service | The client forces the server(s) to perform a reset. | X | X | 0x12 | 0x13 | 0x22 | 0x33 | |||||||||||||
3 | 0x27 | 安全访问 SecurityAccess service | The client requests to unlock a secured server(s). | 不适用 not applicable | X | 0x12 | 0x13 | 0x22 | 0x24 | 0x31 | 0x35 | 0x36 | 0x37 | |||||||||
4 | 0x28 | 通信控制 CommunicationControl service | The client controls the setting of communication parameters in the server (e.g.,communication baudrate). | 不适用 not applicable | X | 0x12 | 0x13 | 0x22 | 0x31 | |||||||||||||
5 | 0x3E | 诊断设备在线,会话保持(ZLG ZCANPRO)TesterPresent service | The client indicates to the server(s) that it is still present. | X | X | 0x12 | 0x13 | |||||||||||||||
6 | 0x83 | 访问时序参数 AccessTimingParameter service | The client uses this service to read/modify the timing parameters for an active communication. | 不适用 not applicable | X | 0x12 | 0x13 | 0x22 | 0x31 | |||||||||||||
7 | 0x84 | 安全数据传输 SecuredDataTransmission service | The client uses this service to perform data transmission with an extended data link security. | 不适用 not applicable | X | 0x13 | 0x38-0x4F | |||||||||||||||
8 | 0x85 | 诊断故障码设置控制 ControlDTCSetting service | The client controls the setting of DTCs in the server. | 不适用 not applicable | X | 0x12 | 0x13 | 0x22 | ||||||||||||||
9 | 0x86 | 事件响应 ResponseOnEvent service | The client requests to setup and/or control an event mechanism in the server. | Xa | X | 0x12 | 0x13 | 0x22 | 0x31 | |||||||||||||
10 | 0x87 | 链路控制 LinkControl service | The client requests control of the communication baudrate. | 不适用 not applicable | X | 0x12 | 0x13 | 0x22 | 0x24 | 0x31 | ||||||||||||
11 | 数据传输功能单元 Data Transmission functional unit | 0x22 | 按标识符ID读取数据 ReadDataByIdentifier service | The client requests to read the current value of a record identified by a provided dataIdentifier. | Xb | X | 0x13 | 0x14 | 0x22 | 0x31 | 0x33 | |||||||||||
12 | 0x23 | 按地址读取内容 ReadMemoryByAddress service | The client requests to read the current value of the provided memory range. | Xc | X | 0x13 | 0x22 | 0x31 | ||||||||||||||
13 | 0x24 | 按标识符ID读取换算数据 ReadScalingDataByIdentifier service | The client requests to read the scaling information of a record identified by a provided dataIdentifier. | Xb | X | 0x13 | 0x22 | 0x31 | 0x33 | |||||||||||||
14 | 0x2A | 按周期性标识符ID读取数据 ReadDataByPeriodicIdentifier service | The client requests to schedule data in the server for periodic transmission. | 不适用 not applicable | X | 0x13 | 0x22 | 0x31 | 0x33 | |||||||||||||
15 | 0x2C | 动态定义数据标识符ID DynamicallyDefineDataIdentifier service | The client requests to dynamically define data Identifiers that may subsequently be read by the readDataByIdentifier service. | Xd | X | 0x12 | 0x13 | 0x22 | 0x31 | 0x33 | ||||||||||||
16 | 0x2E | 按标识符ID写入数据 WriteDataByIdentifier service | The client requests to write a record specified by a provided dataIdentifier. | Xb | X | 0x13 | 0x22 | 0x31 | 0x33 | 0x72 | ||||||||||||
17 | 0x3D | 按地址写内存 WriteMemoryByAddress service | The client requests to overwrite a provided memory range. | Xc | X | 0x13 | 0x22 | 0x31 | 0x33 | 0x72 | ||||||||||||
18 | 存储数据传输功能单元 Stored Data Transmission functional unit | 0x14 | 清除诊断信息 ClearDiagnosticInformation Service | Allows the client to clear diagnostic information from the server (including DTCs,captured data, etc.) | X | X | 0x13 | 0x22 | 0x31 | 0x72 | ||||||||||||
19 | 0x19 | 读取DTC信息 ReadDTCInformation Service | Allows the client to request diagnostic information from the server (including DTCs, captured data, etc.) | X | X | 0x12 | 0x13 | 0x31 | ||||||||||||||
20 | 输入输出控制功能单元 InputOutput Control functional unit | 0x2F | 按标识符ID的输入输出控制 InputOutputControlByIdentifier service | The client requests the control of an input/output specific to the server. | 不适用 not applicable | X | 0x13 | 0x22 | 0x31 | 0x33 | ||||||||||||
21 | 例行程序功能单元 Routine functional unit | 0x31 | 例程控制 RoutineControl service | The client requests to start, stop a routine in the server(s) or requests the routine results. | Xe | X | 0x12 | 0x13 | 0x22 | 0x24 | 0x31 | 0x33 | 0x72 | |||||||||
22 | 上传下载功能单元 Upload Download functional unit | 0x34 | 请求下载 RequestDownload service | The client requests the negotiation of a data transfer from the client to the server. | 不适用 not applicable | X | 0x13 | 0x22 | 0x31 | 0x33 | 0x70 | |||||||||||
23 | 0x35 | 请求上传 RequestUpload service | The client requests the negotiation of a data transfer from the server to the client. | 不适用 not applicable | X | 0x13 | 0x22 | 0x31 | 0x33 | 0x70 | ||||||||||||
24 | 0x36 | 数据传输 TransferData service | The client transmits data to the server (download) or requests data from the server(upload). | 不适用 not applicable | X | 0x13 | 0x24 | 0x31 | 0x71 | 0x72 | 0x73 | 0x92/0x93 | ||||||||||
25 | 0x37 | 请求退出传输 RequestTransferExit service | The client requests the termination of a data transfer. | 不适用 not applicable | X | 0x13 | 0x24 | 0x31 | 0x72 | |||||||||||||
26 | 0x38 | 请求文件传输 RequestFileTransfer service | The client requests the negotiation of a file transfer between server and client. | 不适用 not applicable | X | 0x13 | 0x22 | 0x31 | 0x70 | |||||||||||||
a 在默认会话期间是否也允许 ResponseOnEvent 服务是特定于实现的。 It is implementation specific whether the ResponseOnEvent service is also allowed during the defaultSession. b 安全的数据标识符需要 SecurityAccess 服务,因此需要非默认诊断会话。 Secured dataIdentifiers require a SecurityAccess service and therefore a non-default diagnostic session. c 安全内存区域需要 SecurityAccess 服务,因此需要非默认诊断会话。 Secured memory areas require a SecurityAccess service and therefore a non-default diagnostic session. d 可以在默认和非默认诊断会话中动态定义 dataIdentifier。 A dataIdentifier can be defined dynamically in the default and non-default diagnostic session. e 安全例程需要 SecurityAccess 服务,因此需要非默认诊断会话。 Secured routines require a SecurityAccess service and therefore a non-default diagnostic session. 需要客户端主动停止的例程也需要非默认会话。 A routine that requires to be stopped actively by the client also requires a non-default session. |
||||||||||||||||||||||
红色标注的服务为最常用、也是最基本的UDS服务,主要了解这些服务为主。(Gitlab上可能无法看到红色标注) |