Created
May 31, 2020 17:44
-
-
Save SippieCup/a4c82493f06a3ccf7c3561f4cf9da01f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(tesla) ┌─[sid@clockwerk] - [~/Source/tesla-pre-ap-epas-patch] - [Sun May 31, 11:46] | |
└─[$] <git:(master)> sudo ./tesla-epas-patcher.py epas_combined.hex | |
loading firmware update ... | |
0x3ff7000-0x3ff7018 | |
0x3ff7200-0x3ff7209 | |
0x3ff83f4-0x3ffacbe | |
opening device 25002c000c51363338383037 0xddcc | |
connected | |
load firmware ... | |
file name: 7c17b61ab0a760d5c8076a4e6b89c911.bin | |
modify firmware ... | |
0x5e414 : 0xc0 -> 0xbf | |
0x5e420 : 0x10 -> 0x08 | |
0x5e421 : 0x04 -> 0x03 | |
0x5e450 : 0xc0 -> 0xbf | |
0x5e45c : 0xc0 -> 0x08 | |
0x5e45d : 0x06 -> 0x03 | |
update checksums ... | |
0x7c00-0x45fff : 0xc4718a25 (no change) | |
0x7000-0x79c0 : 0x6f3fccf8 (no change) | |
0x50000-0x5afff : 0x809e6477 (no change) | |
0x46020-0x50000 : 0xab35f4b6 (no change) | |
0x5b010-0x5dfff : 0xf15fe25 (no change) | |
0x5e010-0x67fff : 0xe4817ed9 (change) | |
file name: 7c17b61ab0a760d5c8076a4e6b89c911.modified.bin | |
start programming session ... | |
Traceback (most recent call last): | |
File "./tesla-epas-patcher.py", line 302, in <module> | |
flash_bootloader(uds_client, fw_update, BOOTLOADER_ADDR) | |
File "./tesla-epas-patcher.py", line 148, in flash_bootloader | |
uds_client.diagnostic_session_control(SESSION_TYPE.PROGRAMMING) | |
File "/home/sid/.virtualenvs/tesla/lib/python3.8/site-packages/panda/uds.py", line 544, in diagnostic_session_control | |
self._uds_request(SERVICE_TYPE.DIAGNOSTIC_SESSION_CONTROL, subfunction=session_type) | |
File "/home/sid/.virtualenvs/tesla/lib/python3.8/site-packages/panda/uds.py", line 507, in _uds_request | |
resp = isotp_msg.recv() | |
File "/home/sid/.virtualenvs/tesla/lib/python3.8/site-packages/panda/uds.py", line 398, in recv | |
raise MessageTimeoutError("timeout waiting for response") | |
panda.uds.MessageTimeoutError: timeout waiting for response | |
(tesla) ┌─[sid@clockwerk] - [~/Source/tesla-pre-ap-epas-patch] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment