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
[USBD] USB PRB0 LineState: 0 | |
[USBD] USB cable/ No Cable inserted! | |
[PLFM] Keep stay in USB Mode | |
Platform initialization is ok | |
wait for frequency meter finish, CLK26CALI = 0x81 | |
mt_pll_post_init: mt_get_cpu_freq = 1040000Khz | |
wait for frequency meter finish, CLK26CALI = 0x90 | |
mt_pll_post_init: mt_get_bus_freq = 273000Khz |
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
import sys | |
import cantools | |
dbc_file = sys.argv[1] | |
try: | |
dbc = cantools.database.load_file(dbc_file) | |
print("%s OK" % (dbc_file)) | |
except Exception as e: | |
print("%s Failed" % (dbc_file)) |
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
#!/usr/local/bin/python3 | |
import csv | |
import cantools | |
import binascii | |
from collections import defaultdict | |
''' | |
- 0:64 Throttle Throttle_Cruise | |
- 0:64 Throttle Engine_RPM | |
- 0:72 Transmission RPM |