Interpreters Document



Download 6,14 Mb.
Pdf ko'rish
bet16/213
Sana03.04.2022
Hajmi6,14 Mb.
#525844
1   ...   12   13   14   15   16   17   18   19   ...   213
Bog'liq
dps Interpreters

 
Action Fields: 
AC0: 
Device ID 
AC1: 
High byte of address (needed only if AC3 = 02 or 04) 
AC2: 
Low byte of address (needed only if AC3 = 02 or 04) 
AC3: 
Exceptions. See pseudo code below 
00 = multiple block read and checksum calculation. Compare against stored checksum. 
01 = Read block and compare first two bytes to global checksum field 
02 = Read block and exit 
– No comparisons 
03 = Read block and compare to global CAL ID 
04 = Read block and compare ABS controller transmission option byte. 
G0: 
00 - Don't care 
Pseudo Code: 
XX 02 AC0 AC1 AC2 AC3 G0-G1 G2-G3 G4-G5 G6-G7 G8-G9 
Use UART Return Type Processing Five 
Build Mode 2 message as indicated in the table below 
Request 
Byte 
Value 
Byte Description 

AC0 
Device ID 

03 
Message length 

02 
Message mode 

AC1 
High byte of address to read from 

AC2 
Low byte of address to read from 

CS 
Message checksum 
If t
he Exception is One or Three (AC3=01, AC3=03 or AC3 = 04)
Send Mode 2 and receive response (64 data Bytes) 
Compare extracted value to stored value 
Endif 
the exception is one or three
If 
the Exception is Two (AC3=02)
Send Mode 2 and receive response (64 data Bytes) 
Compare extracted value to stored value 
End 
the exception is two 
If 
the Exception is Zero (AC3=0)
While entire calibration has not yet been read from controller 
Send Mode 2 with address of next block 
Receive response 
Perform summation algorithm on new data block
CameraLoops.com



1993-2011 General Motors Company, GM Customer Care & Aftersales. All Rights Reserved.
Page
22 
(continued) 
End while 
Compare calculated checksum to stored checksum 
End 
the exception is zero 
Goto UART Response Processing
Goto step specified in goto field 1 (G1)

Download 6,14 Mb.

Do'stlaringiz bilan baham:
1   ...   12   13   14   15   16   17   18   19   ...   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