The key to the process is the detail of the request from the engineering group. If the request is lacking
in any way, GM Customer Care & Aftersales personnel will not be able to accurately include the Op-
Code in the Interpreter.
Note:
Once an Interpreter is released, GM Customer Care & Aftersales cannot modify an existing Op-
Code/exception combination unless the original functionality is unaffected.
It is GM Customer Care &
Aftersales responsibility to verify that the existing support provided by the Op-Code still works properly.
If this
is not possible, for any reason, then the Op-Code/exception combination cannot be changed.
GM Customer
Care & Aftersales should always plan to create a new Op-Code or a new exception to an existing Op-Code
when new Interpreter functions are needed.
This rule can only be violated when the change has NO impact on
existing Interpreter Op-Code function.
CameraLoops.com
1993-2011 General Motors Company, GM Customer Care & Aftersales. All Rights Reserved.
Page
201
Appendixes
A - UART Interpreter Examples
B - Class 2 Interpreter Examples
C - Keyword Protocol 2000 Interpreter Examples
D - Abbreviations and Acronyms
E - Revision Log
F - Related Documents
CameraLoops.com
1993-2011 General Motors Company, GM Customer Care & Aftersales. All Rights Reserved.
Page
202
Appendix A - UART Interpreter Examples
The following lines of interpretive code are examples of how lines in the interpretive section of a Utility File
are used by the tools. The examples are not in a particular order and are strictly for explanatory purposes.
Step
Op-Code
Action Fields
Goto Fields
01
05
F4 01 00 00
AA 02 05 04 09 05 FF 06 00 00
The first step is a 05 Op-Code (Ram Download Request). The tool will send an ALDL mode 5 message.
The 01 exception tells the interpreter to wait for an F0 poll before sending the mode 5 message. For this
example assume an AA response was received from the device, after the mode 5 message was sent, the
interpreter would jump to the step specified after the AA in the goto fields (step 02). If a 05 response were
received, the interpreter would jump to step 04. A 09 response would jump to step 05 and any other
responses would jump to step 06.
Step
Op-Code
Action Fields
Goto Fields
02
C0
02 03 F4 00
AA 03 05 04 FF 06 00 00 00 00
This step is a C0 Op-Code that is used to Download Routines to RAM and then execute the routines. The
line instructs the interpreter to send routine 02 to device ID F4 using routine 03 as the prolog. Prologs are
only used when a routine is larger then the maximum routine packet size. Prologs generate responses for
the device as the pieces of a routine are being downloaded to RAM. All of the routines are contained in the
routine section of the Utility Files. After all of the routine is downloaded the device will execute the routine
and a response will be returned. Assume that an AA is returned from the device, so step 03 (Goto field 1)
will be the next step interpreted.
Step
Op-Code
Action Fields
Goto Fields
03
D0
01 39 F4 01
06 07 15 04 FF 05 00 00 00 00
The next Op-Code to execute is D0 (Download Calibration / Software file). The tool will send to device F4
the file with ID 01 and since the exception 01 is specified, 39 will be the prolog. After the file is downloaded
to the device a response will be returned to the tool. Assume a 15 is returned, the Goto field 2 will be the
next step executed (04). This return is an error and will cause the process to loop. See the next Op-Code.
If a 06 was returned then the programming event would be a success and the process would end (see
step 07). If any other return value were returned then Goto step 3 (05) would be executed. This will signal
that the programming event has failed and the module should to be replaced (see step 05).
Step
Op-Code
Action Fields
Goto Fields
04
FB
01 03 00 00
00 02 00 05 00 00 00 00 00 00
If this step is executed the counter 01 is set to 03 and the interpreter will jump to the step specified in Goto
step 1 (02). Each subsequent time this step is executed, counter 01 will be decremented by one. If the
counter is above zero the first Goto step (02) is executed again. If the counter is zero, meaning that the
counter has expired, the step specified in Goto step 2 (05) is executed.
Step
Op-Code
Action Fields
Goto Fields
05
EE
00 00 00 00
00 00 00 00 00 00 00 00 00 00
This step is executed if an error has occurred during the programming process and the replace module
message should be displayed.
Step
Op-Code
Action Fields
Goto Fields
06
EE
01 00 00 00
00 00 00 00 00 00 00 00 00 00
This step is executed if an error has occurred during the programming process. The 01 in AC0 indicates
that a message instructing the user to replace the control module should be displayed on the error screen.
Step
Op-Code
Action Fields
Goto Fields
07
FF
00 00 00 00
00 00 00 00 00 00 00 00 00 00
This step indicates a successful completion of the programming process.
CameraLoops.com
1993-2011 General Motors Company, GM Customer Care & Aftersales. All Rights Reserved.
Page
203
Do'stlaringiz bilan baham: |