-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ulp file s3 line checksum calculate #20
Comments
This line is from CANsniffer during teletransmission? |
This online calculator comes to the same result: So that makes me believe that the Python CRC16/X25 calculation is correct. |
Hello, I am uploading the PSA ECU ULP update file to Google Drive. In the Cal calibration files, the checksum result at the end of short lines is correct, but in the ULP files, the checksum we calculate does not match the one at the end of the lines in any case. Online CRC calculations and your code are correct, but the checksum at the end of the lines is different. I have included the files as examples. This file is the original update file for the Citroen C5 Aircross ECU, obtained via the official diagnostic tool, Diagbox. https://drive.google.com/file/d/1CSryg8Z0Jj6J5ZgZtjOOY_kogBWT8YQA/view?usp=drive_link |
It almost makes me think, there is no CRC16/X25 in the .ulp file at all. And that it should maybe calculated at the moment it is send? Did you retrieve the file from the temp directory that Diagbox uses? |
Yes, I copied it from the temp folder while updating diagbox online. |
I should try record teletransmission of some module but not with vlud adapter (don't record commands send to module). I think you prepare wrong line to send. Read this carefully: |
Here is teletransmission sniffed and used file: |
What I want to do is to make changes in the ulp file and turn off immo or egr. Here is the sample file, I can find the checksum2 of the immo line, but I cannot match the checksum part with your codes, CRC-16/X-25 https://drive.google.com/file/d/1fa6_TikgxGA56FY_h1UER_kkvuSBfjQx/view?usp=drive_link |
I think this is other checksum like in this link: |
I already did this by trying. The short one is s2, but it does not work on long lines or s3 lines. |
How do you know what to change in the ulp file to disable that? by Disassemble? Sorry, I do not know what you are trying todo here |
hi how to calculate ulp file s3 line cheksum
S38580080200BB34D3BF0000000065A9C6AC50CEF3CBA3AB00AE52EFF1EA5543F646FA1A591F060BA50E205C835988432B465D16FE13CE7A6D7F2F1D8C18E2B241B7C5F266F7E4914794754AD64F92428942077D83EDE27899175363B79C326C460CA7644C940212161DFB1C70836206E999C70ED301B20559F5133E675E823F66C067201C4F6E
calculate this line
S3 85 80080200 BB34 D3BF0000000065A9C6AC50CEF3CBA3AB00AE52EFF1EA5543F646FA1A591F060BA50E205C835988432B465D16FE13CE7A6D7F2F1D8C18E2B241B7C5F266F7E4914794754AD64F92428942077D83EDE27899175363B79C326C460CA7644C940212161DFB1C70836206E999C70ED301B20559F5133E675E823F66C06720 1C4F 6E
this line crc16/x-25 checksum 1C4F but this code result : 0CB2
how to calculate ulp s3 line checksum calculate?
The text was updated successfully, but these errors were encountered: