-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Hellow!
I am trying to extract passwords and am getting the following error.
kuchka@raspberrypi:~/TC1791_CAN_BSL $ python3 bootloader.py
/home/kuchka/TC1791_CAN_BSL/bootloader.py:67: SyntaxWarning: "is" with a literal. Did you mean "=="?
if data[0] is 0xA0:
Welcome to Tricore BSL. Type help or ? to list commands, you are likely looking for upload to start.
(BSL) extract_boot_passwords
Setting up PWM waveforms...
Resetting ECU into Supplier Bootloader...
Sending 59 45...
Timestamp: 1692210128.669170 ID: 00a7 S Rx DL: 8 91 1c e1 77 fd 7d f7 1d Channel: can0
FAILURE
Calculating key for seed:
Traceback (most recent call last):
File "/home/kuchka/TC1791_CAN_BSL/bootloader.py", line 743, in <module>
BootloaderRepl().cmdloop()
File "/usr/lib/python3.9/cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python3.9/cmd.py", line 217, in onecmd
return func(arg)
File "/home/kuchka/TC1791_CAN_BSL/bootloader.py", line 711, in do_extract_boot_passwords
extract_boot_passwords()
File "/home/kuchka/TC1791_CAN_BSL/bootloader.py", line 284, in extract_boot_passwords
sboot_login()
File "/home/kuchka/TC1791_CAN_BSL/bootloader.py", line 271, in sboot_login
print(sboot_seed.hex())
AttributeError: 'bool' object has no attribute 'hex'
SocketcanBus was not properly shut down
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels