overview
Overview:
Today we introduce you the UDS diagnostic flash process based on TSMaster. The basic process is mainly divided into two parts: basic parameter configuration and swipe writing process.
I. Basic parameters configuration
Basic parameter configuration
1、New construction
Open the TSMaster software, select Create New Project - Diagnostics - UDS Diagnostics, then select a new working directory, create a new folder, and click to select it and then go to the TSMaster project file.
![TSMaster Tutorial - UDS Brush and Write Process 1 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片1-1-1024x560.png)
2、CAN channel setting
As shown in the figure below, set the CAN channel by selecting Hardware and Channel at the top of the electrode: click Bus Hardware and Configure Baud Rate. Configure channel one to 1000kbps and channel two to 500kbps.
![TSMaster Tutorials - UDS Brush Writing Process 2 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片2-1-1024x390.png)
3、New UDS diagnostic module
Open or create a new uds diagnostic module.
![TSMaster Tutorial - UDS Brush Writing Process 3 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片3-1.png)
Set the basic diagnostic parameters, Transport Layer of Protocal, and select channel 2 for channel.
![TSMaster Tutorial - UDS Brush Writing Process 4 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片4-1-1024x445.png)
Set the Diagnostic layer parameter. Import the dll of the security algorithm.
![TSMaster Tutorial - UDS Brush Write Process 5 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片5-2-1024x452.png)
Second, flash bootloader process tutorial
Scrub process
1、Enter the extended session
Go to the "Basic Diagnostic Config" tab, right-click on the 10 services against the configuration file and add a new service.
![TSMaster Tutorial - UDS Brush Write Process 6 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片6-1-1-1024x538.png)
Double-click the newly created service and change the callback type to 83.
![TSMaster Tutorial - UDS Brush Writing Process 7 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片6-3-1024x667.png)
2、Create BT flash action
Go to "Automatic Diagnostic", right click on the left blank area and select "add a new uds flow".
![TSMaster Tutorial - UDS Brush Writing Process 8 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片7-2-1024x731.png)
Switch to "unlock", then right click in the area shown in the box, select "Add new test step", "Normol", according to the company Select whether to use the function ID or the physical ID, and write 10 83 in the column of "Request(0x)"; configure the service in "Basic Diagnostic Config" and "Automatic Diagnostic" according to the configuration file. In the "Automatic Diagnostic" section, configure the refresh process.
![TSMaster Tutorial - UDS Brush Writing Process 9 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片8-2-1024x409.png)
After entering the programming session, according to the profile process, you need to unlock it by the security algorithm, do not select Select Config when adding the action, but Seed&Key; then select the corresponding level according to the corresponding specification.
![TSMaster Tutorial - UDS Brush Writing Process 10 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片9-1-1024x255.png)
3、Load the file to be flashed
In the "Basic Diagnostic Config" tab, create a service, change the desired name in "Service Name", click on the + sign to select the file you want to burn, and then the bottom will show the data area in the file and the parameter information of each data area. The TSMaster will fully automate the process and get two important information, the address of the data to be flushed and the length of the data to be flushed.
![TSMaster Tutorials - UDS Brush Writing Process 11 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片10-1-1024x402.png)
4、Manually configure erase service
After burning the s19 file, you need to perform a check, create a new service in 31, change the corresponding data, select "SystemVar" in the "Value Type" parameter below, modify the data length to 32, and finally add the variables.
![TSMaster Tutorial - UDS Brush Writing Process 12 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片11-1-1024x418.png)
Then click on the + sign on the right side of the parameter list below and find the checksum parameter for the corresponding file in the internal variables. Click OK.
![TSMaster Tutorial - UDS Brush Writing Process 13 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片12-1.png)
After this is done, go back and add the action to the corresponding burn file in "Automatic Diagnostic" after the process.
![TSMaster Tutorial - UDS Brush Writing Process 14 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片13-1-1024x235.png)
Then create a new "Erase" action, which requires the two parameters generated above.
![TSMaster Tutorial - UDS Brush Writing Process 15 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片14-1-1024x418.png)
Then add the action to "Automatic Diagnostic".
![TSMaster Tutorial - UDS Brush Write Process 16 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片15-1-1024x235.png)
5、Add new burn file
After erasing, add the new burn file, repeat the above process finally in the verification, and finally add the last process according to the configuration file. The entire configuration process is complete, click on the upper left corner of the boot and then click on the diagnostic in the run.
![TSMaster Tutorial - UDS Brush Writing Process 17 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片16-1-1024x450.png)
The program is being brushed.
![TSMaster Tutorial - UDS Brush Writing Process 18 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片17-1-1024x422.png)
The response can be visually observed below after the swipe is complete.
![TSMaster Tutorial - UDS Brush Writing Process 19 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片18-1-1024x258.png)
6. Automatic configuration of erasure services
If you do not want to configure erase and checksum manually, you can automatically configure the erase service to configure accordingly.
![TSMaster Tutorial - UDS Brush Writing Process 20 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片19-1-1024x576.png)
Select the appropriate response message.
![TSMaster Tutorial - UDS Brush Writing Process 21 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片20-1-1024x529.png)
![TSMaster Tutorial - UDS Brush Writing Process 22 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片21-1-1024x576.png)
Checksum.
![TSMaster Usage Tutorial - UDS Brush Writing Process 23 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片22-1-1024x571.png)
![TSMaster Tutorial - UDS Brush Writing Process 24 TSMaster Tutorial - UDS Flash Bootloader Process](/wp-content/uploads/2023/04/图片23-1-1024x559.png)