1M28 and 1M75 User’s Manual
PRELIMINARY
49
DALSA
03-32-00525-03
Appendix C
Appendix C
Appendix C
Appendix C
Accessing the EEPROM
Accessing the EEPROM
Accessing the EEPROM
Accessing the EEPROM
The first 4 registers are used to communicate with the configuration EEPROM of the
camera. Register address 0 contains the data, which is written to or read from the
EEPROM. Register 1 contains the LSB of the storage address. Register 2 contains the MSB
of the storage address as well as the accessing code (OP code) for the EEPROM. The
configuration EEPROM has a storage capacity of 2 kB. Therefore, the valid storage
addresses are 11 bits (A0 – A10) and range from 000H to 7FFH. After entering the data,
the address, and the OP code, the information is transferred to the EEPROM with the
command SEND_PROM (write register address 3). To read bytes from the EEPROM, the
address and the OP code have to be transferred with the command SEND_PROM to the
EEPROM. The result can than read from register address 0. An overview of the registers
that are used for the EEPROM programming is shown in Table 19: .
In order to be able to write to the EEPROM, the write protection must be disabled. The
PROM_BUSY and the AUTOLOAD flag in the EEPROM register address 4 Bit 1 or Bit 0
must also be checked before writing to the EEPROM. Writing during the BUSY phase
leads to malfunctions of the camera. After writing, the write protection should be enabled
again. This happens automatically when the camera is switched off or loses power.
Table 19: Overview of registers used for the EEPROM programming
Register address 0 - DATA_EEPROM
Bit
Name
Description
0 -7
DATA_EEPROM
Data bit 0 – 7
Register address 1 – ADDR_LSB_EEPROM
Bit
Name
Description
0 - 7
ADDR_LSB_EEPROM
Address bit 0 – 7
Register address 2 – ADDR_MSB_EEPROM
Bit
Name
Description
0
ADDR_MSB_EEPROM
Address bit 8
1
ADDR_MSB_EEPROM
Address bit 9 / OP-Code bit 0
2
ADDR_LSB_EEPROM
Address bit 10 / OP-Code bit 1
3
ADDR_LSB_EEPROM
OP-Code bit 2
4
ADDR_LSB_EEPROM
OP-Code bit 3
5
Not used
-
6
Not used
-
7
Not used
-
Содержание 1M28-SA
Страница 4: ...4 PRELIMINARY 1M28 and 1M75 User s Manual 03 32 00525 03 DALSA ...
Страница 18: ...18 PRELIMINARY 1M28 and 1M75 User s Manual 03 32 00525 03 DALSA ...
Страница 28: ...28 PRELIMINARY 1M28 and 1M75 User s Manual 03 32 00525 03 DALSA ...
Страница 44: ...44 PRELIMINARY 1M28 and 1M75 User s Manual 03 32 00525 03 DALSA ...
Страница 48: ...48 PRELIMINARY 1M28 and 1M75 User s Manual 03 32 00525 03 DALSA ...
Страница 52: ...52 PRELIMINARY 1M28 and 1M75 User s Manual 03 32 00525 03 DALSA ...