Interpreters Document


A3 Op-Code Read Data from Specified Sequential Addresses (Electric Vehicle) Mode 3



Download 6,14 Mb.
Pdf ko'rish
bet26/213
Sana03.04.2022
Hajmi6,14 Mb.
#525844
1   ...   22   23   24   25   26   27   28   29   ...   213
Bog'liq
dps Interpreters

A3 Op-Code Read Data from Specified Sequential Addresses (Electric Vehicle) Mode 3 
Supported By:
UART Interpreter 0 
 
Description: 
 
The A3 Op-Code is used to read the data from the specified two byte addresses of a controller. It was 
developed specifically for reprogramming the key code of the CCU/RSA controller of the EV1 electric 
vehicle. To use the Op-Code, the target controller must have normal communication discontinued. 
The addresses will all be sequential starting from the address indicated in the actions fields. The number of 
addresses can be varied based on the value of AC1. 
See the pseudo code for more detailed information concerning Op-Code function. 
Action Fields: 
AC0: 
Target Device ID 
AC1: 
Number of Addresses to Read (including the address specified in AC2 & AC3) 
AC2: 
High Byte of Starting Address 
AC3: 
Low Byte of Starting Address 
Pseudo Code: 
XX D0 AC0 AC1 AC2 AC3 G0-G1 G2-G3 G4-G5 G6-G7 G8-G9 
Use UART Return Type Processing Five 
Build Mode 03 Address Read as indicated in the table below. 
Contents of the XX locations are detailed in the pseudo code following the table. 
Request 
Byte
Value 
Byte Description 

AC0 
Device ID

1 + M 
Message mode + (AC1 multiplied by 2) 

03 
Message mode

AC 
High byte of starting address 

XX 
Low byte of starting address 

XX 
High byte of second address 

XX 
Low byte of second address 


High and low byte of each consecutive address to read. 
1 + M +1 
CS 
1 byte request checksum
Build mode 03 message through low byte of starting address. 
Combine the high and low byte of starting address into one number. 
Increment the starting address by one. 
Load the new address value in the next two message bytes. 
Continue to increment and load the addresses until number of addresses indicated in AC1 is met. 
Send the message and expect a response of 03 in the mode position. 

Download 6,14 Mb.

Do'stlaringiz bilan baham:
1   ...   22   23   24   25   26   27   28   29   ...   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