Wiki
Wiki
This is an old revision of the document!
The newly manufactured EL502 Mezzanine cards do not contain any data in their EEPROM yet. A Raspberry Pi and a custom made cable are used to programm the EEPROM.
The code of this project is under version control in a Git repository whose upstream is: https://git.gsi.de/BEA_HDL/V_DIO_EEPROM_Programming
sudo raspi-config
, browse to Interfaces
and activate I2Csrc
folder to the Raspberry Pi or clone the Git repository on itRaspberry Pi | Raspberry Pi | Mezzanine | Mezzanine |
---|---|---|---|
pin number | signal name | pin number | signal name |
1 | +3.3 V | 1 | +5 V |
3 | SDA | 3 | SDA |
5 | SCL | 2 | SCL |
6 | GND | 26 | GND |
cd src
./write_i2c_data.py
This will program the content of src/eeprom_content.csv
to the EEPROM.
cd src
./read_i2c_data.py
This will create an output file src/eeprom_content_readback.csv
.
You can compare it to the desired content using diff eeprom_content_readback.csv eeprom_content.csv
.