background image

 
 

 

 

2.3.1.7. 006h — read the service memory of the Device beginning with the current 

address. The number of the bytes to be read is transmitted as the argument for this 

instruction. The payload subblock of the response block carries the requested 

number of the bytes retrieved from the service memory. Reading 32 bytes from the 

service memory beginning with address FFFFFFFFh retrieves the Device signature 

(device name, device revision, etc); 

 

2.3.1.8. 007h — read Device EEPROM type. 

The number of the read bytes is transmitted in the argument, i.e. either "1" or "2". 

payload subblock correspondingly carries either 1 or 2 bytes which identify EEPROM 

type and EEPROM volume occupying the address space which is accessed with the 

current address pointer. EEPROM type is Spansion S25FK if the 1st byte in the 
response is 00000001b. The 2nd byte shall describe the EEPROM volume and its 

organization in this case:: 

- 013h - 2048 pages / 256 bytes, erasable sector is 4096 bytes; 

- 014h - 4096 pages / 256 bytes, erasable sector is 4096 bytes; 

- 015h - 8192 pages / 256 bytes, erasable sector is 4096 bytes; 

- 016h - 16384 pages / 256 bytes, erasable sector is 4096 bytes; 

- 017h - 32768 pages / 256 bytes, erasable sector is 4096 bytes; 

Atmel EEPROM returns the 1st byte equal with XX011XXXb, XX1001XXb, XX1111XXb, 

where X    –    arbitrary bit value; these codes correspond to    AT45DB041, 

AT45DB081, AT45DB642D Atmel. The page structure of this type of EEPROM is 

described in the Mandatory Annex 1 of the current Protocol. The 2nd bytes carries 

arbitrary value; 

2.3.1.9. 008h – reserved instruction, Slave must send a response block with asserted 

flag of the error in the format of the received block ( see 2.3.2.). 

 

2.3.1.10. 009h – read the instruction execution status. The instruction in transmitted 

without arguments. The response block is transmitted without the payload subblock; 

 

2.3.1.11. 00Ah — apply the changes; once the new data have been written to the 

EEPROM, this instruction will begin to apply the changes записанных в EEPROM (for 

example, copy data into the buffer RAM). This instruction does not have   

arguments. The EEPROM is selected according to the value of the current high nibble 

of the highest byte of the address pointer

2

. The response block is transmitted 

without the payload subblock. Having transmitted the response pack, the Slave may 

Содержание SE-2850

Страница 1: ...1 Datavideo SE 2850 RS 422 Control Protocol ...

Страница 2: ...te transmission via the bus The Master may be either a remote PC or a control keyboard Control data are transmitted by byte blocks 1 byte is composed of 8 data bits at the rate of 115200 bps without parity control in the half duplex mode Once a Slave receives a control block addressed to it this Slave must transmit a response block no later than 500ms Master must not begin a transmission of a new ...

Страница 3: ...s of 2 bytes 2 3 1 When the Master transmits a block to a Slave the 1st byte of the ID subblock carries an instruction and the payload subblock data are the argument The highest but if the 2nd byte of the ID subblock must be set to 0 The remaining bits of this byte are reserved to future extensions of the Protocol and must be set to 0 in this revision of the Protocol List of the instructions 2 3 1...

Страница 4: ...ts The response block is transmitted without the payload subblock 2 3 1 5 004h write data into the service memory of the Device beginning with the current address The parameter settings may be stored in the service memory The specific parameters and their values depend on the specific Device and are described in the corresponding Annex to the current Protocol The data in the payload subblock are t...

Страница 5: ...erasable sector is 4096 bytes 016h 16384 pages 256 bytes erasable sector is 4096 bytes 017h 32768 pages 256 bytes erasable sector is 4096 bytes Atmel EEPROM returns the 1st byte equal with XX011XXXb XX1001XXb XX1111XXb where X arbitrary bit value these codes correspond to AT45DB041 AT45DB081 AT45DB642D Atmel The page structure of this type of EEPROM is described in the Mandatory Annex 1 of the cur...

Страница 6: ...of the received block see 2 3 2 2 3 1 17 010h sector erase instruction4 A EEPROM sector accessed by the current value of the address pointer is erased The EEPROM is selected with the high nibble of the address pointer highest byte The instruction in transmitted without arguments The response block is transmitted without the payload subblock 2 3 1 18 011h page write instruction4 The data to be writ...

Страница 7: ...nstruction has been accepted to the execution There are no true data bytes in the response block if any Ignore them 02h Device is busy executing the previous instruction The newly accepted instruction shall be ignored by the Slave in this state There are no true data bytes in the response block if any Ignore them 03h The Slave device is broken There are no true data bytes in the response block if ...

Страница 8: ...TypeR the type of the addressed target Device AddrR the address of the target device TypeT the type of the Device sending the current block AddrT the address of the Device sending the current block Ident the 1st byte of the ID subblock IdentExt the 2nd byte of the ID subblock Len the length subblock length of the following payload subblock measured with bytes Data 0 Data M payload subblock it has ...

Страница 9: ...the moment of the response to the latest instruction of the indication request bits 1 and 2 the next states of the bits determining the brightness level of the control keyboard they are executed optionally by the keyboard 00 nominal brightness level 01 brightness level down one step 10 brightness level down two steps 11 brightness level down three steps bits 3 7 reserve must be set to 0 Byte 3 the...

Страница 10: ...1100 EEPROM12 0b1101 EEPROM13 0b1110 EEPROM14 0b1111 service memory It does not have a page structure 3 The instruction may be used only in conjunction with the Atmel EEPROM which have been listed in the Mandatory Annex 1 of the current Protocol 4 The instruction may be used only in conjunction with the S25 EEPROM which has the internal structure according to the 2 3 1 8 ...

Страница 11: ...64 bytes The byte addresses at the beginning of the pages Page 0 00000000b 00000000b 00000000b 00000000b Page 1 00000000b 00000000b 00000010b 00000000b Page 2 00000000b 00000000b 00000100b 00000000b Page 3 00000000b 00000000b 00000110b 00000000b Page 4095 00000000b 00011111b 11111110b 00000000b 3 Flash EEPROM AT45DB642D Structure 8192 pages 1056 bytes The byte addresses at the beginning of the pag...

Страница 12: ... The higher 6 bits of that code determine the byte in the indication array whilst the remaining 2 bits determine the positions of the pair bits describing the state in that byte For example 1 set the bits 7 and 6 as 10 in the byte 10 2 set the bits 1 and 0 as 11 in the byte 15 3 set the bits 3 and 2 as 01 in the byte 15 4 set the remaining bits in all the bytes of the array as 0 5 It will in turn ...

Страница 13: ...m value InputByte is the next data byte CRCH and CRCL correspond to higher and lower byte of the new check sum value Tbl A3 2 I and Tbl A3 1 I correspond to the tables values I is the shift factor in the tables means bit wise XOR Table A3 1 Lower CRC byte calculation coefficients 000h 0c1h081h 040h 001h 0c0h080h 041h 001h 0c0h080h 041h 000h 0c1h081h 040h 001h 0c0h080h 041h 000h 0c1h081h 040h 000h ...

Страница 14: ...Table A3 2 Higher CRC byte calculation coefficients 000h 0c0h 0c1h 001h 0c3h 003h 002h 0c2h 0c6h 006h 007h 0c7h 005h 0c5h 0c4h 004h 0cch 00ch 00dh 0cdh 00fh 0cfh 0ceh 00eh 00ah 0cah 0cbh 00bh 0c9h 009h 008h 0c8h 0d8h 018h 019h 0d9h 01bh 0dbh 0dah 01ah 01eh 0deh 0dfh 01fh 0ddh 01dh 01ch 0dch 014h 0d4h 0d5h 015h 0d7h 017h 016h 0d6h 0d2h 012h 013h 0d3h 011h 0d1h 0d0h 010h 0f0h 030h 031h 0f1h 033h 0f3...

Страница 15: ...089h 04bh 08bh 08ah 04ah 04eh 08eh 08fh 04fh 08dh 04dh 04ch 08ch 044h 084h 085h 045h 087h 047h 046h 086h 082h 042h 043h 083h 041h 081h 080h 040h BUTTON CODES OF THE SE2850 DEVICE ANNEX 4 KeyRemote 0x01 KeyUp 0x02 KeyUpRelease KeyUp 0xa0 KeyEnter 0x03 KeyEnterRelease KeyEnter 0xa0 KeyWipes1 0x04 KeyWipes2 0x05 KeyWipes3 0x06 KeyMix 0x30 KeyAudioAsso ciated 0x07 KeyPiP1Prog 0x08 KeyPiP2Prog 0x09 Key...

Страница 16: ...Prev 0x13 KeyTitlesPrevRelease KeyTitlesPrev 0xa0 KeyInp1Prog 0x14 KeyInp2Prog 0x15 KeyInp3Prog 0x16 KeyInp4Prog 0x17 KeyInp5Prog 0x18 KeyInp6Prog 0x19 KeyInp7Prog 0x1a KeyInp8Prog 0x1b KeyBlackProg 0x1c KeyBarsProg 0x1d KeyLogo1 0x1e KeyLogo2 0x1f KeyClock 0x20 KeyInp1Prev 0x21 KeyInp2Prev 0x22 KeyInp3Prev 0x23 KeyInp4Prev 0x24 KeyInp5Prev 0x25 KeyInp6Prev 0x26 ...

Страница 17: ... KeyVideoXPt 0xa0 KeyAudioXPt 0x32 KeyAudioXPtRelease KeyAudioXPt 0xa0 KeyFreeze 0x33 KeyFreezeRelease KeyFreeze 0xa0 KeyTimer 0x34 KeyTitles2Prev 0x35 KeyTitles2PrevRelease KeyTitles2Prev 0xa0 KeyTitles2Prog 0x36 KeyAUX 0x38 KeyAUXRelease KeyAUX 0xa0 KeyFTB 0x39 KeyFTBRelease KeyFTB 0xa0 KeySpeed1 0x3a KeySpeed2 0x3b KeySpeed3 0x3c KeyInp9Prev 0x3d KeyInp10Prev 0x3e KeyInp11Prev 0x3f KeyInp12Prev...

Страница 18: ...41 KeyFSRelease KeyFS 0xa0 KeyInp9Prog 0x42 KeyInp10Prog 0x43 KeyInp11Prog 0x44 KeyInp12Prog 0x45 Note The codes which are named as KeyXXXRelease are the buttons release codes the rest are the buttons press codes ...

Страница 19: ...OF THE SE2850 DEVICE ANNEX 5 1 LEDs for the button indication have the following codes the press code of the corresponding button 1 2 The T bar end indication LEDs have the following codes upper LED 0x2c lower LED 0x2d ...

Страница 20: ...instructions are used 2 3 1 19 simulate key press 2 3 1 20 simulate T bar movement 2 3 1 21 indication request 2 3 1 22 device status request Other instructions can be ignored When Master is idle it should repeatedly send device status request instruction to Slave to ensure that the link is working Such instructions should be repeated at least every 500 msec When control link is established SE2850...

Страница 21: ...May 30 2019 Version E1 ...

Отзывы: