1993-2011 General Motors Company, GM Customer Care & Aftersales. All Rights Reserved.
Page
1
Service Programming System (SPS)
Interpreter
Programmers Reference Manual
Creation Date: March 1, 1993
Version Date: April 01, 2011
Authoring Group: GM Customer Care & Aftersales - Product
Engineering
Document Name: “Interpreters_April_01_2011.docx”
The information contained
within this document
is proprietary to General Motors Company (GM)
CameraLoops.com
1993-2011 General Motors Company, GM Customer Care & Aftersales. All Rights Reserved.
Page
2
Table of Contents
Service Programming System (SPS) ................................................................................................................... 1
Table of Contents ................................................................................................................................................. 2
Overview .............................................................................................................................................................. 6
Utility File Structure .............................................................................................................................................. 7
Format of Header Information ....................................................................................................................... 8
Format of Interpreter Instructions .................................................................................................................. 9
Device (ECU) Specific Control Routines and/or Service Request Data Routines ............................................. 10
Reprogramming Algorithm Overview ................................................................................................................. 11
Additional Utility File Information - Best Practices and recommendations ......................................................... 12
Programming Storage Buffers
– Recommended Usage ................................................................................... 15
Interpreter 0 - UART Communications Programming Op-Codes ...................................................................... 16
UART Support for No Communication Faults .............................................................................................. 17
UART Return Type Processing ................................................................................................................... 18
00 Op-Code: Enable Normal Communications ........................................................................................... 19
01 Op-Code: Request message from the device ........................................................................................ 20
02 Op-Code: Request memory dump from the device using Mode 2 (Saturn EEPROM) ........................... 21
03 Op-Code: Verify programming of a EEPROM device (NAO EEPROM) ................................................. 23
04 Op-Code: Device control - Mode 4 ......................................................................................................... 24
05 Op-Code: Ram download request - Mode 5 ........................................................................................... 26
08 Op-Code: Disable Normal Communications ........................................................................................... 27
09 Op-Code: Enable Normal Communications ........................................................................................... 28
0A Op-Code: Clear Trouble Codes - Mode 10 ............................................................................................ 29
0C Op-Code: Program EEPROM - Mode 12 ............................................................................................... 30
0D Op-Code: Perform Security - Mode 13 ................................................................................................... 32
20 Op-Code: Receive a normal mode message from device ...................................................................... 33
A3 Op-Code Read Data from Specified Sequential Addresses (Electric Vehicle) Mode 3 ......................... 34
C0 Op-Code: Download Routine to RAM and Execute using Mode 6 ......................................................... 35
C1 Op-Code: Download Routine to RAM and Execute using Mode 16 ....................................................... 37
C2 Op-Code: Download Routine to RAM and Save Two Byte Response using Mode 6 ............................ 39
C3 Op-Code: Download Routine to RAM and Execute using Mode 6 (Electric Vehicle) ............................. 40
C4 Op-Code: Download Routine to RAM using Mode 20 (Holden Telematics) .......................................... 42
C5 Op-Code: Execute Routine using Mode 21 (Holden Telematics) .......................................................... 44
D0 Op-Code: Download Calibration / Software File using Mode 6 .............................................................. 45
D1 Op-Code: Download Calibration or Software Module using Mode 16 .................................................... 47
D2 Op-Code: Download VIN using Mode 6 & 16 ......................................................................................... 48
D4 Op-Code: Download Calibration / Software File using Mode 6 (Saturn EEPROM) ............................... 50
D5 Op-Code: Download Calibration / Software File using Mode 12 (Electric Vehicle) ................................ 52
D6 Op-Code: Erase Flash Block using Mode 22 (Holden Telematics)........................................................ 53
D7 Op-Code: Download Software Module using Mode 23 (Holden Telematics) ......................................... 54
D8 Op-Code: Execute Software Module using Mode 24 (Holden Telematics) ............................................ 56
F0 Op-Code: Wait for Poll from a Device .................................................................................................... 57
Interpreter 1 - Class 2 Communications Programming Op-Codes .................................................................... 58
Class 2 No Communications Processing .................................................................................................... 59
Class 2 Response Processing ..................................................................................................................... 60
01 Op-Code: Setup Global Variables .......................................................................................................... 62
10 Op-Code: Initiate Diagnostic Operation .................................................................................................. 63
14 Op-Code: Clear Diagnostic Information .................................................................................................. 64
20 Op-Code: Return to Normal Mode .......................................................................................................... 65
27 Op-Code: Perform Security - Mode 27 ................................................................................................... 66
28 Op-Code: Disable Normal Communications - Mode 28 ......................................................................... 69
29 Op-Code: Resume Normal Communications - Mode 29 (Obsolete Use Op-Code 20) .......................... 70
31 Op-Code: Start a Diagnostic Routine by Test Number ........................................................................... 71
34 Op-Code: Request the Control Module for Block Transfer - Mode 34.................................................... 72
CameraLoops.com