c_mrs3kw.prg
INFO
| Field | Value |
|---|---|
| ECU | C_SGBD MRS3 R40 |
| ORIGIN | EE-62 D.Gamble |
| REVISION | 1.07 |
| AUTHOR | Rover EE-R-42 Andrew Mellett, Rover SSL A.Hoddinott, EE-62 D.Gamble |
| COMMENT | KW2000 and KW2000* support |
| PACKAGE | N/A |
| SPRACHE | English |
Jobs
Index
- INFO - Info fuer Anwender
- INITIALISIERUNG - Init-Job fuer Grundmodul V automatischer Aufruf beim ersten Zugriff auf SGBD
- SET_KWP_MODE - Sets the communication mode
- READ_KWP_MODE
- GET_KEYBYTES
- IDENT - Ident-Daten fuer GM VI
- SECURITY_ACCESS - Ident-Daten fuer GM VI
- DIAGNOSE_ENDE - Diagnose beenden
- C_FG_LESEN - Auslesen der Fahrgestellnummer
- C_FG_AUFTRAG - Beschreiben der red. Datenablage mit der FG-Nummer
- C_C_LESEN - Codierdaten lesen
- C_C_AUFTRAG - Codierdaten schreiben und verifizieren
- C_CODINGDATE_READ - Read out date that ECU was Configured
- C_CODINGDATE_WRITE - Beschreiben der red. Datenablage mit der FG-Nummer
- C_ZCS_LESEN - Auslesen des Zentralen Codierschluessels aus Flash
- C_ZCS_AUFTRAG - Schreiben des Zentralen Codierschluessels in die KD-Daten
- ENDE - Called automatically when closing C_SGBD
INFO
Info fuer Anwender
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| ECU | string | Steuergerat im Klartext |
| ORIGIN | string | Steuergeraete-Verantwortlicher |
| REVISION | string | Versions-Nummer |
| AUTHOR | string | Namen aller Autoren |
| COMMENT | string | wichtige Hinweise |
| SPRACHE | string | deutsch / english |
INITIALISIERUNG
Init-Job fuer Grundmodul V automatischer Aufruf beim ersten Zugriff auf SGBD
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| DONE | int | 1 wenn Okay |
SET_KWP_MODE
Sets the communication mode
Arguments
| Name | Type | Comment |
|---|---|---|
| MODE | int | 1 - KW2000, 2 - KW2000. KW2000 if omitted |
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, wenn fehlerfrei table JobResult STATUS_TEXT |
READ_KWP_MODE
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, wenn fehlerfrei table JobResult STATUS_TEXT |
| MODE | int | KWP mode (1 - Keyword 2000*, 2- Keyword 2000) |
| MODE_STRING | string | KWP mode |
GET_KEYBYTES
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, wenn fehlerfrei table JobResult STATUS_TEXT |
| ANTWORT | binary | Hex-Antwort von SG |
IDENT
Ident-Daten fuer GM VI
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | Status der Kommunikation table JobResult STATUS_TEXT |
| ID_BMW_NR | string | BMW-Teilenummer |
| 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 | int | Herstelldatum KW |
| ID_LIEF_NR | int | Lieferanten-Nummer |
| ID_LIEF_TEXT | string | Lieferanten-Text table Lieferanten LIEF_TEXT |
| ID_SW_NR | int | Softwarenummer |
| _TEL_ANTWORT | binary |
SECURITY_ACCESS
Ident-Daten fuer GM VI
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | Status der Kommunikation table JobResult STATUS_TEXT |
| _TEL_ANTWORT1 | binary | |
| _TEL_ANTWORT2 | binary | |
| _TEL_ANTWORT3 | binary |
DIAGNOSE_ENDE
Diagnose beenden
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, ERROR_.. |
| _TEL_ANTWORT | binary |
C_FG_LESEN
Auslesen der Fahrgestellnummer
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | Status der Kommunikation |
| FG_NR | string | Fahrgestellnummer |
| _TEL_ANTWORT | binary |
C_FG_AUFTRAG
Beschreiben der red. Datenablage mit der FG-Nummer
Arguments
| Name | Type | Comment |
|---|---|---|
| FG_NR | string | Fahrgestellnummer (18-stellig) |
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, ERROR_.. |
| _TEL_ANTWORT1 | binary | |
| _TEL_ANTWORT2 | binary |
C_C_LESEN
Codierdaten lesen
Arguments
| Name | Type | Comment |
|---|---|---|
| BINAER_BUFFER | binary | Codierdaten |
Results
| Name | Type | Comment |
|---|---|---|
| CODIER_DATEN | binary | Codierdaten |
| JOB_STATUS | string | OKAY, ERROR_.. |
| _TEL_ANTWORT | binary |
C_C_AUFTRAG
Codierdaten schreiben und verifizieren
Arguments
| Name | Type | Comment |
|---|---|---|
| BINAER_BUFFER | binary | Codierdaten |
Results
| Name | Type | Comment |
|---|---|---|
| _TEL_ANTWORT | binary | |
| JOB_STATUS | string | OKAY, ERROR_.. |
C_CODINGDATE_READ
Read out date that ECU was Configured
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | Status der Kommunikation |
| CODINGDATE | string | Fahrgestellnummer |
| _TEL_ANTWORT | binary |
C_CODINGDATE_WRITE
Beschreiben der red. Datenablage mit der FG-Nummer
Arguments
| Name | Type | Comment |
|---|---|---|
| CODINGDATE | string | Coding date (yy, mm, dd in ASCII) |
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, ERROR_.. |
| _TEL_ANTWORT | binary |
C_ZCS_LESEN
Auslesen des Zentralen Codierschluessels aus Flash
No arguments.
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, ERROR_.. |
| GM | string | Zentralcode C1 - Grundmerkmal (8 ASCII nos + 1 ASCII c/sum) |
| SA | string | Zentralcode C2 - Sonderausstattung (16 ASCII nos + 1 ASCII c/sum) |
| VN | string | Zentralcode C3 - Versionsmerkmal (10 ASCII nos + 1 ASCII c/sum) |
| _TEL_ANTWORT1 | binary | |
| _TEL_ANTWORT2 | binary |
C_ZCS_AUFTRAG
Schreiben des Zentralen Codierschluessels in die KD-Daten
Arguments
| Name | Type | Comment |
|---|---|---|
| GM | string | Zentralcode C1 - Grundmerkmal (8 ASCII nos + 1 ASCII c/sum) |
| SA | string | Zentralcode C2 - Sonderausstattung (16 ASCII nos + 1 ASCII c/sum) |
| VN | string | Zentralcode C3 - Versionsmerkmal (10 ASCII nos + 1 ASCII c/sum) |
Results
| Name | Type | Comment |
|---|---|---|
| JOB_STATUS | string | OKAY, ERROR_.. |
| _TEL_ANTWORT1 | binary | |
| _TEL_ANTWORT2 | binary | |
| _TEL_ANTWORT3 | binary | |
| _TEL_ANTWORT4 | binary |
ENDE
Called automatically when closing C_SGBD
No arguments.
No results.
Tables
Index
- JOBRESULT (63 × 2)
- LIEFERANTEN (27 × 2)
JOBRESULT
Dimensions: 63 rows × 2 columns
| SB | STATUS_TEXT |
|---|---|
| 0x10 | ERROR_ECU_GENERAL_REJECT |
| 0x11 | ERROR_ECU_SERVICE_NOT_SUPPORTED |
| 0x12 | ERROR_ECU_SUBFUNCTION_NOT_SUPPORTED__INVALID_FORMAT |
| 0x21 | ERROR_ECU_BUSY_REPEAT_REQUEST |
| 0x22 | ERROR_ECU_CONDITIONS_NOT_CORRECT_OR_REQUEST_SEQUENCE_ERROR |
| 0x23 | ERROR_ECU_ROUTINE_NOT_COMPLETE |
| 0x31 | ERROR_ECU_REQUEST_OUT_OF_RANGE |
| 0x33 | ERROR_ECU_SECURITY_ACCESS_DENIED__SECURITY_ACCESS_REQUESTED |
| 0x36 | ERROR_ECU_EXCEED_NUMBER_OF_ATTEMPTS |
| 0x37 | ERROR_ECU_REQUIRED_TIME_DELAY_NOT_EXPIRED |
| 0x40 | ERROR_ECU_DOWNLOAD_NOT_ACCEPTED |
| 0x41 | ERROR_ECU_IMPROPER_DOWNLOAD_TYPE |
| 0x42 | ERROR_ECU_CANNOT_DOWNLOAD_TO_SPECIFIED_ADDRESS |
| 0x43 | ERROR_ECU_CANNOT_DOWNLOAD_NUMBER_OF_BYTES_REQUESTED |
| 0x50 | ERROR_ECU_UPLOAD_NOT_ACCEPTED |
| 0x51 | ERROR_ECU_IMPROPER_UPLOAD_TYPE |
| 0x52 | ERROR_ECU_CANNOT_UPLOAD_FROM_SPECIFIED_ADDRESS |
| 0x53 | ERROR_ECU_CANNOT_UPLOAD_NUMBER_OF_BYTES_REQUESTED |
| 0x71 | ERROR_ECU_TRANSFER_SUSPENDED |
| 0x72 | ERROR_ECU_TRANSFER_ABORTED |
| 0x74 | ERROR_ECU_ILLEGAL_ADDRESS_IN_BLOCK_TRANSFER |
| 0x75 | ERROR_ECU_ILLEGAL_BYTE_COUNT_IN_BLOCK_TRANSFER |
| 0x76 | ERROR_ECU_ILLEGAL_BLOCK_TRANSFER_TYPE |
| 0x77 | ERROR_ECU_BLOCKTRANSFER_DATA_CHECKSUM_ERROR |
| 0x78 | ERROR_ECU_REQUEST_CORRECTLY_RECEIVED__RESPONSE_PENDING |
| 0x79 | ERROR_ECU_INCORRECT_BYTE_COUNT_DURING_BLOCK_TRANSFER |
| 0x80 | ERROR_ECU_SERVICE_NOT_SUPPORTED_IN_ACTIVE_DIAGNOSTIC_MODE |
| ?00? | OKAY |
| ?02? | ERROR_ECU_INCORRECT_RESPONSE_ID |
| ?10? | ERROR_F_CODE |
| ?11? | ERROR_TABLE |
| ?12? | ERROR_INTERPRETATION |
| ?20? | ERROR_SEGMENT |
| ?21? | ERROR_ADDRESS |
| ?22? | ERROR_NUMBER |
| ?30? | ERROR_DATA |
| ?40? | ERROR_MODE |
| ?50? | ERROR_BYTE1 |
| ?51? | ERROR_BYTE2 |
| ?52? | ERROR_BYTE3 |
| ?60? | ERROR_DATA_OUT_OF_RANGE |
| ?70? | ERROR_NUMBER_ARGUMENT |
| ?71? | ERROR_RANGE_ARGUMENT |
| ?72? | ERROR_VERIFY |
| ?73? | ERROR_NO_BIN_BUFFER |
| ?74? | ERROR_BIN_BUFFER |
| ?75? | ERROR_DATA_TYPE |
| ?80? | ERROR_FLASH_SIGNATURE_CHECK |
| ?81? | ERROR_VIHICLE_IDENTFICATON_NR |
| ?82? | ERROR_PROGRAMMING_DATE |
| ?83? | ERROR_ASSEMBLY_NR |
| ?84? | ERROR_CALIBRATION_DATASET_NR |
| ?85? | ERROR_EXHAUST_REGULATION_OR_TYPE_APPROVAL_NR |
| ?86? | ERROR_REPAIR_SHOP_NR |
| ?87? | ERROR_TESTER_SERIAL_NR |
| ?88? | ERROR_MILAGE |
| ?89? | ERROR_PROGRAMMING_REFERENCE |
| ?8A? | ERROR_LARGE_UIF_FOUND |
| ?8B? | ERROR_SMALL_UIF_FOUND |
| ?8C? | ERROR_NO_FREE_UIF |
| ?8D? | ERROR_MAX_UIF |
| ?F0? | ERROR_ARGUMENT |
| 0xXY | ERROR_ECU_UNKNOWN_NEGATIVE_RESPONSE |
LIEFERANTEN
Dimensions: 27 rows × 2 columns
| LIEF_NR | LIEF_TEXT |
|---|---|
| 0x01 | Reinshagen |
| 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 |
| 0xXY | unbekannter Hersteller |