02EMS2K.PRG
INFO
| Field | Value |
|---|---|
| ECU | EMS2000 |
| ORIGIN | Rover EE-R-45 John Longvill |
| REVISION | 0.2 |
| AUTHOR | Softing GmbH, AR/BG5 |
| COMMENT | Kennfeldprogrammierung KWP2000*/Flash EMS2000 |
| PACKAGE | N/A |
| SPRACHE | deutsch |
Jobs
Index
- INITIALISIERUNG - Initialisierung und Kommunikationsparameter
- INFO - Information SGBD
- IDENT - Ident-Daten fuer EMS2000
- AIF_LESEN - Auslesen des Anwender-Info-Feldes
- START_DIAGNOSTIC_SESSION - Begins a diagnostic session
- START_DIAGNOSTIC_SESSION_HIGHBAUD - Begins a diagnostic session with fast baudrate
- START_DIAGNOSTIC_SESSION_LOWBAUD - Begins a diagnostic session with low baudrate
- STOP_DIAGNOSTIC_SESSION - Ends a diagnostic session
- SG_RESET - Reset the ECU
- SEED_KEY - Obtain security access to the ECU
- ACCESS_TIMING_PARAMETERS - Diagnosemode des SG beenden
- FLASH_SCHREIBEN_ADRESSE - Request download
- FLASH_SCHREIBEN - Transfer data to the ECU
- FLASH_SCHREIBEN_ENDE - Exit data transfer
- AIF_SCHREIBEN - Beschreiben des Anwender-Info-Feldes
- HWNR_SCHREIBEN - Write the current HwNr
- STATUS_LESEN - Status
- STATUS_CODIER_CHECKSUMME - Status
- CHECK_REPROG_DEPENDING - Status
- FLASH_LOESCHEN - Flash - Zellen loeschen
- BLOCKLAENGE_MAX - maximale Blocklaenge
- FS_LOESCHEN - Clears All Faults
- DATEN_REFERENZ - Job DATEN-Referenz
- HW_REFERENZ - Job HW-Referenz
- ZIF - Job ZIF
- ZIF_BACKUP - Job ZIF_BACKUP
- UPROG_LESEN - Programmierspannung auslesen
- BAUDRATEN_LESEN - Baudratentabelle auslesen
INITIALISIERUNG
Initialisierung und Kommunikationsparameter
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| DONE | int | 1, wenn Okay |
INFO
Information SGBD
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| ECU | string | Steuergeraet im Klartext |
| ORIGIN | string | Steuergeraete-Verantwortlicher |
| REVISION | string | Versions-Nummer |
| AUTHOR | string | Name aller Autoren |
| COMMENT | string | wichtige Hinweise |
| SPRACHE | string | deutsch, english |
IDENT
Ident-Daten fuer EMS2000
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| ID_ORIG_BMW_NR | string | Urspruenglich BMW-Teilenummer Original BMW part number |
| ID_BMW_NR | string | Zurzeit BMW-Teilenummer Current BMW part number |
| ID_HW_NR | int | BMW-Hardwarenummer |
| ID_COD_INDEX | int | Codier-Index |
| ID_DIAG_INDEX | int | Diagnose-Index |
| ID_BUS_INDEX | int | Bus-Index |
| ID_DATUM_TAG | int | Herstelldatum tag Day of manufacture |
| ID_DATUM_MON | int | Herstelldatum monat Month of manufacture |
| ID_DATUM_JAHR | int | Herstelldatum Jahr Year of manufacture |
| ID_LIEF_NR | int | Lieferanten-Nummer Supplier code |
| ID_LIEF_TEXT | string | Lieferanten-Text Supplier Name |
| ID_SW_NR | int | Softwarenummer |
| ID_AIF_VORHANDEN | int | Ist ein AIF vorhanden (0 (nein)/ 1 (ja)) Is AIF data available 0=no 1=yes |
| ID_LAMBDA_STEREO | int | Parameter fuer MoTest 0=Mono, 1=STEREO Single or dual oxygen sensors |
| ID_EML | int | Parameter fuer MoTest 0=Kein EML verb, 1=EML M70, 2=EML M73 |
| ID_LU_MESSUNG | int | Parameter fuer MoTest 1=Laufunruhemessung, sonst 0 |
| ID_OBD2 | int | Parameter fuer MoTest 0=ECE, 1=OBD2-Fahrzeug |
| ID_SG_HERSTELLER | int | Parameter fuer MoTest 0=Bosch, 1=Siemens-Fahrzeug |
| ID_MOTOR | string | Parameter fuer MoTest Motorkennung |
| ID_PROD_NR | string | AR, Produktionsnummer |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response packet |
| JOB_STATUS | string | Status der Kommunikation - OKAY, wenn fehlerfrei table JobResult STATUS_TEXT |
AIF_LESEN
Auslesen des Anwender-Info-Feldes
Arguments
| Name | Type | Comment |
|---|---|---|
| AIF_NUMMER | int | Nummer des zu lesenden AIF's >=1. 0 bedeutet aktuelles AIF, auf das ein freies AIF folgt |
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | |
| AIF_ADRESSE_HIGH | int | AIF Adresse, naechste (freie), high-word |
| AIF_ADRESSE_LOW | int | AIF Adresse, naechste (freie), low-word |
| AIF_ANZ_FREI | int | Anzahl noch vorhandener (freier) AIF-Eintraege |
| AIF_FG_NR | string | Fahrgestellnummer |
| AIF_DATUM | string | Fertigungsdatum |
| AIF_AENDERUNGS_INDEX | string | Aenderungsindex |
| AIF_SW_NR | string | Softwarenummer |
| AIF_BEHOERDEN_NR | string | Behoerdennummer |
| AIF_ZB_NR | string | Zusammenbaunummer |
| AIF_SERIEN_NR | string | Seriennummer |
| AIF_HAENDLER_NR | string | Haendlernummer |
| AIF_KM | string | Kilometerstand |
| AIF_PROG_NR | string | Programmstandsnummer |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
START_DIAGNOSTIC_SESSION
Begins a diagnostic session
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, wenn fehlerfrei table JobResult STATUS_TEXT |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
START_DIAGNOSTIC_SESSION_HIGHBAUD
Begins a diagnostic session with fast baudrate
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, wenn fehlerfrei table JobResult STATUS_TEXT |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
START_DIAGNOSTIC_SESSION_LOWBAUD
Begins a diagnostic session with low baudrate
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, wenn fehlerfrei table JobResult STATUS_TEXT |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
STOP_DIAGNOSTIC_SESSION
Ends a diagnostic session
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, wenn fehlerfrei table JobResult STATUS_TEXT |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
SG_RESET
Reset the ECU
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, wenn fehlerfrei table JobResult STATUS_TEXT |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
SEED_KEY
Obtain security access to the ECU
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, wenn fehlerfrei table JobResult STATUS_TEXT |
| _TEL_ANTWORT1 | binary | Hex-Antwort von SG ECU response as a hex string |
| _TEL_ANTWORT2 | binary | Hex-Antwort von SG |
ACCESS_TIMING_PARAMETERS
Diagnosemode des SG beenden
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, wenn fehlerfrei |
| P2_MIN | unsigned int | Minimum time between tester request and ECU response |
| P2_MAX | unsigned int | Maximum time between tester request and ECU response |
| P3_MIN | unsigned int | Minimum time between ECU response and tester request |
| P3_MAX | unsigned int | Maximum time between ECU response and tester request |
| P4_MIN | unsigned int | Minimum inter byte time for tester request |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
FLASH_SCHREIBEN_ADRESSE
Request download
Arguments
| Name | Type | Comment |
|---|---|---|
| BINAER_BUFFER | binary | Programmierdaten: enthalten Adressinfo |
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, wenn fehlerfrei table JobResult STATUS_TEXT |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
FLASH_SCHREIBEN
Transfer data to the ECU
Arguments
| Name | Type | Comment |
|---|---|---|
| DATA | binary | Data to transfer to the ECU |
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, wenn fehlerfrei table JobResult STATUS_TEXT |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
FLASH_SCHREIBEN_ENDE
Exit data transfer
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, wenn fehlerfrei table JobResult STATUS_TEXT |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
AIF_SCHREIBEN
Beschreiben des Anwender-Info-Feldes
Arguments
| Name | Type | Comment |
|---|---|---|
| AIF_FG_NR | string | Fahrgestellnummer |
| AIF_DATUM | string | Fertigungsdatum |
| AIF_AENDERUNGS_INDEX | string | Aenderungsindex |
| AIF_SW_NR | string | Softwarenummer |
| AIF_BEHOERDEN_NR | string | Behoerdennummer |
| AIF_ZB_NR | string | Zusammenbaunummer |
| AIF_SERIEN_NR | string | Seriennummer |
| AIF_HAENDLER_NR | string | Haendlernummer |
| AIF_KM | string | Kilometerstand |
| AIF_PROG_NR | string | Programmstandsnummer |
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
HWNR_SCHREIBEN
Write the current HwNr
Arguments
| Name | Type | Comment |
|---|---|---|
| PROG_HWNR | string | Fahrgestellnummer VIN |
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | Status der Kommunikation (z.B. ACK) |
STATUS_LESEN
Status
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | "OKAY", wenn fehlerfrei |
| SG_STATUS | int | nichts |
STATUS_CODIER_CHECKSUMME
Status
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | "OKAY", wenn fehlerfrei |
| STATUS_CHECKSUMME_WERT | int | nichts |
CHECK_REPROG_DEPENDING
Status
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | "OKAY", wenn fehlerfrei |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
FLASH_LOESCHEN
Flash - Zellen loeschen
Arguments
| Name | Type | Comment |
|---|---|---|
| PROG_MODE | int | 1 = Daten, 2=Programm |
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | "OKAY", wenn fehlerfrei |
| FLASH_LOESCHEN_STATUS | int | nichts |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
BLOCKLAENGE_MAX
maximale Blocklaenge
Arguments
| Name | Type | Comment |
|---|---|---|
| BINAER_BUFFER | binary | Programmierdaten: enthalten Adressinfo |
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | "OKAY", wenn fehlerfrei |
| BLOCKLAENGE_MAX_WERT | int | Blocklaenge fuer Telegramm |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
FS_LOESCHEN
Clears All Faults
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response packet |
| JOB_STATUS | string | Status der Kommunikation - OKAY, wenn fehlerfrei table JobResult STATUS_TEXT |
DATEN_REFERENZ
Job DATEN-Referenz
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | "OKAY", wenn fehlerfrei |
| DATEN_REF_SG_KENNUNG | string | SG-Kennung z.B. 011 fuer BMW |
| DATEN_REF_PROJEKT | string | Projektkennzeichnung |
| DATEN_REF_PROGRAMM_STAND | string | Programmstand |
| DATEN_REF_DATENSATZ | string | Datensatzkennung |
| DATEN_REF_STATUS | int | Dateninhalt bei FF noch nicht beschrieben |
HW_REFERENZ
Job HW-Referenz
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | "OKAY", wenn fehlerfrei |
| HW_REF_SG_KENNUNG | string | SG-Kennung z.B. 011 fuer BMW |
| HW_REF_PROJEKT | string | Projektkennzeichnung |
| HW_REF_STATUS | int | Dateninhalt bei FF noch nicht beschrieben |
ZIF
Job ZIF
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | "OKAY", wenn fehlerfrei |
| ZIF_SG_KENNUNG | string | SG-Kennung z.B. 011 fuer BMW |
| ZIF_PROJEKT | string | Projektkennzeichnung |
| ZIF_PROGRAMM_STAND | string | Programmstand |
| ZIF_BMW_HW | string | BMW HW |
| ZIF_BMW_PST | string | BMW Programmstand |
| ZIF_STATUS | int | Dateninhalt bei FF noch nicht beschrieben |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
ZIF_BACKUP
Job ZIF_BACKUP
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | "OKAY", wenn fehlerfrei |
| ZIF_BACKUP_SG_KENNUNG | string | |
| ZIF_BACKUP_PROJEKT | string | Projektkennzeichnung |
| ZIF_BACKUP_PROGRAMM_STAND | string | Programmstand |
| ZIF_BACKUP_BMW_HW | string | BMW HW |
| ZIF_BACKUP_BMW_PST | string | BMW Programmstand |
| ZIF_BACKUP_STATUS | int | Dateninhalt bei FF noch nicht beschrieben |
| _TEL_ANTWORT | binary | Hex-Antwort von SG ECU response as a hex string |
UPROG_LESEN
Programmierspannung auslesen
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | "OKAY", wenn fehlerfrei |
| STATUS_UPROG_WERT | string | Programmierspannung als Info zurueck |
| STATUS_UPROG_EINH | string | Einheit V |
BAUDRATEN_LESEN
Baudratentabelle auslesen
Arguments
| Name | Type | Comment |
|---|---|---|
| BAUDRATE_NUMMER | int | Nummer der zu lesenden Baudrate |
Results
| Name | Type | Comment |
|---|---|---|
| BAUDRATE | string | Baudrate 0....125000 "" heisst Tabellenende gelesen |
| JOB_STATUS | string | "OKAY", wenn fehlerfrei |
Tables
Index
- JOBRESULT (23 × 2)
- LIEFERANTEN (45 × 2)
JOBRESULT
Dimensions: 23 rows × 2 columns
| SB | STATUS_TEXT |
|---|---|
| 0x10 | ERROR_ECU_GENERAL_REJECT |
| 0x11 | @SERVICE NOT SUPPORTED@ |
| 0x12 | @SUB-FUNCTION NOT SUPPORTED@ |
| 0x22 | @CONDITION NOT CORRECT@ |
| 0x31 | @REQUEST OUT OF RANGE@ |
| 0x33 | @SECURITY ACCESS DENIED / REQUIRED@ |
| 0x35 | @INVALID KEY@ |
| 0x36 | @EXCEEDED NUMBER OF ATTEMPTS@ |
| 0x37 | @REQUIRED TIME DELAY NOT EXPIRED@ |
| 0x40 | @DOWNLOAD NOT ACCEPTED@ |
| 0x41 | @IMPROPER DOWNLOAD TYPE@ |
| 0x42 | @CANNOT DOWNLOAD TO SPECIFIED ADDRESS@ |
| 0x50 | @UPLOAD NOT ACCEPTED@ |
| 0x52 | @CANNOT UPLOAD FROM SPECIFIED ADDRESS@ |
| 0x53 | @CANNOT UPLOAD NUMBER OF BYTES REQUESTED@ |
| 0x78 | @REQUEST CORRECTLY RECEIVED - RESPONSE PENDING@ |
| 0x79 | @INCORRECT BYTE COUNT DURING BLOCK TRANSFER@ |
| 0x80 | @SERVICE NOT SUPPORTED IN CURRENT DIAGNOSTIC MODE@ |
| 0x90 | @OPERATION NOT PERFORMED@ |
| 0x91 | @INCORRECT MESSAGE FORMAT@ |
| 0xA0 | OKAY |
| 0xFF | ERROR_ECU_NACK |
| 0x00 | ERROR_ECU_UNKNOWN_STATUSBYTE |
LIEFERANTEN
Dimensions: 45 rows × 2 columns
| LIEF_NR | LIEF_TEXT |
|---|---|
| 0x01 | Reinshagen / Delphi |
| 0x02 | Kostal |
| 0x03 | Hella |
| 0x04 | Siemens |
| 0x05 | Eaton |
| 0x06 | UTA |
| 0x07 | Helbako |
| 0x08 | Bosch |
| 0x09 | Loewe |
| 0x10 | VDO |
| 0x11 | Valeo |
| 0x12 | MBB |
| 0x13 | Kammerer |
| 0x14 | SWF |
| 0x15 | Blaupunkt |
| 0x16 | Philips |
| 0x17 | Alpine |
| 0x18 | Teves |
| 0x19 | Elektromatik Suedafrika |
| 0x20 | Becker |
| 0x21 | Preh |
| 0x22 | Alps |
| 0x23 | Motorola |
| 0x24 | Temic |
| 0x25 | Webasto |
| 0x26 | MotoMeter |
| 0x27 | Delphi PHI |
| 0x28 | DODUCO |
| 0x29 | DENSO |
| 0x30 | NEC |
| 0x31 | DASA |
| 0x32 | Pioneer |
| 0x33 | Jatco |
| 0x34 | Fuba |
| 0x35 | UK-NSI |
| 0x36 | AABG |
| 0x37 | Dunlop |
| 0x38 | Sachs |
| 0x39 | ITT |
| 0x40 | FTE |
| 0x41 | Megamos |
| 0x42 | TRW |
| 0x43 | Wabco |
| 0x44 | ISAD Electronic Systems |
| 0xFF | @unbekannter Hersteller@ |