{"id":2813,"date":"2023-04-26T15:37:56","date_gmt":"2023-04-26T07:37:56","guid":{"rendered":"https:\/\/www.tosunai.com\/?p=2813"},"modified":"2024-04-23T16:02:49","modified_gmt":"2024-04-23T08:02:49","slug":"tsmaster-uds-bootloader","status":"publish","type":"post","link":"https:\/\/www.tosunai.com\/en\/tsmaster-uds-bootloader\/","title":{"rendered":"TSMaster Tutorial - UDS Flash Bootloader Process"},"content":{"rendered":"
1\u3001New construction<\/b><\/p>
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.<\/span><\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t 2\u3001CAN channel setting<\/b><\/p>\n 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.<\/span><\/font> 3\u3001New UDS diagnostic module<\/b><\/p> Open or create a new uds diagnostic module.<\/span><\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t Set the basic diagnostic parameters, Transport Layer of Protocal, and select channel 2 for channel.<\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t Set the Diagnostic layer parameter. Import the dll of the security algorithm.<\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t 1\u3001Enter the extended session<\/b><\/p> Go to the \"Basic Diagnostic Config\" tab, right-click on the 10 services against the configuration file and add a new service.<\/span><\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t Double-click the newly created service and change the callback type to 83.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t 2\u3001Create BT flash action<\/b><\/p> Go to \"Automatic Diagnostic\", right click on the left blank area and select \"add a new uds flow\".<\/span><\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t 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.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t 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.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t 3\u3001Load the file to be flashed<\/b><\/p> 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.<\/span><\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t 4\u3001Manually configure erase service<\/b><\/p> 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.<\/span><\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t 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.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t After this is done, go back and add the action to the corresponding burn file in \"Automatic Diagnostic\" after the process.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t Then create a new \"Erase\" action, which requires the two parameters generated above.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t Then add the action to \"Automatic Diagnostic\".<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
Second, flash bootloader process tutorial<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\tScrub process<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t