1M28, 1M75, and 1M150 User’s Manual
PRELIMINARY
65
DALSA
03-32-00525-04
Appendix C
Appendix C
Appendix C
Appendix C
Accessing the EEPROM
Accessing the EEPROM
Accessing the EEPROM
Accessing the EEPROM
The first four 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 then be read from register address 0. An overview
of the registers that are used for the EEPROM programming is shown in Table 31: .
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 31: 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
-