Commits vergleichen
Keine gemeinsamen Commits. „develop“ und „main“ haben vollständig unterschiedliche Historien.
4 geänderte Dateien mit 9 neuen und 7 gelöschten Zeilen
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
95040 Eepromtool is a tool for easily displaying information in bosch m7.5 ecu eeproms and coresponding custer eeproms. This tool was written for VAG 1.8t engines using immo 3, it may also work with other engines and versions, but has limited testing. Eepromtool does not offer facility to read/write to an ecu, it is soley for viewing and modifying files that you have already.
|
95040 Eepromtool is a tool for easily displaying information in bosch m7.5 ecu eeproms and coresponding custer eeproms. This tool was written for VAG 1.8t engines using immo 3, it may also work with other engines and versions, but has limited testing. Eepromtool does not offer facility to read/write to an ecu, it is soley for viewing and modifying files that you have already.
|
||||||
|
|
||||||
|
The most recent release can be found in https://github.com/turboat/eepromtool/releases/
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
Eepromtool is a command line tool, either run using 'python eepromtool_04.py' or 'eepromtool_04.exe'. To simply display the info in a bin called INFILE, use:
|
Eepromtool is a command line tool, either run using 'python eepromtool_04.py' or 'eepromtool_04.exe'. To simply display the info in a bin called INFILE, use:
|
||||||
|
|
||||||
|
|
|
@ -96,7 +96,7 @@ class clustereeprom:
|
||||||
def printStatus(self):
|
def printStatus(self):
|
||||||
logging.info("EEPROM Status:")
|
logging.info("EEPROM Status:")
|
||||||
logging.info("- Type: %s" % self.bin_type)
|
logging.info("- Type: %s" % self.bin_type)
|
||||||
if self.getVINDetail() != "":
|
if self.getVINDetail() is not "":
|
||||||
logging.info("- VIN: %s (%s)" % (self.getVIN(),self.getVINDetail()))
|
logging.info("- VIN: %s (%s)" % (self.getVIN(),self.getVINDetail()))
|
||||||
else:
|
else:
|
||||||
logging.info("- VIN: %s" % (self.getVIN()))
|
logging.info("- VIN: %s" % (self.getVIN()))
|
||||||
|
@ -179,7 +179,7 @@ class clustereeprom:
|
||||||
def setVIN(self,newvin):
|
def setVIN(self,newvin):
|
||||||
logging.debug("Trying to set vin to %s (%s)" % (newvin,parsevin(newvin)))
|
logging.debug("Trying to set vin to %s (%s)" % (newvin,parsevin(newvin)))
|
||||||
try:
|
try:
|
||||||
if len(newvin) != 17:
|
if len(newvin) is not 17:
|
||||||
logging.error("ERROR: VIN number must be 17 characters")
|
logging.error("ERROR: VIN number must be 17 characters")
|
||||||
exit(1)
|
exit(1)
|
||||||
logging.info("Setting VIN to %s" % newvin)
|
logging.info("Setting VIN to %s" % newvin)
|
||||||
|
@ -202,7 +202,7 @@ class clustereeprom:
|
||||||
def setImmoID(self,immoid):
|
def setImmoID(self,immoid):
|
||||||
logging.debug("Trying to set immo ID to %s" % immoid)
|
logging.debug("Trying to set immo ID to %s" % immoid)
|
||||||
try:
|
try:
|
||||||
if len(immoid) != 14:
|
if len(immoid) is not 14:
|
||||||
logging.error("ERROR: VIN number must be 14 characters")
|
logging.error("ERROR: VIN number must be 14 characters")
|
||||||
exit(1)
|
exit(1)
|
||||||
logging.info("Setting Immo ID to %s" % immoid)
|
logging.info("Setting Immo ID to %s" % immoid)
|
||||||
|
|
|
@ -246,7 +246,7 @@ class ecueeprom:
|
||||||
logging.info("EEPROM Status:")
|
logging.info("EEPROM Status:")
|
||||||
logging.info("- Type: %s" % self.bin_type)
|
logging.info("- Type: %s" % self.bin_type)
|
||||||
logging.info("- Version: Immo%d" % self.immover)
|
logging.info("- Version: Immo%d" % self.immover)
|
||||||
if self.getVINDetail() != "":
|
if self.getVINDetail() is not "":
|
||||||
logging.info("- VIN: %s (%s)" % (self.getVIN(),self.getVINDetail()))
|
logging.info("- VIN: %s (%s)" % (self.getVIN(),self.getVINDetail()))
|
||||||
else:
|
else:
|
||||||
logging.info("- VIN: %s" % (self.getVIN()))
|
logging.info("- VIN: %s" % (self.getVIN()))
|
||||||
|
@ -350,7 +350,7 @@ class ecueeprom:
|
||||||
|
|
||||||
|
|
||||||
def setVIN(self,newvin):
|
def setVIN(self,newvin):
|
||||||
if len(newvin) != 17:
|
if len(newvin) is not 17:
|
||||||
logging.error("ERROR: VIN number must be 17 characters")
|
logging.error("ERROR: VIN number must be 17 characters")
|
||||||
exit(1)
|
exit(1)
|
||||||
logging.info("Setting VIN to %s" % newvin)
|
logging.info("Setting VIN to %s" % newvin)
|
||||||
|
|
|
@ -5,7 +5,7 @@ import logging
|
||||||
# Minor edit, 28-9-2018
|
# Minor edit, 28-9-2018
|
||||||
# Converted to Python3, 13-02-2019
|
# Converted to Python3, 13-02-2019
|
||||||
|
|
||||||
VERSION = 0.5
|
VERSION = 0.4
|
||||||
WARN = False
|
WARN = False
|
||||||
DEBUG = False
|
DEBUG = False
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ from eepromtool.cluster import clustereeprom
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
logging.warning("95040 Eeprom Tool - " + str(VERSION) + "- No warranty implied or given, manually verify all changes before saving eeprom to ECU, this tool could cause permenent damage to ECU and prevent vehicle running\n")
|
logging.warn("95040 Eeprom Tool - " + str(VERSION) + "- No warranty implied or given, manually verify all changes before saving eeprom to ECU, this tool could cause permenent damage to ECU and prevent vehicle running\n")
|
||||||
parser = argparse.ArgumentParser(description='95040 Eeprom Tool ' + str(VERSION) + ' View/Modify me7.5 eeprom files')
|
parser = argparse.ArgumentParser(description='95040 Eeprom Tool ' + str(VERSION) + ' View/Modify me7.5 eeprom files')
|
||||||
parser.add_argument('--in',dest='infile',help='Input eeprom bin',required=True)
|
parser.add_argument('--in',dest='infile',help='Input eeprom bin',required=True)
|
||||||
parser.add_argument('--out',dest='outfile',help='File to save eeprom to (must be supplied if changing Immo/VIN)')
|
parser.add_argument('--out',dest='outfile',help='File to save eeprom to (must be supplied if changing Immo/VIN)')
|
||||||
|
|
Laden …
In neuem Issue referenzieren