TSMaster Diagnostic Module's Automated Diagnostic Process

New Releases | TSMaster Diagnostic Console Operation Details

overviewPreface
Today we will explain the specific operation of TSMaster Diagnostic Console. The Diagnostic Console, as a diagnostic command debugger, allows the user to select each individual service command, edit the Send Service Message and Receive Service Message, and perform test verification. It mainly contains five working areas, which are mainly divided into Service Command Selection Area, Manual Command Input Area, Diagnostic Command Send/Answer Area, Diagnostic Run, and Diagnostic Information/Trace Area.

A. Service command selection area

In the service command selection area is a list of executable services generated based on the base configuration (subsequent Odx/Cdd) and other loads. The user can either double-click to execute the selected service or right-click to select to execute the service, as shown below:
TSMaster Diagnostic Console Operation Details

B. Manual command entry area

During the test, if the user wants to send any diagnostic command, he can enter any message he wants to send in the manual command input area, as shown in the following figure:
TSMaster Diagnostic Console Operation Details
After entering the diagnostic message, click the Execute button on the right to complete the sending of the diagnostic message. In order to increase the flexibility of the test, users can select whether to send the diagnostic request message by physical address or by function ID through the selection box.

C. Diagnostic command send/answer area

In this area, the user can edit the send data segment as well as the expected receive data segment, and initiate the execution to verify whether the diagnostic response of the ECU under test meets the actual requirements. Taking 24 service as an example, the following six different data types of sending parameters are designed, and six different data types of response parameters are designed at the same time, as shown in the figure below:
TSMaster Diagnostic Console Operation Details

Enter diagnostic parameters:

Examples of input calibration parameters are shown below:
TSMaster Diagnostic Console Operation Details

Request PDU::The diagnostic data packet bytes to be sent by the diagnostic module, this part of the value is not editable, the user in the parameter value after filling in, this part of the data automatically generate the corresponding diagnostic data value.

Diagnostic parameters:The correspondence is as follows:

[1] Para0, data type is UInt, data length is 8Bits, input 12, then the corresponding byte is 0x0C.

[2] Para1, data type is Int, data length is 8Bits, input is -1, then the corresponding byte is 0xFF.

【3】 Para2, data type is Single, data length is 32Bits, input is 3.1, then the corresponding bytes are 0x40, 0x46, 0x66, 0x66.

[4] Para3, data type is Double, data length is 64Bits, input is 3.2, then the corresponding bytes are 0x40, 0x09, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x9A.

【5】 Para4, data type is Hex array, data length is 8Bits, input is 0x11, then the corresponding byte is 0x11.

[6] Para5, data type is ASCII string, data length is 24Bits, input string is "ASC", the corresponding bytes are 0x43, 0x53, 0x41.

Para6, the data type is a system variable. The data length is 64bits according to the value of the extracted system variable, and the name of the system variable is Diagnostic0.BC_cebal_fw_srf05dbg_StartAddressAndDataLength, and the system automatically extracts the actual value of the system variable according to this name and parses it into the sending message during execution.

After completing the input of the above diagnostic parameters, the generated diagnostic request packet is 0x24 0x00 0x01 0x0C 0xFF 0x40 0x46 0x66 0x66 0x40 0x09 0x99 0x99 0x99 0x99 0x99 0x9A 0x11 0x43 0x53 0x41 as shown in the figure above.

Enter the answer parameter:

Input answer parameter values are shown below:
TSMaster Diagnostic Console Operation Details

Among them, part 1 is exactly the same as the previous section on entering diagnostic parameters, and will not be explained here. However, an optional command is added to the answer parameter, whether or not to check this part of the parameter. If Check is checked, the response of ECU must be equal to the configured response parameter for this diagnostic test to be considered passed. If unchecked, the diagnostic module does not detect the content of this part of the byte in the ECU response.

[1] When all the above configuration responses are checked, the ECU response message must be equal to:

0x64 0x00 0x01 0x7B 0xFE 0x40 0x4C 0xCC 0xCD 0x40 0x1A 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x12 0x34 0x43 0x53 0x41 before it is recognized by the system as passing the diagnostic test.

[2] Remove the check mark to judge Para1 and Para2 as shown below:

TSMaster Diagnostic Console Operation Details

At this time, the ECU must respond with a message equal to: 0x64 0x00 0x01 0x7B 0xXX 0xXX 0xXX 0xXX 0x40 0x1A 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x12 0x34 0x43 0x53 0x41, where the red part of the bytes of 0xXX indicates that the part of the bytes are not judged, and the other bytes must be equal to the above configuration bytes to be recognized by the system as passing the diagnostic test. The other bytes must be equal to the above configuration bytes to be recognized by the system as passing the diagnostic test.

[3] Remove the check to judge Para0-Pra5 as shown below:

TSMaster Diagnostic Console Operation Details
At this point, the ECU must respond with a message equal to: 0x64 0x00 0x01 to be recognized by the system as passing the diagnostic test.

D. Diagnostic runs

Taking CombinedService as an example, during the diagnostic run, it will display the Block block area where the current download is completed, and show the execution time of each Block write, etc., as shown in the following figure:
TSMaster Diagnostic Console Operation Details

E. Diagnostic information/Trace area

Service/Original Message Trace Comparison:

In diagnostics, the user will come across the raw CAN/CAN FD/LIN messages as well as the service layer messages that have been transmitted through the transport layer. In TSMaster diagnostic module, the raw CAN messages are viewed in the basic Trace module, while the service messages after transport layer processing are viewed directly in the Trace area of the diagnostic module. This is shown in the figure below:
TSMaster Diagnostic Console Operation Details

As you can see by the comparison above:

[1] The original CAN/CAN FD message area also shows transport layer information such as multi-frame, single-frame, and first-frame.

[2] Trace in the diagnostic module presents the user with direct service layer messages. For the use of, only need to care about the content of their own services can be sent, do not need to care about these contents of the specific how to split sent. Therefore, when doing diagnostic services, focus on observing the internal Trace interface of the diagnostic module.

Operation Tip Zone:

This area displays the current steps in the Diagnostics module. The following figure shows the download of a hex file and the flow of transfer steps within the program.
TSMaster Diagnostic Console Operation Details
When the diagnostic service does not get a positive response or does not respond, the error message, etc., is shown below:
TSMaster Diagnostic Console Operation Details

ISO 15765-2 Service Message Area:

This area is used to display the detailed service layer message information of the diagnostic module. In conjunction with the diagnostic database configured earlier, it is also possible to parse the raw message data into physical signals and so on to present it to the user, as shown in the following figure:
TSMaster Diagnostic Console Operation Details

发表回复

en_USEnglish
×
×

产品入口: 产品添加到购物车

Download location

Please click the download button below to start experiencing the powerful TSMaster features. Thank you for your support!

Beta version updated weekly, full version updated monthly
Installation environment
  • 1
    Windows 7 SP1 or higher, supports Win10, and WIn11.

    Operating System

  • 2
    8GB

    random access memory (RAM)

  • 3
    At least 550MB of free space

    disk space

  • 4
    Dual-core (2-core) or higher

    CPU

Please ensure that your computer meets at least these requirements in order to install and run the TSMaster software successfully. If your computer does not meet these requirements, it may cause performance problems or not run the software properly. You may want to consider upgrading your hardware if you need smoother running features.