Страница 1 мировой engineering стандарты общая спецификация


Node Interface Pseudo Code



Download 1,29 Mb.
Pdf ko'rish
bet228/435
Sana02.08.2022
Hajmi1,29 Mb.
#846314
1   ...   224   225   226   227   228   229   230   231   ...   435
Bog'liq
WORLDWIDE ENGINEERING STANDARDS General Motors Local Ar

8.13.6.2 Node Interface Pseudo Code. 
If a node supports boot software then the operational software only
needs minimum support of this service. This is true for nodes with boot software because a service $34
transitions the program operation back to the boot software (see service $34) and the $34 service is required
before the $36 service is allowed. ECUs with boot software only need to support the Serv_36_Msg_Recvd()
pseudo code in the operational software and the Boot_36_Msg_Recvd() in the boot software. ECUs that do not
have boot software shall support the functionality of the Boot_36_Msg_Recvd() pseudo code in the operational
software.
BEGINFUNCTION Serv_36_Msg_Recvd()
send Negative Response ($7F $36 $22)/* conditions not correct since the $34 service is not active if the ECU
is executing the operational software. */
ENDFUNCTION
BEGINFUNCTION Boot_36_Msg_Recvd()
/* The check below for $Level $80 is only needed if that sub function is supported by the ECU */
IF ( (($Level != $00) AND ($Level != $80)) OR
(message_data_length < (2+C_NumAddrBytes)) OR
(($Level = $00) AND (message_data_length < (3+C_NumAddrBytes ))) ) THEN
send Negative Response ($7F $36 $12) /* invalid format */
ELSE IF (TransferData_Allowed = NO) THEN
send Negative Response ($7F $36 $22)
ELSE IF(($startingAddress is invalid) OR ($startingAddress + (message_data_length - $02 -
C_NumAddrBytes) is invalid)) THEN
send Negative Response ($7F $36 $31) /* Request out of range */
ELSE
SELECT FIRST
WHEN ($Level = $DL)/* $00 Download */
IF (the node cannot process the request within P2
C
) THEN
send Negative Response ($7F $36 $78) /* RequestCorrectlyReceived-ResponsePending */
perform any necessary actions to the data block /*, i.e., program to flash memory etc.*/
ENDIF
IF (errors are detected) THEN
send the appropriate negative response ($7F $36 $22) or ($7F $36 $83) or ($7F $36 $85).
ELSE
send ($76) /* programming of block successfully completed */
ENDIF
--``,,``````,``,,``,,,`,`,`,,-`-`,,`,,`,`,,`---


25.06.2020
WORLDWIDE ENGINEERING STANDARDS General Motors Local Area Network Enhanced Diagnostic Test Mode Specification
https://translate.googleusercontent.com/translate_f
149/298

Download 1,29 Mb.

Do'stlaringiz bilan baham:
1   ...   224   225   226   227   228   229   230   231   ...   435




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