This commit is contained in:
Bouletmarc 2022-05-23 16:18:24 -04:00
parent e068382cf7
commit 1a9ab55660
142 changed files with 55181 additions and 52998 deletions

View File

@ -17,6 +17,7 @@ using DarkUI.Forms;
internal class ClassEditor
{
public List<string> Ecus_Definitions_Compatible = new List<string>();
public List<string> Ecus_Definitions_Compatible_filename = new List<string>();
//Variables for loaded rom definition
public List<string> DefinitionsLocationsX = new List<string>();
@ -48,6 +49,8 @@ internal class ClassEditor
public List<bool> DefinitionsIsReadOnly = new List<bool>();
public List<bool> DefinitionsIsUntested = new List<bool>();
public List<bool> DefinitionsIsNotDefined = new List<bool>();
public string DefinitionsChecksumLocation = "";
public string DefinitionsCurrentLoadedECU = "";
public long SelectedROMLocation;
public int SelectedTableSize;
@ -377,8 +380,8 @@ internal class ClassEditor
public void FixChecksums()
{
if (!this.Editortable_0.IsFullBinary) this.ROM_Bytes = this.Editortable_0.GForm_Main_0.VerifyChecksumFWBin(this.ROM_Bytes);
if (this.Editortable_0.IsFullBinary) this.ROM_Bytes = this.Editortable_0.GForm_Main_0.VerifyChecksumFullBin(this.ROM_Bytes);
if (!this.Editortable_0.IsFullBinary) this.ROM_Bytes = this.Editortable_0.GForm_Main_0.Class_Checksums_0.VerifyChecksumFWBin(this.ROM_Bytes);
if (this.Editortable_0.IsFullBinary) this.ROM_Bytes = this.Editortable_0.GForm_Main_0.Class_Checksums_0.VerifyChecksumFullBin(this.ROM_Bytes);
}
@ -1000,7 +1003,11 @@ internal class ClassEditor
this.ROM_Bytes[i + 2] == 0x38 &&
this.ROM_Bytes[i + 3] == 0x30 &&
(this.ROM_Bytes[i + 4] == 0x35 || this.ROM_Bytes[i + 4] == 0x36) &&
this.ROM_Bytes[i + 5] == 0x2D)
this.ROM_Bytes[i + 5] == 0x2D &&
this.ROM_Bytes[i + 10] != 0x5A &&
this.ROM_Bytes[i + 11] != 0x5A &&
this.ROM_Bytes[i + 12] != 0x5A &&
this.ROM_Bytes[i + 13] != 0x5A)
{
for (int i2 = 0; i2 < 14; i2++)
{
@ -1157,6 +1164,7 @@ internal class ClassEditor
try
{
Ecus_Definitions_Compatible = new List<string>();
Ecus_Definitions_Compatible_filename = new List<string>();
Editortable_0.CheckDefinitionFolderExist();
@ -1166,8 +1174,13 @@ internal class ClassEditor
string[] AllDefinitionFiles = Directory.GetFiles(Folderpath, "*.txt", SearchOption.AllDirectories);
Editortable_0.GForm_Main_0.method_1("Loading definitions files...");
int CurrentIndex = 0;
foreach (string ThisFilePath in AllDefinitionFiles)
{
CurrentIndex++;
int Percent = (int)((CurrentIndex * 100) / AllDefinitionFiles.Length);
Editortable_0.GForm_Main_0.method_4(Percent);
string[] AllLines = File.ReadAllLines(ThisFilePath);
bool GettingEcuList = true;
for (int i = 0; i < AllLines.Length; i++)
@ -1180,6 +1193,7 @@ internal class ClassEditor
if (GettingEcuList)
{
Ecus_Definitions_Compatible.Add(Thisline);
Ecus_Definitions_Compatible_filename.Add(ThisFilePath);
Editortable_0.GForm_Main_0.method_1("Definitions found for ecu: " + Thisline);
}
}
@ -1197,18 +1211,25 @@ internal class ClassEditor
{
DarkMessageBox.Show("Failed to load definitions. " + ex.ToString());
}
Editortable_0.GForm_Main_0.ResetProgressBar();
}
public void LoadThisECUDefinitions(string ThisECU)
public void LoadThisECUDefinitions(string ThisECU, int ThisIndexfile)
{
if (DefinitionsCurrentLoadedECU == ThisECU) return;
try
{
Editortable_0.CheckDefinitionFolderExist();
string Folderpath = Application.StartupPath + @"\Definitions";
if (Directory.Exists(Folderpath))
string ThisFilename = Ecus_Definitions_Compatible_filename[ThisIndexfile];
//string Folderpath = Application.StartupPath + @"\Definitions";
//if (Directory.Exists(Folderpath))
if (File.Exists(ThisFilename))
{
string[] AllDefinitionFiles = Directory.GetFiles(Folderpath, "*.txt", SearchOption.AllDirectories);
//string[] AllDefinitionFiles = Directory.GetFiles(Folderpath, "*.txt", SearchOption.AllDirectories);
DefinitionsLocationsX = new List<string>();
DefinitionsLocationsY = new List<string>();
@ -1238,13 +1259,17 @@ internal class ClassEditor
DefinitionsIsReadOnly = new List<bool>();
DefinitionsIsUntested = new List<bool>();
DefinitionsIsNotDefined = new List<bool>();
DefinitionsChecksumLocation = "";
DefinitionsCurrentLoadedECU = ThisECU;
Editortable_0.GForm_Main_0.method_1("Loading ECU definitions for: " + ThisECU);
bool ECUFound = false;
bool ChecksumFound = false;
bool IsFileGenerated = false;
foreach (string ThisFilePath in AllDefinitionFiles)
{
string[] AllLines = File.ReadAllLines(ThisFilePath);
//foreach (string ThisFilePath in AllDefinitionFiles)
//{
//string[] AllLines = File.ReadAllLines(ThisFilePath);
string[] AllLines = File.ReadAllLines(ThisFilename);
bool GettingEcuList = true;
string CurrentLocationX = "";
@ -1291,6 +1316,13 @@ internal class ClassEditor
if (GettingEcuList && Thisline == ThisECU) ECUFound = true;
}
if (!ChecksumFound && Thisline.Contains("ChecksumAddress:"))
{
string[] Commands = Thisline.Split(':');
DefinitionsChecksumLocation = Commands[1];
ChecksumFound = true;
}
if (!GettingEcuList && !ECUFound) i = AllLines.Length;
if (!GettingEcuList && ECUFound)
{
@ -1408,16 +1440,17 @@ internal class ClassEditor
{
Editortable_0.GForm_Main_0.method_1("Definitions loaded!");
//HERE
if (IsFileGenerated) DarkMessageBox.Show("This Definitions file as been generated to get the ROM Locations.\nThe ROM Locations can possibly be wrong and\nthe tables can display corrupted values!");
return;
}
}
//}
if (!ECUFound) Editortable_0.GForm_Main_0.method_1("Definitions NOT loaded!");
}
else
{
DarkMessageBox.Show("Failed to find definitions folder.");
//if (!ECUFound) Editortable_0.GForm_Main_0.method_1("Definitions NOT loaded!");
/*}
else
{
DarkMessageBox.Show("Failed to find definitions folder.");*/
}
}
catch (Exception ex)

142
Class_Checksums.cs Normal file
View File

@ -0,0 +1,142 @@
using System;
using System.IO;
using System.IO.Compression;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DarkUI.Forms;
public class Class_Checksums
{
private GForm_Main GForm_Main_0;
public void Load(ref GForm_Main GForm_Main_1)
{
GForm_Main_0 = GForm_Main_1;
}
public byte GetNegativeChecksumArea(byte[] byte_1, int Start, int ChecksumLocation)
{
byte b = 0;
for (int i = Start; i < byte_1.Length; i++)
{
if (i != ChecksumLocation)
{
b -= byte_1[i];
}
}
return b;
}
public int GetChecksumLocationThisECU(string ThisECU)
{
int CheckLocation = 0;
if (GForm_Main_0.Editortable_0.LoadDefinitionsFor(ThisECU))
{
if (GForm_Main_0.Editortable_0.ClassEditor_0.DefinitionsChecksumLocation != "")
{
CheckLocation = int.Parse(GForm_Main_0.Editortable_0.ClassEditor_0.DefinitionsChecksumLocation.Replace("0x", ""), System.Globalization.NumberStyles.HexNumber);
}
}
return CheckLocation;
}
public int GetChecksumLocation(byte[] BinFileBytes)
{
byte[] BufferBytes = BinFileBytes;
int CheckLocation = 0;
string Thisecuu = GForm_Main_0.Editortable_0.ExtractECUNameFromThisFile(BinFileBytes);
if (Thisecuu != "")
{
if (GForm_Main_0.Editortable_0.LoadDefinitionsFor(Thisecuu))
{
if (GForm_Main_0.Editortable_0.ClassEditor_0.DefinitionsChecksumLocation != "")
{
CheckLocation = int.Parse(GForm_Main_0.Editortable_0.ClassEditor_0.DefinitionsChecksumLocation.Replace("0x", ""), System.Globalization.NumberStyles.HexNumber);
}
}
}
if (CheckLocation == 0)
{
//HERE
//GForm_Main_0.method_1("Checksum location not definied for '" + Thisecuu + "', using known checksum location but can possibly be wrong on some ecu!");
DialogResult result = DarkMessageBox.Show("Checksum location not definied for '" + Thisecuu + "'" + Environment.NewLine + "Do you want to use 'known good' checksum location but they still can possibly be wrong on some ecu?", "Checksum location", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation);
if (result == DialogResult.Yes)
{
if (BufferBytes.Length - 1 == 0xF7FFF) CheckLocation = 0x400; //1mb-fw -> 0x8400 in full bin but we dont have the bootloader 0x0000 to 0x8000
if (BufferBytes.Length - 1 == 0xFFFFF) CheckLocation = 0x8400; //1mb-full
if (BufferBytes.Length - 1 == 0x1EFFFF) CheckLocation = 0x12; //2mb-fw
if (BufferBytes.Length - 1 == 0x1FFFFF) CheckLocation = 0x10012; //2mb-full
if (BufferBytes.Length - 1 == 0x26FFFF) CheckLocation = 0x1F03E6; //4mb-fw
if (BufferBytes.Length - 1 == 0x27FFFF) CheckLocation = 0x2003E6; //4mb-full //0x3FFFFF
}
}
return CheckLocation;
}
public byte[] VerifyChecksumFullBin(byte[] BinFileBytes)
{
//###############################
//Get Checksum and Fix it
byte[] BufferBytes = BinFileBytes;
int CheckLocation = GetChecksumLocation(BinFileBytes);
if (CheckLocation == 0)
{
GForm_Main_0.method_1("Checksum location not found!");
return BufferBytes;
}
byte num = BufferBytes[CheckLocation];
byte num2 = GetNegativeChecksumArea(BufferBytes, 0, CheckLocation);
if (num != num2)
{
GForm_Main_0.method_1("Checksum miss match.");
BufferBytes[CheckLocation] = num2;
GForm_Main_0.method_1("Checksum fixed at 0x" + CheckLocation.ToString("X") + " | Checksum: 0x" + num2.ToString("X2"));
}
else
{
GForm_Main_0.method_1("Checksum are good at 0x" + CheckLocation.ToString("X") + " | Checksum: 0x" + num2.ToString("X2"));
}
return BufferBytes;
}
public byte[] VerifyChecksumFWBin(byte[] FWFileBytes)
{
//###############################
//Get Checksum and Fix it
byte[] BufferBytes = FWFileBytes;
int CheckLocation = GetChecksumLocation(FWFileBytes);
if (CheckLocation == 0)
{
GForm_Main_0.method_1("Checksum location not found!");
return BufferBytes;
}
byte num = Class_RWD.BootloaderSum;
byte num2 = Class_RWD.GetNegativeChecksumFWBin(BufferBytes, CheckLocation);
byte ThisSum = num;
ThisSum -= num2;
byte chk = BufferBytes[CheckLocation];
if (chk != ThisSum)
{
GForm_Main_0.method_1("Checksum miss match.");
BufferBytes[CheckLocation] = ThisSum;
GForm_Main_0.method_1("Checksum fixed at 0x" + CheckLocation.ToString("X") + " | Checksum: 0x" + num2.ToString("X2"));
}
else
{
GForm_Main_0.method_1("checksum good at 0x" + CheckLocation.ToString("X") + " | Checksum: 0x" + num2.ToString("X2"));
}
return BufferBytes;
}
}

View File

@ -976,6 +976,8 @@ public class Class_DefinitionMaker
Done = false;
ExtractedBlockDone = 1;
CurrentExtractedDumps = 1;
if (!Directory.Exists(ThisEndPath)) Directory.CreateDirectory(ThisEndPath);
RemovePastDump();
long MaxIndex = (CurrentIndex + BlockSizeExtracted);
@ -988,8 +990,6 @@ public class Class_DefinitionMaker
GForm_Main_0.method_1("------------------------------------------");
GForm_Main_0.method_1("Extracting...");
if (!Directory.Exists(ThisEndPath)) Directory.CreateDirectory(ThisEndPath);
Process[] ProcList = Process.GetProcessesByName("FlashProManager");
if (ProcList.Length == 0)
{
@ -1054,17 +1054,6 @@ public class Class_DefinitionMaker
GForm_Main_0.method_1("Extracted Definitions file created: " + Environment.NewLine + SaveDefPath);
File.Create(SaveDefPath).Dispose();
File.WriteAllText(SaveDefPath, DumpedDefinition);
//NOT NEEDED ANYMORE
//< 0x20 > 0x7E
/*byte[] AllFileBytes = File.ReadAllBytes(SaveDefPath);
string SavingString = "";
for (int i = 0; i < AllFileBytes.Length; i++)
{
if (AllFileBytes[i] >= 0x20 && AllFileBytes[i] <= 0x7E) SavingString += ((char)AllFileBytes[i]).ToString();
if (AllFileBytes[i] == 0x0D && AllFileBytes[i + 1] == 0x0A) SavingString += Environment.NewLine;
}
File.WriteAllText(SaveDefPath, SavingString);*/
}
}
@ -1112,10 +1101,11 @@ public class Class_DefinitionMaker
void ExtractBINFromMemory()
{
int bytesRead = 0;
uint ThisLocation = 0xFC000000; //0xFCD180BB FD0100C3 FD2A00C3 //C60000
uint ThisLocation = 0xFAFF0000; //0xFCD180BB FD0100C3 FD2A00C3 //C60000
uint MaxLocation = 0xFE000000;
uint ExtractingSize = 0xFFFFF;
int BINSize = ExtractMemorySize + 1;
//int BINSize = ExtractMemorySize + 1;
int BINSize = 0x26FFFF + 1;
IntPtr processHandle = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_WM_READ, false, process.Id);
byte[] buffer = new byte[ExtractingSize];
@ -1128,7 +1118,7 @@ public class Class_DefinitionMaker
ReadProcessMemory((int)processHandle, ThisLocation, buffer, buffer.Length, ref bytesRead);
//D0 02 40 0B 00 09 AF FE ->works for 1Mb &7 2Mb ROM
//D0 02 40 0B 00 09 AF FE ->works for 1Mb & 2Mb ROM
//0D 00 40 02 00 80 00 90 ->works for 4Mb ROM
//20 00 00 03 B4 C0 FF FF ->works for some 1Mb ROM
//FF FF FF FF FF FF FF XX -> NOT SUGGESTED
@ -1145,6 +1135,7 @@ public class Class_DefinitionMaker
{
StartAddr = (uint)i - 8;
i = buffer.Length;
Console.WriteLine("Bin method#1");
}
if (StartAddr == 0)
@ -1160,6 +1151,7 @@ public class Class_DefinitionMaker
{
StartAddr = (uint)i - 8;
i = buffer.Length;
Console.WriteLine("Bin method#2");
}
}
@ -1174,11 +1166,32 @@ public class Class_DefinitionMaker
&& buffer[i + 6] == 0xff
&& buffer[i + 7] == 0xff)
{
StartAddr = (uint)i - 8;
StartAddr = (uint)i - 6; //fixed
i = buffer.Length;
Console.WriteLine("Bin method#3");
}
}
/*if (StartAddr == 0)
{
if (buffer[i] == 0x20
&& buffer[i + 1] == 0x00
&& buffer[i + 2] == 0x00
&& buffer[i + 3] == 0xd0
&& buffer[i + 4] == 0x3f
&& buffer[i + 5] == 0x87
&& buffer[i + 6] == 0x01
&& buffer[i + 7] == 0xd0)
{
StartAddr = (uint)i - 8;
i = buffer.Length;
Console.WriteLine("Bin method#4");
}
}*/
//20 00 00 D0 4F 28 01 D0
//20 00 00 D0 3F 87 01 D0
//01 D0 00 00 00 B0 B7 06
//NOT SUGGESTED
/*if (buffer[i] == 0xff
&& buffer[i + 1] == 0xff
@ -1205,14 +1218,64 @@ public class Class_DefinitionMaker
if (StartAddr != 0)
{
Console.WriteLine("address: 0x" + (StartAddr + ThisLocation).ToString("X"));
//Console.WriteLine("address: 0x" + (StartAddr + ThisLocation).ToString("X"));
buffer = new byte[BINSize];
ReadProcessMemory((int)processHandle, (StartAddr + ThisLocation), buffer, buffer.Length, ref bytesRead);
//Remake buffer for appropriate size rom (1mb/2mb/4mb)
int NameLocation = GForm_Main_0.Editortable_0.ExtractECUNameLocationFromThisFile(buffer);
int Count0x00 = 0;
int BinFormatSize = 0x26FFFF + 1;
//Console.WriteLine("name location: 0x" + NameLocation.ToString("X"));
if (NameLocation < 0x1EFFFF)
{
for (int i = 0xF7FFF; i < buffer.Length; i++)
{
if (buffer[i] == 0x00) Count0x00++;
if (buffer[i] != 0x00) Count0x00 = 0;
if (Count0x00 >= (16 * 150))
{
if (i >= 0xF7FFF && i < 0x1EFFFF)
{
BinFormatSize = 0xF7FFF + 1;
//Console.WriteLine("too much 0x00 at: 0x" + i.ToString("X"));
i = buffer.Length;
}
if (i >= 0x1EFFFF && i < 0x26FFFF)
{
BinFormatSize = 0x1EFFFF + 1;
i = buffer.Length;
}
}
}
}
if (BinFormatSize == (0xF7FFF + 1))
{
//remake 1mb
GForm_Main_0.method_1("1Mb .bin format detected");
byte[] newwbuffer = new byte[0xF7FFF + 1];
for (int k = 0; k < newwbuffer.Length; k++) newwbuffer[k] = buffer[k];
buffer = newwbuffer;
}
if (BinFormatSize == (0x1EFFFF + 1))
{
//remake 2mb
GForm_Main_0.method_1("2Mb .bin format detected");
byte[] newwbuffer = new byte[0x1EFFFF + 1];
for (int k = 0; k < newwbuffer.Length; k++) newwbuffer[k] = buffer[k];
buffer = newwbuffer;
}
if (BinFormatSize == (0x26FFFF + 1))
{
GForm_Main_0.method_1("4Mb .bin format detected");
}
string ECUFilename = GForm_Main_0.Editortable_0.ExtractECUNameFromThisFile(buffer);
if (ECUFilename != "")
{
string SavePathh = ThisEndPath + GForm_Main_0.Editortable_0.ExtractECUNameFromThisFile(buffer) + ".bin";
string SavePathh = ThisEndPath + ECUFilename + ".bin";
File.Create(SavePathh).Dispose();
File.WriteAllBytes(SavePathh, buffer);
GForm_Main_0.method_1("Extracted Binary file created: " + Environment.NewLine + SavePathh);
@ -1221,9 +1284,9 @@ public class Class_DefinitionMaker
else
{
GForm_Main_0.method_1("Something went wrong while extracting .bin:" + Environment.NewLine + "Could not find 'ECU name' inside the extracted data");
//string SavePathh = ThisEndPath + "DumpHex1";
//File.Create(SavePathh).Dispose();
//File.WriteAllBytes(SavePathh, buffer);
string SavePathh = ThisEndPath + "DumpHex1";
File.Create(SavePathh).Dispose();
File.WriteAllBytes(SavePathh, buffer);
}
}
/*else
@ -1298,7 +1361,69 @@ public class Class_DefinitionMaker
//##########################################################################################################################
//##########################################################################################################################
public void ExtractAllBootLoaderSum_1Mb()
public void ExtractAllBootLoaderSum()
{
AllFileNames = new List<string>();
AllBootLoaderSumBytes = new List<byte>();
string[] AllFiles = Directory.GetFiles(FirmwareFolder, "*.gz"); //Get all RWD files
for (int i = 0; i < GForm_Main_0.Editortable_0.ClassEditor_0.Ecus_Definitions_Compatible.Count; i++) //Check within all ecus that has a definitions file
{
string ThisEcu = GForm_Main_0.Editortable_0.ClassEditor_0.Ecus_Definitions_Compatible[i];
//Console.WriteLine("DEEEEE: " + ThisEcu);
bool RWDFileFound = false;
for (int k = 0; k < AllFiles.Length; k++) //check within all RWD files
{
if (AllFiles[k].Contains(ThisEcu))
{
RWDFileFound = true;
//Console.WriteLine("DOING: " + ThisEcu);
GForm_Main_0.ClearLogs();
//Decrypt firmware file and get needed variable (Decryption byte)
Class_RWD.LoadRWD(AllFiles[k], true, false, false);
for (int m = 0; m < Class_RWD.SuppportedVersions.Length; m++)
{
if (Class_RWD.SuppportedVersions[m] == ThisEcu) //Matching ecu definition and RWD file
{
//Console.WriteLine("MATCHING!");
byte[] AllBytes = Class_RWD.firmware_candidates[m];
byte BootLoaderSumByte = Class_RWD.BootloaderSum;
if (BootLoaderSumByte == 0)
{
Console.WriteLine("ERROR BOOTSUM FOR: " + ThisEcu);
}
else
{
AllFileNames.Add(ThisEcu);
AllBootLoaderSumBytes.Add(BootLoaderSumByte);
}
m = Class_RWD.SuppportedVersions.Length;
k = AllFiles.Length;
}
}
}
}
if (!RWDFileFound) Console.WriteLine("RWD NOT FOUND FOR: " + ThisEcu);
}
string SavingText = "";
for (int i = 0; i < AllFileNames.Count; i++) SavingText = SavingText + AllFileNames[i] + "|" + AllBootLoaderSumBytes[i] + Environment.NewLine;
string SavingPath = Application.StartupPath + @"\BootLoaderSumBytesList2.txt";
File.Create(SavingPath).Dispose();
File.WriteAllText(SavingPath, SavingText);
GForm_Main_0.method_1("File saved:" + SavingPath);
}
/*public void ExtractAllBootLoaderSum_1Mb()
{
AllFileNames = new List<string>();
AllBootLoaderSumBytes = new List<byte>();
@ -1344,5 +1469,5 @@ public class Class_DefinitionMaker
if (i != 0x400) b -= byte_1[i];
}
return b;
}
}*/
}

View File

@ -11,12 +11,12 @@ using System.Windows.Forms;
static class Class_RWD
{
private static string part_number_prefix = "";
private static List<byte[]> firmware_candidates = new List<byte[]>();
public static List<byte[]> firmware_candidates = new List<byte[]>();
public static byte[] _keys = new byte[] { };
public static byte[] _firmware_encrypted = new byte[] { };
public static UInt32 start = 0U;
public static UInt32 size = 0U;
private static string[] SuppportedVersions = new string[] { };
public static string[] SuppportedVersions = new string[] { };
private static string[] SuppportedFWKeys = new string[] { };
private static string CanAddress = "";
private static byte[] DecodersBytes = new byte[] { }; //Used to decode rwd to bin
@ -107,15 +107,15 @@ static class Class_RWD
//######################################################################################################
//######################################################################################################
public static void LoadBIN(string f_name, string f_nameFW)
public static void ConvertBIN2RWD(string f_name, string f_nameFW)
{
byte[] data = File.ReadAllBytes(f_name);
GForm_Main_0.method_1("Encrypting file: " + f_name);
//Load .rwd file for obtaining 'encryption' method and then encrypt the .bin using the same method.
LoadRWD(f_nameFW, true, false);
LoadRWD(f_nameFW, true, false, true);
//Copy Start file bytes from the selected rwd file, then add the dat aand checksum bytes
//Copy Start file bytes from the selected rwd file, then add the data and checksum bytes
byte[] dataEncrypted = new byte[RWD_encrypted_StartFile.Length + data.Length + 4];
for (int i = 0; i < RWD_encrypted_StartFile.Length; i++) dataEncrypted[i] = RWD_encrypted_StartFile[i];
@ -154,19 +154,26 @@ static class Class_RWD
//######################################################################################################
//######################################################################################################
public static void LoadRWD(string f_name, bool FullDecrypt, bool Saving)
public static void LoadRWD(string f_name, bool FullDecrypt, bool Saving, bool Logs)
{
byte[] data = new byte[] { };
SuppportedVersions = new string[] { };
SuppportedFWKeys = new string[] { };
start = 0;
size = 0;
_firmware_encrypted = new byte[] { };
_keys = new byte[] { };
if (Path.GetExtension(f_name).ToLower().Contains("gz")) data = Decompress(f_name);
else data = File.ReadAllBytes(f_name);
GForm_Main_0.method_1("Decrypting file: " + f_name);
if (Logs) GForm_Main_0.method_1("Decrypting file: " + f_name);
string indicatorBytes = data[0].ToString("x2") + data[1].ToString("x2") + data[2].ToString("x2");
if (indicatorBytes != "5a0d0a")
//if (indicatorBytes != "5a0d0a" && indicatorBytes != "310d0a")
{
GForm_Main_0.method_1("Not Compatible file!");
if (Logs) GForm_Main_0.method_1("Not Compatible file!");
return;
}
@ -184,6 +191,7 @@ static class Class_RWD
{
byte[] header = { };
//################################################################################################
if (Mode == 0x5a)
{
byte count = data[idx];
@ -201,7 +209,7 @@ static class Class_RWD
header = Push(header, v);
}
}
//################################################################################################
if (Mode == 0x31)
{
byte[] h_prefix = new byte[2];
@ -213,7 +221,7 @@ static class Class_RWD
if (h_prefix[0] != 0x0d && h_prefix[1] != 0x0a)
{
GForm_Main_0.method_1("header delimiter not found!");
if (Logs) GForm_Main_0.method_1("header delimiter not found!");
return;
}
@ -231,7 +239,7 @@ static class Class_RWD
}
if (end_idx == -1)
{
GForm_Main_0.method_1("field delimiter not found!");
if (Logs) GForm_Main_0.method_1("field delimiter not found!");
return;
}
@ -253,10 +261,11 @@ static class Class_RWD
{
Console.WriteLine(h_prefix[0].ToString("X2") + h_prefix[1].ToString("X2"));
Console.WriteLine(h_suffix[0].ToString("X2") + h_suffix[1].ToString("X2"));
GForm_Main_0.method_1("header prefix and suffix do not match");
if (Logs) GForm_Main_0.method_1("header prefix and suffix do not match");
return;
}
}
//################################################################################################
if (i == 0) headers0 = header;
if (i == 1) headers1 = header;
@ -342,28 +351,31 @@ static class Class_RWD
if (headers2[0] == 0xef) AdditionnalCanInfos = " (Gateway Module)"; //->38897-XXX-XXXX files
//Print/Log Informations
GForm_Main_0.method_1("Firmware Start: 0x" + start.ToString("X"));
GForm_Main_0.method_1("Firmware Size: 0x" + size.ToString("X"));
GForm_Main_0.method_1("CanAddress: 0x" + CanAddress + AdditionnalCanInfos);
GForm_Main_0.method_1("Software Keys: 0x" + SoftwareKey);
GForm_Main_0.method_1("Supported Versions (and keys): ");
for (int i = 0; i < SuppportedVersions.Length; i++) GForm_Main_0.method_1(SuppportedVersions[i] + " (0x" + SuppportedFWKeys[i] + ")");
if (Logs)
{
GForm_Main_0.method_1("Firmware Start: 0x" + start.ToString("X"));
GForm_Main_0.method_1("Firmware Size: 0x" + size.ToString("X"));
GForm_Main_0.method_1("CanAddress: 0x" + CanAddress + AdditionnalCanInfos);
GForm_Main_0.method_1("Software Keys: 0x" + SoftwareKey);
GForm_Main_0.method_1("Supported Versions (and keys): ");
for (int i = 0; i < SuppportedVersions.Length; i++) GForm_Main_0.method_1(SuppportedVersions[i] + " (0x" + SuppportedFWKeys[i] + ")");
}
//Perform FULL decryption (convert .rwd to .bin)
if (FullDecrypt) DecryptRWD(f_name, Saving);
if (FullDecrypt) DecryptRWD(f_name, Saving, Logs);
}
private static void DecryptRWD(string f_name, bool Saving)
private static void DecryptRWD(string f_name, bool Saving, bool Logs)
{
part_number_prefix = get_part_number_prefix(f_name);
firmware_candidates = decrypt(part_number_prefix);
firmware_candidates = decrypt(part_number_prefix, Logs);
if (firmware_candidates.Count == 0)
{
//try with a shorter part number
GForm_Main_0.method_1("failed on long part number, trying truncated part number ...");
part_number_prefix = get_part_number_prefix(f_name, true);
firmware_candidates = decrypt(part_number_prefix);
firmware_candidates = decrypt(part_number_prefix, Logs);
}
if (firmware_candidates.Count == 0)
@ -391,10 +403,11 @@ static class Class_RWD
firmware_candidates.Add(LastCandidate);
}
if (firmware_candidates.Count > 1) GForm_Main_0.method_1("multiple sets of keys resulted in data containing the part number");
if (Logs && firmware_candidates.Count > 1) GForm_Main_0.method_1("multiple sets of keys resulted in data containing the part number");
//###################################################################
//###################################################################
BootloaderSum = 0;
foreach (byte[] fc in firmware_candidates)
{
//Checksum location for SH7058 1mb rom file are located at 0x8400, it's a 1byte sum calculated from negative sum of the full binary
@ -403,30 +416,30 @@ static class Class_RWD
if (fc.Length - 1 == 0xF7FFF || fc.Length - 1 == 0x1EFFFF || fc.Length - 1 == 0x26FFFF)
{
int CheckLocation = 0;
if (fc.Length - 1 == 0xF7FFF) CheckLocation = 0x400;
if (fc.Length - 1 == 0x1EFFFF) CheckLocation = 0x12; //CONFIRMED GOOD LOCATION FOR FIRMWARE, FULL BIN LOCATION: 0x10012
if (fc.Length - 1 == 0x26FFFF) CheckLocation = 0x1F03E6; //0x2003E6 0x1EFFFA in firmware or 0x001FFFFA in full bin
byte num = GetBootloaderSum(fc, CheckLocation);
byte num2 = GetNegativeChecksumFWBin(fc, CheckLocation);
int ThisSumInt = num;
ThisSumInt -= num2;
if (ThisSumInt < 0) ThisSumInt += 255;
byte ThisSum = (byte)ThisSumInt;
byte chk = fc[CheckLocation];
/*Console.WriteLine("chk: " + chk.ToString("X2"));
Console.WriteLine("num2: " + num2.ToString("X2"));
Console.WriteLine("num: " + num.ToString("X2"));
Console.WriteLine("ThisSum: " + ThisSum.ToString("X2"));*/
if (chk == ThisSum)
int CheckLocation = GForm_Main_0.Class_Checksums_0.GetChecksumLocation(fc);
if (CheckLocation != 0)
{
GForm_Main_0.method_1("checksums good!");
BootloaderSum = num;
GForm_Main_0.method_1("Bootloader Sum are 0x" + BootloaderSum.ToString("X"));
}
else
{
GForm_Main_0.method_1("checksums bad, could not get bootloader sum!");
byte num = GetBootloaderSum(fc, CheckLocation);
byte num2 = GetNegativeChecksumFWBin(fc, CheckLocation);
int ThisSumInt = num;
ThisSumInt -= num2;
if (ThisSumInt < 0) ThisSumInt += 255;
byte ThisSum = (byte)ThisSumInt;
byte chk = fc[CheckLocation];
/*Console.WriteLine("chk: " + chk.ToString("X2"));
Console.WriteLine("num2: " + num2.ToString("X2"));
Console.WriteLine("num: " + num.ToString("X2"));
Console.WriteLine("ThisSum: " + ThisSum.ToString("X2"));*/
if (chk == ThisSum)
{
GForm_Main_0.method_1("checksums good!");
BootloaderSum = num;
GForm_Main_0.method_1("Bootloader Sum are 0x" + BootloaderSum.ToString("X"));
}
else
{
GForm_Main_0.method_1("checksums bad, could not get bootloader sum!");
}
}
}
}
@ -768,7 +781,7 @@ static class Class_RWD
}
}
private static List<byte[]> decrypt(string search_value)
private static List<byte[]> decrypt(string search_value, bool Logs)
{
//# sometimes there is an extra character after each character
//# 37805-RBB-J530 -> 3377880550--RRBCBA--JA503000
@ -781,8 +794,11 @@ static class Class_RWD
string search_exact = search_value.ToUpper();
string search_padded = search_value_padded.ToUpper();
GForm_Main_0.method_1("Searching:");
GForm_Main_0.method_1("'" + search_exact + "' and '" + search_padded + "'");
if (Logs)
{
GForm_Main_0.method_1("Searching:");
GForm_Main_0.method_1("'" + search_exact + "' and '" + search_padded + "'");
}
string[] operators = new string[8] {
"fn:^", //XOR
@ -913,7 +929,7 @@ static class Class_RWD
if ((decrypted.Contains(search_exact) || decrypted.Contains(search_padded)) && !firmware_candidates_0.Contains(candidate))
{
MakeEncoderArray();
GForm_Main_0.method_Log("X");
if (Logs) GForm_Main_0.method_Log("X");
firmware_candidates_0.Add(candidate);
display_ciphers.Add(string.Format("(((i {0} {1}) {2} {3}) {4} {5}) & 0xFF",
o1, k1_CMD,
@ -922,7 +938,7 @@ static class Class_RWD
}
else
{
GForm_Main_0.method_Log(".");
if (Logs) GForm_Main_0.method_Log(".");
}
Application.DoEvents();
}
@ -931,8 +947,12 @@ static class Class_RWD
GForm_Main_0.ResetProgressBar();
foreach (string cipher in display_ciphers) {
GForm_Main_0.method_1(String.Format("cipher: {0}", cipher));
if (Logs)
{
foreach (string cipher in display_ciphers)
{
GForm_Main_0.method_1(String.Format("cipher: {0}", cipher));
}
}
return firmware_candidates_0;
}

View File

@ -617,17 +617,40 @@ public class Editortable : DarkForm
public bool LoadDefinitionsFor(string string_9)
{
ClassEditor_0.LoadSupportedECUDefinitions();
//ClassEditor_0.LoadSupportedECUDefinitions();
int DefinitionsFilesCount = 0;
List<int> IndexLisst = new List<int>();
for (int i = 0; i < ClassEditor_0.Ecus_Definitions_Compatible.Count; i++)
{
if (ClassEditor_0.Ecus_Definitions_Compatible[i] == string_9)
{
ClassEditor_0.LoadThisECUDefinitions(string_9);
DefinitionsFilesCount++;
IndexLisst.Add(i);
//ClassEditor_0.LoadThisECUDefinitions(string_9);
//return true;
}
}
//foreach (string str2 in ClassEditor_0.DefinitionsName) this.NodesNameList.Add(str2);
if (DefinitionsFilesCount > 1)
{
GForm_SeveralDef GForm_SeveralDef_0 = new GForm_SeveralDef();
GForm_SeveralDef_0.LoadSetValues(ref GForm_Main_0, string_9, IndexLisst);
DialogResult result = GForm_SeveralDef_0.ShowDialog();
if (result == DialogResult.OK)
{
ClassEditor_0.LoadThisECUDefinitions(string_9, IndexLisst[GForm_SeveralDef_0.comboBox1.SelectedIndex]);
return true;
}
//HERE
//ClassEditor_0.LoadThisECUDefinitions(string_9, IndexLisst[0]);
//return true;
}
if (DefinitionsFilesCount == 1)
{
ClassEditor_0.LoadThisECUDefinitions(string_9, IndexLisst[0]);
return true;
}
return false;
@ -1070,6 +1093,27 @@ public class Editortable : DarkForm
return ECUName;
}
public int ExtractECUNameLocationFromThisFile(byte[] ThisFileBytes)
{
int Locationn = -1;
for (int i = 0; i < ThisFileBytes.Length - 12; i++)
{
//37805-
if ((char)ThisFileBytes[i] == '3'
&& (char)ThisFileBytes[i + 1] == '7'
&& (char)ThisFileBytes[i + 2] == '8'
&& (char)ThisFileBytes[i + 3] == '0'
&& (char)ThisFileBytes[i + 4] == '5'
&& (char)ThisFileBytes[i + 5] == '-'
&& (char)ThisFileBytes[i + 10] != 'Z')
{
Locationn = i;
}
}
return Locationn;
}
public void LoadThisFile(string ThisFilePath)
{
@ -1106,7 +1150,7 @@ public class Editortable : DarkForm
DialogResult result = openFileDialog1.ShowDialog();
if (result == DialogResult.OK)
{
Class_RWD.LoadRWD(openFileDialog1.FileName, true, false);
Class_RWD.LoadRWD(openFileDialog1.FileName, true, false, true);
}
}
else
@ -1218,13 +1262,14 @@ public class Editortable : DarkForm
private void extractAllBootloadersumByteFromAllFirmwaresFilesToolStripMenuItem_Click(object sender, EventArgs e)
{
DarkMessageBox.Show(this, "Select the folder where all decrypted firmwares .bin are located.", "Select firmwares folder", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
//DarkMessageBox.Show(this, "Select the folder where all decrypted firmwares .bin are located.", "Select firmwares folder", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
DarkMessageBox.Show(this, "Select the folder where all RWD(.gz) files are located.", "Select firmwares folder", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
DialogResult result = folderBrowserDialog1.ShowDialog();
if (result == DialogResult.OK)
{
GForm_Main_0.Class_DefinitionMaker_0.FirmwareFolder = folderBrowserDialog1.SelectedPath;
GForm_Main_0.Class_DefinitionMaker_0.ExtractAllBootLoaderSum_1Mb();
GForm_Main_0.Class_DefinitionMaker_0.ExtractAllBootLoaderSum();
}
}
@ -1401,7 +1446,7 @@ public class Editortable : DarkForm
private void extractbinFileFromFPMToolStripMenuItem_Click(object sender, EventArgs e)
{
GForm_ExtractSize GForm_ExtractSize_0 = new GForm_ExtractSize();
/*GForm_ExtractSize GForm_ExtractSize_0 = new GForm_ExtractSize();
DialogResult result = GForm_ExtractSize_0.ShowDialog();
if (result == DialogResult.OK)
{
@ -1409,7 +1454,8 @@ public class Editortable : DarkForm
if (GForm_ExtractSize_0.comboBox1.SelectedIndex == 1) GForm_Main_0.Class_DefinitionMaker_0.ExtractMemorySize = 0x1EFFFF;
if (GForm_ExtractSize_0.comboBox1.SelectedIndex == 2) GForm_Main_0.Class_DefinitionMaker_0.ExtractMemorySize = 0x26FFFF;
GForm_Main_0.Class_DefinitionMaker_0.Extract("Bin");
}
}*/
GForm_Main_0.Class_DefinitionMaker_0.Extract("Bin");
}
private void convertrwdTobinToolStripMenuItem_Click(object sender, EventArgs e)

View File

@ -66,6 +66,7 @@
<Compile Include="ClassListView.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Class_Checksums.cs" />
<Compile Include="Class_DefinitionMaker.cs" />
<Compile Include="Class_ODB.cs" />
<Compile Include="Class_ECUS.cs" />
@ -78,6 +79,9 @@
<Compile Include="GClass4.cs" />
<Compile Include="GEnum0.cs" />
<Compile Include="GEnum1.cs" />
<Compile Include="GForm_SeveralDef.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="GForm_ExtractSize.cs">
<SubType>Form</SubType>
</Compile>
@ -111,6 +115,9 @@
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="frmOBD2Scan.resx" />
<EmbeddedResource Include="GForm_SeveralDef.resx">
<DependentUpon>GForm_SeveralDef.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="GForm_ExtractSize.resx">
<DependentUpon>GForm_ExtractSize.cs</DependentUpon>
</EmbeddedResource>

View File

@ -39,9 +39,12 @@ public class GForm_Main : DarkForm
public Class_DefinitionMaker Class_DefinitionMaker_0;
private DarkComboBox darkComboBoxUnlockMode;
private bool BadResponceReceived = false;
public Class_Checksums Class_Checksums_0;
public System.Windows.Forms.Timer Timer1 = new System.Windows.Forms.Timer();
public GForm_Main()
{
this.Enabled = false;
this.InitializeComponent();
@ -51,7 +54,18 @@ public class GForm_Main : DarkForm
GForm_Main_0 = this;
Timer1.Interval = 1000;
Timer1.Tick += new EventHandler(TimerEventProcessor);
Timer1.Start();
}
private void TimerEventProcessor(Object myObject, EventArgs myEventArgs)
{
Timer1.Stop();
Editortable_0 = new Editortable(ref GForm_Main_0);
Class_Checksums_0 = new Class_Checksums();
Class_Checksums_0.Load(ref GForm_Main_0);
Class_RWD.Load(ref GForm_Main_0);
@ -59,9 +73,11 @@ public class GForm_Main : DarkForm
Class_DefinitionMaker_0 = new Class_DefinitionMaker(ref GForm_Main_0);
darkComboBoxUnlockMode.SelectedIndex = 0;
}
Editortable_0.ClassEditor_0.LoadSupportedECUDefinitions();
darkComboBoxUnlockMode.SelectedIndex = 0;
this.Enabled = true;
}
private void method_0(string string_3)
{
@ -87,6 +103,10 @@ public class GForm_Main : DarkForm
Editortable_0.method_Log(string_3);
}
public void ClearLogs()
{
this.darkTextBox_0.Text = "";
}
public void method_1(string string_3)
{
@ -1051,73 +1071,6 @@ public class GForm_Main : DarkForm
}
}
public byte GetNegativeChecksumArea(byte[] byte_1, int Start, int ChecksumLocation)
{
byte b = 0;
for (int i = Start; i < byte_1.Length; i++)
{
if (i != ChecksumLocation)
{
b -= byte_1[i];
}
}
return b;
}
public byte[] VerifyChecksumFullBin(byte[] BinFileBytes)
{
//###############################
//Get Checksum and Fix it
byte[] BufferBytes = BinFileBytes;
int CheckLocation = 0;
if (BufferBytes.Length - 1 == 0xFFFFF) CheckLocation = 0x8400; //1mb-full
if (BufferBytes.Length - 1 == 0x1FFFFF) CheckLocation = 0x10012; //2mb-full
if (BufferBytes.Length - 1 == 0x27FFFF) CheckLocation = 0x2003E6; //4mb-full //0x3FFFFF
byte num = BufferBytes[CheckLocation];
byte num2 = GetNegativeChecksumArea(BufferBytes, 0, CheckLocation);
if (num != num2)
{
this.method_1("Checksum miss match.");
BufferBytes[CheckLocation] = num2;
this.method_1("Checksum fixed at 0x" + CheckLocation.ToString("X") + " | Checksum: 0x" + num2.ToString("X2"));
}
else
{
this.method_1("Checksum are good at 0x" + CheckLocation.ToString("X") + " | Checksum: 0x" + num2.ToString("X2"));
}
return BufferBytes;
}
public byte[] VerifyChecksumFWBin(byte[] FWFileBytes)
{
//###############################
//Get Checksum and Fix it
byte[] BufferBytes = FWFileBytes;
int CheckLocation = 0;
if (BufferBytes.Length - 1 == 0xF7FFF) CheckLocation = 0x400; //1mb-fw -> 0x8400 in full bin but we dont have the bootloader 0x0000 to 0x8000
if (BufferBytes.Length - 1 == 0x1EFFFF) CheckLocation = 0x12; //2mb-fw
if (BufferBytes.Length - 1 == 0x26FFFF) CheckLocation = 0x1F03E6; //4mb-fw
byte num = Class_RWD.BootloaderSum;
byte num2 = Class_RWD.GetNegativeChecksumFWBin(BufferBytes, CheckLocation);
byte ThisSum = num;
ThisSum -= num2;
byte chk = BufferBytes[CheckLocation];
if (chk != ThisSum)
{
this.method_1("Checksum miss match.");
BufferBytes[CheckLocation] = ThisSum;
this.method_1("Checksum fixed at 0x" + CheckLocation.ToString("X") + " | Checksum: 0x" + num2.ToString("X2"));
}
else
{
GForm_Main_0.method_1("checksum good at 0x" + CheckLocation.ToString("X") + " | Checksum: 0x" + num2.ToString("X2"));
}
return BufferBytes;
}
private void method_17(object sender, EventArgs e)
{
if (GForm_Main.string_0.Length == 0)
@ -1147,7 +1100,7 @@ public class GForm_Main : DarkForm
//###############################
//Get/Fix Checksums
byte_ToWrite = VerifyChecksumFullBin(byte_ToWrite);
byte_ToWrite = Class_Checksums_0.VerifyChecksumFullBin(byte_ToWrite);
if (MessageBox.Show("Are you sure you want to write this file to ECU?", "Flash Tool", MessageBoxButtons.YesNo) == DialogResult.Yes)
{
@ -1200,7 +1153,7 @@ public class GForm_Main : DarkForm
WritingBinaryMode = false;
//Decrypt firmware file and get needed variable (Decryption byte)
Class_RWD.LoadRWD(dialog.FileName, false, false);
Class_RWD.LoadRWD(dialog.FileName, false, false, true);
//###############################
//Get Checksum and Fix it -> checksums of rwd files should mostly always be fixed, no need to fix them!
@ -2384,7 +2337,7 @@ public class GForm_Main : DarkForm
DialogResult result = openFileDialog1.ShowDialog();
if (result == DialogResult.OK)
{
Class_RWD.LoadRWD(openFileDialog1.FileName, true, true);
Class_RWD.LoadRWD(openFileDialog1.FileName, true, true, true);
}
}
@ -2402,7 +2355,7 @@ public class GForm_Main : DarkForm
string ThisR = gform.FileRWD;
gform.Dispose();
Class_RWD.LoadBIN(ThisB, ThisR);
Class_RWD.ConvertBIN2RWD(ThisB, ThisR);
}
}
@ -2419,7 +2372,7 @@ public class GForm_Main : DarkForm
if ((FilesBytes.Length - 1) == 0xFFFFF)
{
byte[] NewFilesBytes = VerifyChecksumFullBin(FilesBytes);
byte[] NewFilesBytes = Class_Checksums_0.VerifyChecksumFullBin(FilesBytes);
if (NewFilesBytes != FilesBytes)
{
string NewPath = Path.GetDirectoryName(openFileDialog1.FileName) + @"\" + Path.GetFileNameWithoutExtension(openFileDialog1.FileName) + "_FixedChkSum.bin";
@ -2441,7 +2394,7 @@ public class GForm_Main : DarkForm
result = openFileDialog1.ShowDialog();
if (result == DialogResult.OK)
{
Class_RWD.LoadRWD(openFileDialog1.FileName, true, false);
Class_RWD.LoadRWD(openFileDialog1.FileName, true, false, true);
}
}
else
@ -2449,7 +2402,7 @@ public class GForm_Main : DarkForm
Class_RWD.BootloaderSum = (byte)BtSumInt;
}
byte[] NewFilesBytes = VerifyChecksumFWBin(FilesBytes);
byte[] NewFilesBytes = Class_Checksums_0.VerifyChecksumFWBin(FilesBytes);
if (NewFilesBytes != FilesBytes)
{
string NewPath = Path.GetDirectoryName(FilenameBuffer) + @"\" + Path.GetFileNameWithoutExtension(FilenameBuffer) + "_FixedChkSum.bin";

127
GForm_SeveralDef.cs Normal file
View File

@ -0,0 +1,127 @@
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
using DarkUI.Controls;
using DarkUI.Forms;
public class GForm_SeveralDef : DarkForm
{
public GForm_Main GForm_Main_0;
public GForm_SeveralDef()
{
this.InitializeComponent();
}
public void LoadSetValues(ref GForm_Main GForm_Main_1, string ThisEcuName, List<int> IndexxList)
{
GForm_Main_0 = GForm_Main_1;
label3.Text = "More than one Definition file as been found for '" + ThisEcuName + "', please select which one we use:";
for (int i = 0; i < IndexxList.Count; i++)
{
int ThisIndeex = IndexxList[i];
string ThisItem = GForm_Main_0.Editortable_0.ClassEditor_0.Ecus_Definitions_Compatible[ThisIndeex] + " in: " + GForm_Main_0.Editortable_0.ClassEditor_0.Ecus_Definitions_Compatible_filename[ThisIndeex].Replace(Application.StartupPath, "");
comboBox1.Items.Add(ThisItem);
}
//comboBox1.Items.Add();
comboBox1.SelectedIndex = 0;
}
private void method_0(object sender, EventArgs e)
{
base.DialogResult = DialogResult.OK;
base.Close();
}
private void method_1(object sender, EventArgs e)
{
}
private void method_2(object sender, EventArgs e)
{
base.DialogResult = DialogResult.Abort;
base.Close();
}
protected virtual void Dispose(bool disposing)
{
if (disposing && this.icontainer_0 != null)
{
this.icontainer_0.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
this.darkButton_0 = new DarkUI.Controls.DarkButton();
this.label3 = new System.Windows.Forms.Label();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.SuspendLayout();
//
// darkButton_0
//
this.darkButton_0.Checked = false;
this.darkButton_0.DialogResult = System.Windows.Forms.DialogResult.OK;
this.darkButton_0.Location = new System.Drawing.Point(206, 70);
this.darkButton_0.Name = "darkButton_0";
this.darkButton_0.Size = new System.Drawing.Size(75, 23);
this.darkButton_0.TabIndex = 4;
this.darkButton_0.Text = "Accept";
this.darkButton_0.Click += new System.EventHandler(this.method_0);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
this.label3.ForeColor = System.Drawing.SystemColors.ControlLight;
this.label3.Location = new System.Drawing.Point(13, 15);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(392, 13);
this.label3.TabIndex = 10;
this.label3.Text = "More than one Definition file as been found for \'\', please select which one we us" +
"e:";
this.label3.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// comboBox1
//
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(9, 38);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(471, 21);
this.comboBox1.TabIndex = 11;
//
// GForm_SeveralDef
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(488, 110);
this.ControlBox = false;
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.label3);
this.Controls.Add(this.darkButton_0);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "GForm_SeveralDef";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Several Definitions Found!";
this.Load += new System.EventHandler(this.method_1);
this.ResumeLayout(false);
this.PerformLayout();
}
[CompilerGenerated]
private IContainer icontainer_0;
private DarkButton darkButton_0;
private Label label3;
public ComboBox comboBox1;
}

120
GForm_SeveralDef.resx Normal file
View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2013_EX, EX-L_2.4L L4 - Gas, 3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Civic_2017_EX-T_1.5L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Civic_2016_2017_EX-L, EX-T_1.5L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Civic_2016_2017_EX-L, EX-T, Touring_1.5L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Civic_2019_Si_1.5L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Civic_2020_Si_1.5L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Civic_2019_Sport_1.5L L4 - Gas, 2.0L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Civic_2020_Touring, Type R_1.5L L4 - Gas, 2.0L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2013_EX-L_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2015_EX-L_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_CR-V_2020_EX, EX-L, Touring_1.5L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_CR-V_2020_EX, EX-L, Touring_1.5L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -10,6 +10,10 @@
37805-5PA-AD10
37805-5PA-AB10
#######################################################################
# Checksum Address Location:
#######################################################################
ChecksumAddress:0x1FFFFA
#######################################################################
#######################################################################
#######################################################################
# ROM Parameters Definitions:

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_RDX_2020_SH-AWD_2.0L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_RDX_2019_SH-AWD_2.0L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -7,6 +7,10 @@
#######################################################################
37805-64A-A540
#######################################################################
# Checksum Address Location:
#######################################################################
ChecksumAddress:0x1FFFFA
#######################################################################
#######################################################################
#######################################################################
# ROM Parameters Definitions:

View File

@ -9,6 +9,10 @@
37805-64A-A620
37805-64D-P510
#######################################################################
# Checksum Address Location:
#######################################################################
ChecksumAddress:0x1FFFFA
#######################################################################
#######################################################################
#######################################################################
# ROM Parameters Definitions:

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Element_2007_2008_EX, LX, SC_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Element_2007_2008_EX, LX, SC_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Element_2010_2011_EX, LX_EX, LX, SC_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Element_2010_2011_EX, LX_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_S2000_2006_2007_2008_Base, CR_Base_2.2L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_S2000_2008_2009_Base, CR_2.2L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2008_2009_LX, LX-P_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2010_LX, LX-P_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2012_LX_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2008_2009_LX, LX-P_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2010_LX, LX-P_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2011_2012_LX, LX-P, SE_LX_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2008_2009_LX, LX-P_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2010_LX, LX-P_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2012_LX, LX-P, SE_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2008_2009_EX, EX-L, LX-S_EX, EX-L, LX_2.4L L4 - Gas, 3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2010_EX, EX-L, LX-S_2.4L L4 - Gas, 3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2012_EX, LX-S_2.4L L4 - Gas, 3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2008_2009_EX, EX-L, LX-S_EX, EX-L, LX_2.4L L4 - Gas, 3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2010_EX, EX-L, LX-S_2.4L L4 - Gas, 3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2012_EX, EX-L, LX-S_2.4L L4 - Gas, 3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2012_EX, EX-L, LX-S_2.4L L4 - Gas, 3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2010_EX, EX-L, LX-S_2.4L L4 - Gas, 3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Accord_2012_EX, EX-L, LX-S_2.4L L4 - Gas, 3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_RDX_2013_2014_2015_Base_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_RDX_2013_2014_2015_Base_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_TSX_2007_2008_Base_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_TSX_2007_2008_Base_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Insight_2010_EX_1.3L L4 - Electric\/Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Insight_2010_EX_1.3L L4 - Electric\/Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Insight_2010_LX_1.3L L4 - Electric\/Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Insight_2010_LX_1.3L L4 - Electric\/Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -5,7 +5,7 @@
#######################################################################
# Supported ECU:
#######################################################################
37805-RC030
37805-RC0-M130
#######################################################################
# Checksum Address Location:
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_TL_2007_Type-S_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_TL_2008_Type-S_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_CR-V_2011_EX, EX-L, LX, SE_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Odyssey_2009_2010_EX, LX_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Odyssey_2007_EX, LX_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Odyssey_2008_EX, LX_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Odyssey_2007_EX-L, Touring_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Odyssey_2009_2010_EX-L, Touring_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Odyssey_2008_EX-L, Touring_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Ridgeline_2009_2010_2011_RT, RTL, RTS_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_RL_2009_2010_Base_3.7L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_RL_2011_2012_Base_3.7L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_TSX_2009_2010_Base_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_TSX_2011_2012_2013_2014_Special Edition_Base_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_TSX_2009_2010_Base_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_TSX_2011_2012_2013_2014_Base, Special Edition_Base_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_TSX_2009_2010_Base_2.4L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_TSX_2010_V6_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Acura_TSX_2011_2012_2013_2014_V6_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Fit_2008_Base, Sport_1.5L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Fit_2007_Base, Sport_1.5L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Fit_2007_Base_1.5L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Fit_2008_Base_1.5L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Fit_2007_Sport_1.5L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Fit_2008_Sport_1.5L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Civic_2009_2010_2011_Hybrid, Hybrid-L_1.3L L4 - Electric\/Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Civic_2006_Hybrid_1.3L L4 - Electric\/Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Pilot_2009_2010_EX, EX-L, LX, Touring_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Pilot_2011_EX, EX-L, LX, Touring_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Pilot_2009_2010_EX, EX-L, LX, Touring_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Pilot_2011_EX, EX-L, LX, Touring_3.5L V6 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -5,7 +5,7 @@
#######################################################################
# Supported ECU:
#######################################################################
37805-RN030
37805-RN0-M130
#######################################################################
# Checksum Address Location:
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Civic_2006_DX, EX, LX_1.8L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Civic_2009_2010_EX-L_1.8L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -0,0 +1,91 @@
#######################################################################
# Honda_Civic_2007_2008_DX, EX, LX_1.8L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################
# Supported ECU:
#######################################################################
37805-RNA-A680
#######################################################################
# Checksum Address Location:
#######################################################################
ChecksumAddress:0x8400
#######################################################################
#######################################################################
#######################################################################
# ROM Parameters Definitions:
#######################################################################
ROMLocationTable:0xDA4A
Name:Speedlimiter
Unit2:KPH
TableSize:1x1
ValueMax:255
# MathTable:X/1.609
#############################
ROMLocationTable:0x136B2
Name:Injector Voltage Compensation
Unit1:Volts
Unit2:ms
TableSize:5x1
MathTable:X*0.002
FormatTable:0.00
ValueMin:-1000
ValueMax:3000
Headers:6.00,8.00,12.00,14.00,16.00
#############################
ROMLocationTable:0xBDE4
Name:Minimum IPW
Unit1:Min IPW
TableSize:1x1
ValueMin:-6
ValueMax:5
ChangeAmount:0.001
MathTable:X*0.002
FormatTable:0.000
#############################
ROMLocationTable:0xF8F8
ROMLocationY:0x10564
Name:Idle Speed
Unit1:Coolant Temp
Unit2:RPM
TableSize:8x1
ValueMin:-1000
ValueMax:4000
ChangeAmount:50
MathY:X/10
#############################
ROMLocationTable:0xF908
ROMLocationY:0x10564
Name:Post Start Idle Speed
Unit1:Coolant Temp
Unit2:RPM
TableSize:8x1
ValueMin:-1000
ValueMax:4000
ChangeAmount:50
MathY:X/10
#############################
ROMLocationTable:0xFC5C
Name:WOT Determiniation 1(TPS)
Unit1:RPM
Unit2:TPS(%)
TableSize:6x1
ValueMin:-50
ValueMax:200
MathTable:X*0.005
FormatTable:0.00
ChangeAmount:1
Headers:1000,2000,3000,4000,5000,6000
#############################
ROMLocationTable:0xFC74
Name:WOT Determiniation 2(TPS)
Unit1:RPM
Unit2:TPS(%)
TableSize:6x1
ValueMin:-50
ValueMax:200
MathTable:X*0.005
FormatTable:0.00
ChangeAmount:1
Headers:1000,2000,3000,4000,5000,6000
#############################

View File

@ -0,0 +1,91 @@
#######################################################################
# Honda_Civic_2009_2010_2011_DX, EX, LX, LX-S_1.8L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################
# Supported ECU:
#######################################################################
37805-RNA-A740
#######################################################################
# Checksum Address Location:
#######################################################################
ChecksumAddress:0x8400
#######################################################################
#######################################################################
#######################################################################
# ROM Parameters Definitions:
#######################################################################
ROMLocationTable:0xD642
Name:Speedlimiter
Unit2:KPH
TableSize:1x1
ValueMax:255
# MathTable:X/1.609
#############################
ROMLocationTable:0x13AFC
Name:Injector Voltage Compensation
Unit1:Volts
Unit2:ms
TableSize:5x1
MathTable:X*0.002
FormatTable:0.00
ValueMin:-1000
ValueMax:3000
Headers:6.00,8.00,12.00,14.00,16.00
#############################
ROMLocationTable:0xC6B4
Name:Minimum IPW
Unit1:Min IPW
TableSize:1x1
ValueMin:-6
ValueMax:5
ChangeAmount:0.001
MathTable:X*0.002
FormatTable:0.000
#############################
ROMLocationTable:0xFF04
ROMLocationY:0xFD68
Name:Idle Speed
Unit1:Coolant Temp
Unit2:RPM
TableSize:8x1
ValueMin:-1000
ValueMax:4000
ChangeAmount:50
MathY:X/10
#############################
ROMLocationTable:0xFF14
ROMLocationY:0xFD68
Name:Post Start Idle Speed
Unit1:Coolant Temp
Unit2:RPM
TableSize:8x1
ValueMin:-1000
ValueMax:4000
ChangeAmount:50
MathY:X/10
#############################
ROMLocationTable:0x100D0
Name:WOT Determiniation 1(TPS)
Unit1:RPM
Unit2:TPS(%)
TableSize:6x1
ValueMin:-50
ValueMax:200
MathTable:X*0.005
FormatTable:0.00
ChangeAmount:1
Headers:1000,2000,3000,4000,5000,6000
#############################
ROMLocationTable:0x100E8
Name:WOT Determiniation 2(TPS)
Unit1:RPM
Unit2:TPS(%)
TableSize:6x1
ValueMin:-50
ValueMax:200
MathTable:X*0.005
FormatTable:0.00
ChangeAmount:1
Headers:1000,2000,3000,4000,5000,6000
#############################

View File

@ -0,0 +1,990 @@
#######################################################################
# Honda_Civic_2009_2010_2011_EX-L_1.8L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################
# Supported ECU:
#######################################################################
37805-RNA-A830
#######################################################################
# Checksum Address Location:
#######################################################################
ChecksumAddress:0x8400
#######################################################################
#######################################################################
#######################################################################
# ROM Parameters Definitions:
#######################################################################
ROMLocationTable:0x0AA07
Name:Secondary oxygen sensor enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0AA0F
Name:VTEC oil pressure switch enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x28E19
Name:System control register 1
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsReadOnly:true
IsUntested:true
#############################
ROMLocationTable:0x0AC66
Name:Start emissions reduction enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x0A570
Name:Default PA value
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x0A580
Name:Maximum MAP voltage
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x0A582
Name:Minimum MAP voltage
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x1282E
Name:Rev limiter
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x1283E
Name:Rev limiter recover
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0B5D0
Name:VTEC rpm window
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0BF6A
Name:Short term fuel trim maximum
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0BF6C
Name:Short term fuel trim minimum
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0AA0B
Name:Second ECT sensor enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x0AA0C
Name:VSA enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0B044
Name:Use MAP to determine WOT
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0A9F7
Name:Cruise control enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0C5CA
Name:Injector phase (idle)
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x0C5EC
Name:Injector phase (after start)
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x0C5EE
Name:Injector phase (warm up)
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x0C5F0
Name:Injector phase (cruise)
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x0C67A
Name:Idle fuel table rpm low
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x0C678
Name:Idle fuel table rpm high
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x0AA16
Name:Immobilizer enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0A42C
Name:Speed adjustment (ECU)
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0D708
Name:Overrev rpm
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x0A423
Name:Speed sensor adjustment
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x3428C
Name:Speed adjustment (dash)
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0A9FF
Name:EPS enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0AA05
Name:Purge/EVAP enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0xA20B8
Name:MAP scalar
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0xA20B4
Name:MAP offset
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0xA2080
Name:Injector size
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0xA2090
Name:Cranking fuel trim
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0xA208C
Name:Overall fuel trim
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x00000
Name:MAP sensor type
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x6AFEA
Name:Driving recorder enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x0B594
Name:Intake runner low
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0B592
Name:Intake runner high
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x10772
Name:Injector flow for fuel economy calc
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x12850
Name:Launch rpm
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x1284C
Name:Launch recover rpm
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0xA2200
Name:Pit lane speed limit enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0xA2202
Name:Pit lane speed limit speed
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0xA2204
Name:Fuel Pressure
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0AA1C
Name:Secondary intake runner enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0A9FD
Name:EGR enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0A9E1
Name:Coil test enabled (P351 P352 P353 P354)
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x0A9D0
Name:Secondary intake runner low rpm error enabled (P1077)
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x47547
Name:Use second coolant temperature sensor for fan control
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0B4DC
Name:Radiator fan on
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0B4E0
Name:Radiator fan off
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0xA20C6
Name:Boost cut enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0xA20C4
Name:Boost cut pressure
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0A9CF
Name:EVAP FTP enabled (P0451 P0452 P0453 P1454)
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0C074
Name:Closed loop target lambda
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0A9BB
Name:PA vs MAP error enabled (P2227)
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0A9E4
Name:EVAP VSV error check enabled (P0498 P0499)
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0A9FE
Name:ELD enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x10776
Name:Injector flow for fuel economy calc index
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0xA20BC
Name:Use MAP fuel tables
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0CFA4
Name:Long term fuel trim maximum
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0CFA6
Name:Long term fuel trim minimum
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0xA22BC
Name:Flash check engine for knock enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0xA20BE
Name:Minimum pressure for speed/density
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0A9BF
Name:Mass or volume circuit range performance problem enabled (P0101)
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0A52C
Name:AFM maximum voltage
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0A52E
Name:AFM minimum voltage
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0A9FB
Name:AFM enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0AA04
Name:Engine oil pressure sensor enabled
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0A9D6
Name:Cold start idle air control system (P050A, P050B)
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0BE60
Name:Speed limiter rpm
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################
ROMLocationTable:0x0BE62
Name:Speed limiter speed
TableSize:1x1
IsSingleByteTable:true
IsNotDefined:true
#############################################################
#############################################################
#############################################################
ROMLocationTable:0xB0078
Name:Ignition low
TableSize:20x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0xB0398
Name:Ignition high
TableSize:20x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x10440
Name:AFM flow
TableSize:64x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0xB06B8
Name:Knock ignition limit low
TableSize:20x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0xB09D8
Name:Knock ignition limit high
TableSize:20x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x13A50
Name:Injector opening time
TableSize:5x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x126F2
Name:Overrun fuel cut delay
TableSize:5x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x13154
Name:Air temperature fuel compensation low flow
TableSize:5x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x1315E
Name:Air temperature fuel compensation medium flow
TableSize:5x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x13168
Name:Air temperature fuel compensation high flow
TableSize:5x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x13172
Name:Air temperature fuel compensation cranking
TableSize:9x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x13142
Unit1:IAT
IsNotDefined:true
#############################
ROMLocationTable:0x1322C
Name:Water temperature fuel compensation low
TableSize:8x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x1325E
Unit1:ECT
IsNotDefined:true
#############################
ROMLocationTable:0x1323C
Name:Water temperature fuel compensation high
TableSize:8x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x1326E
Unit1:ECT
IsNotDefined:true
#############################
ROMLocationTable:0x1324C
Name:Water temperature fuel compensation cranking
TableSize:9x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x1327E
Unit1:ECT
IsNotDefined:true
#############################
ROMLocationTable:0x14B58
Name:Individual cylinder ignition trim
TableSize:4x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x13220
Name:Individual cylinder fuel trim
TableSize:4x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x15166
Name:Air temperature ignition compensation low (MAP<40 kPa)
TableSize:5x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x1515C
Name:Air temperature ignition compensation high (MAP>40 kPa)
TableSize:5x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x151A2
Name:Water temperature ignition compensation hot low
TableSize:5x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x15198
Unit1:ECT
IsNotDefined:true
#############################
ROMLocationTable:0x1518E
Name:Water temperature ignition compensation hot high
TableSize:5x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x15184
Unit1:ECT
IsNotDefined:true
#############################
ROMLocationTable:0x151CA
Name:Water temperature ignition compensation cold low
TableSize:5x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x151C0
Unit1:ECT
IsNotDefined:true
#############################
ROMLocationTable:0x151B6
Name:Water temperature ignition compensation cold high
TableSize:5x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x151AC
Unit1:ECT
IsNotDefined:true
#############################
ROMLocationTable:0x13A14
Name:Cranking fuel
TableSize:5x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x1103C
Name:Target throttle plate
TableSize:15x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x10098
Name:TPS WOT determination low
TableSize:6x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x10080
Name:TPS WOT determination high
TableSize:6x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x102B0
Name:MAP WOT determination pressure
TableSize:7x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x12D84
Name:Purge fuel
TableSize:8x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0xB1FD8
Name:AFM fuel
TableSize:16x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x0FECC
Name:Idle speed (normal)
TableSize:8x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x0FEEC
Unit1:ECT
IsNotDefined:true
#############################
ROMLocationTable:0x0FEDC
Name:Idle speed (after start)
TableSize:8x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x0FEFC
Unit1:ECT
IsNotDefined:true
#############################
ROMLocationTable:0x12908
Name:LAF voltage to lambda
TableSize:15x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0xB0CF8
ROMLocationX:0xB1338
ROMLocationY:0xB1978
Name:WOT lambda adjustment low
TableSize:20x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0xB1018
ROMLocationX:0xB1658
ROMLocationY:0xB1C98
Name:WOT lambda adjustment high
TableSize:20x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x0F3DE
Name:Ignition dwell angle
TableSize:12x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x0F404
Name:Ignition dwell angle voltage compensation
TableSize:7x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x13948
Name:Injector phase (high load)
TableSize:5x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x13952
Name:Injector phase (WOT)
TableSize:5x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x1460E
Name:Ignition retard gear compensation
TableSize:6x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x14660
Unit1:Gear
IsNotDefined:true
#############################
ROMLocationTable:0x1148E
Name:High speed throttle reduction
TableSize:4x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x11486
Unit1:Speed
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x126D8
Name:Overrun cutoff MAP low cam hys low
TableSize:4x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x126D0
Unit1:rpm
IsNotDefined:true
IsReadOnly:true
IsUntested:true
#############################
ROMLocationTable:0x126C8
Name:Overrun cutoff MAP high cam hys low
TableSize:4x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x126C0
Unit1:rpm
IsNotDefined:true
IsReadOnly:true
IsUntested:true
#############################
ROMLocationTable:0x126B8
Name:Overrun cutoff MAP low cam hys high
TableSize:4x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x126B0
Unit1:rpm
IsNotDefined:true
IsReadOnly:true
IsUntested:true
#############################
ROMLocationTable:0x126A8
Name:Overrun cutoff MAP high cam hys high
TableSize:4x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x126A0
Unit1:rpm
IsNotDefined:true
IsReadOnly:true
IsUntested:true
#############################
ROMLocationTable:0x1464E
Name:Ignition retard rpm compensation
TableSize:5x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x14644
Unit1:Rpm
IsNotDefined:true
#############################
ROMLocationTable:0x14606
Name:Ignition retard throttle compensation
TableSize:4x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x14658
Unit1:Throttle
IsNotDefined:true
#############################
ROMLocationTable:0x128D8
Name:Tip in fuel ECT compensation
TableSize:3x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x128E4
Name:Tip in fuel throttle compensation
TableSize:3x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x128DE
Unit1:Throttle
IsNotDefined:true
#############################
ROMLocationTable:0x0FFC8
Name:AFM PLS throttle
TableSize:6x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0x153E0
Name:Knock sensitivity low
TableSize:10x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x15570
Name:Knock sensitivity high
TableSize:10x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x13F24
Name:Knock retard low
TableSize:10x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x13E5C
Name:Knock retard high
TableSize:10x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0x15300
Name:Knock gate start low
TableSize:20x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
IsReadOnly:true
IsUntested:true
#############################
ROMLocationTable:0x15350
Name:Knock gate end low
TableSize:20x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
IsReadOnly:true
IsUntested:true
#############################
ROMLocationTable:0x152D8
Name:Knock gate start high
TableSize:20x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
IsReadOnly:true
IsUntested:true
#############################
ROMLocationTable:0x15328
Name:Knock gate end high
TableSize:20x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
IsReadOnly:true
IsUntested:true
#############################
ROMLocationTable:0x12AF4
Name:Closed loop target lambda low load
TableSize:8x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x12AE4
Unit1:ECT
IsNotDefined:true
#############################
ROMLocationTable:0x12B14
Name:Closed loop target lambda high load
TableSize:8x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x12B04
Unit1:ECT
IsNotDefined:true
#############################
ROMLocationTable:0x12B34
Name:Closed loop target lambda limit
TableSize:8x20
ValueMin:-32768
ValueMax:32768
ROMLocationY:0x12B24
Unit1:ECT
IsNotDefined:true
#############################
ROMLocationTable:0x151E6
Name:Water temperature ignition retard
TableSize:5x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
IsUntested:true
#############################
ROMLocationTable:0xB2028
Name:Fuel low
TableSize:20x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################
ROMLocationTable:0xB2348
Name:Fuel high
TableSize:20x20
ValueMin:-32768
ValueMax:32768
IsNotDefined:true
#############################

View File

@ -0,0 +1,91 @@
#######################################################################
# Honda_Civic_2009_2010_2011_EX-L_1.8L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################
# Supported ECU:
#######################################################################
37805-RNA-A840
#######################################################################
# Checksum Address Location:
#######################################################################
ChecksumAddress:0x8400
#######################################################################
#######################################################################
#######################################################################
# ROM Parameters Definitions:
#######################################################################
ROMLocationTable:0xD642
Name:Speedlimiter
Unit2:KPH
TableSize:1x1
ValueMax:255
# MathTable:X/1.609
#############################
ROMLocationTable:0x13AFC
Name:Injector Voltage Compensation
Unit1:Volts
Unit2:ms
TableSize:5x1
MathTable:X*0.002
FormatTable:0.00
ValueMin:-1000
ValueMax:3000
Headers:6.00,8.00,12.00,14.00,16.00
#############################
ROMLocationTable:0xC6B4
Name:Minimum IPW
Unit1:Min IPW
TableSize:1x1
ValueMin:-6
ValueMax:5
ChangeAmount:0.001
MathTable:X*0.002
FormatTable:0.000
#############################
ROMLocationTable:0xFF04
ROMLocationY:0xFD68
Name:Idle Speed
Unit1:Coolant Temp
Unit2:RPM
TableSize:8x1
ValueMin:-1000
ValueMax:4000
ChangeAmount:50
MathY:X/10
#############################
ROMLocationTable:0xFF14
ROMLocationY:0xFD68
Name:Post Start Idle Speed
Unit1:Coolant Temp
Unit2:RPM
TableSize:8x1
ValueMin:-1000
ValueMax:4000
ChangeAmount:50
MathY:X/10
#############################
ROMLocationTable:0x100D0
Name:WOT Determiniation 1(TPS)
Unit1:RPM
Unit2:TPS(%)
TableSize:6x1
ValueMin:-50
ValueMax:200
MathTable:X*0.005
FormatTable:0.00
ChangeAmount:1
Headers:1000,2000,3000,4000,5000,6000
#############################
ROMLocationTable:0x100E8
Name:WOT Determiniation 2(TPS)
Unit1:RPM
Unit2:TPS(%)
TableSize:6x1
ValueMin:-50
ValueMax:200
MathTable:X*0.005
FormatTable:0.00
ChangeAmount:1
Headers:1000,2000,3000,4000,5000,6000
#############################

View File

@ -0,0 +1,84 @@
#######################################################################
# Honda_Civic_2006_2007_2008_2009_2010_2011_GX_1.8L L4 - CNG
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################
# Supported ECU:
#######################################################################
37805-RNE-A550
#######################################################################
# Checksum Address Location:
#######################################################################
ChecksumAddress:0x8400
#######################################################################
#######################################################################
#######################################################################
# ROM Parameters Definitions:
#######################################################################
ROMLocationTable:0x125BE
Name:Injector Voltage Compensation
Unit1:Volts
Unit2:ms
TableSize:5x1
MathTable:X*0.002
FormatTable:0.00
ValueMin:-1000
ValueMax:3000
Headers:6.00,8.00,12.00,14.00,16.00
#############################
ROMLocationTable:0xC3F0
Name:Minimum IPW
Unit1:Min IPW
TableSize:1x1
ValueMin:-6
ValueMax:5
ChangeAmount:0.001
MathTable:X*0.002
FormatTable:0.000
#############################
ROMLocationTable:0xF604
ROMLocationY:0xF404
Name:Idle Speed
Unit1:Coolant Temp
Unit2:RPM
TableSize:8x1
ValueMin:-1000
ValueMax:4000
ChangeAmount:50
MathY:X/10
#############################
ROMLocationTable:0xF614
ROMLocationY:0xF404
Name:Post Start Idle Speed
Unit1:Coolant Temp
Unit2:RPM
TableSize:8x1
ValueMin:-1000
ValueMax:4000
ChangeAmount:50
MathY:X/10
#############################
ROMLocationTable:0xF7D0
Name:WOT Determiniation 1(TPS)
Unit1:RPM
Unit2:TPS(%)
TableSize:6x1
ValueMin:-50
ValueMax:200
MathTable:X*0.005
FormatTable:0.00
ChangeAmount:1
Headers:1000,2000,3000,4000,5000,6000
#############################
ROMLocationTable:0xF7E8
Name:WOT Determiniation 2(TPS)
Unit1:RPM
Unit2:TPS(%)
TableSize:6x1
ValueMin:-50
ValueMax:200
MathTable:X*0.005
FormatTable:0.00
ChangeAmount:1
Headers:1000,2000,3000,4000,5000,6000
#############################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Fit_2009_Base, Sport_1.5L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

View File

@ -1,5 +1,5 @@
#######################################################################
#######################################################################
# Honda_Fit_2009_Base_1.5L L4 - Gas
# THIS FILE AS BEEN GENERATED AUTOMATICLY, ROM LOCATIONS CAN BE WRONG
#######################################################################
#######################################################################

Some files were not shown because too many files have changed in this diff Show More