Interpreters Document


Typical Interpreter Line: (all Action and Goto fields are hex numbers)



Download 6,14 Mb.
Pdf ko'rish
bet109/213
Sana03.04.2022
Hajmi6,14 Mb.
#525844
1   ...   105   106   107   108   109   110   111   112   ...   213
Bog'liq
dps Interpreters

Typical Interpreter Line: (all Action and Goto fields are hex numbers) 
Step 
Op-Code 
Action Fields
Goto Fields 
10 
38 
20 00 00 00 
78 11 10 0D FF 99 00 00 00 00 
CameraLoops.com



1993-2011 General Motors Company, GM Customer Care & Aftersales. All Rights Reserved.
Page
129 
39 Op-Code: SR 39 to Stop Utility File Routine by Address 
 
Supported By:
KWP2000 Interpreter 2
 
 
Description: 
The 39 Op-Code will build a standard service request 39 to send to an ECU. This Op-Code is used to stop a
Device Specific Control Routine, from the Utility File, which was started by an Op-Code 38. The address 
information for the service request is read from the routine in the Utility File. 
Action Fields: 
AC0: Routine number from Utility File to get execution address from 
AC1: $00 - Not used
AC2: $00 - Not used
AC3: Exceptions: 
$00 - Use address from routine number AC0 
$01 - Use global address information from an Op-Code 'F1' 
Pseudo Code: 
XX 39 AC0 AC1 AC2 AC3 G0-G1 G2-G3 G4-G5 G6-G7 G8-G9 
Use KWP2000 Normal Response processing
Build Stop Routine by Address Request as indicated in the table below, contents of the XX locations is
detailed in pseudo code following the table 
Request 
Byte
Value 
Byte Description 

80 
Format byte for physical addressing 

## 
Global target byte

## 
Global source byte 


Length of request from byte 5 up to checksum (not 
included) 

39 
Start Routine by Address request service ID

XX 
High byte of address

XX 
Middle byte of address

XX 
Low byte of address
9
CS
1 byte request checksum 
If AC0 is not equal to $00 
Find the routine indicated by the value in AC0 
Endif
If AC3 is $00 
Copy the routine address into request starting at byte 6 (or byte 7 for two byte addressing)
Else 
Copy the global address into request starting at byte 6 (or byte 7 for two byte addressing)
Endif
Calculate checksum and copy into service request byte 9 
Send Start Routine by Address Request and receive response (up to 10 Bytes) 
Goto KWP2000 Response Processing
If Start Routine by Address positive response is received 
Look for Start Routine by Address positive response service ID ($79) in goto fields 
Else
Look for Start Routine by Address negative response, response code in goto fields 
Endif
CameraLoops.com



1993-2011 General Motors Company, GM Customer Care & Aftersales. All Rights Reserved.
Page
130 
(continued) 
If found
Goto appropriate step
Else 
Goto step indicated by FF goto field 
Endif

Download 6,14 Mb.

Do'stlaringiz bilan baham:
1   ...   105   106   107   108   109   110   111   112   ...   213




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish