- The specific device must be calibrated (you can use calibrate_118.py as an example for calibration code) and the calibration file calibrate.txt created. It must contain a JSON structure with the serial number, calibration date, and calibration coefficients.
- Run make_118_eeprom.sh to create the EEPROM image eeprom.eep. This image is specific to the current board being configured - each board will have unique EEPROM contents.
- Run sudo program_eeprom.sh to write the EEPROM to the MCC 118. The EEPROM write header mush be shorted during the write.
The device tree overlay, MCC_118.dtbo, was created from compiling MCC_118-overlay.dts using standard device tree tools:
dtc -@ -I dts -O dtb -o MCC_118.dtbo MCC_118-overlay.dts
The file MCC_118_eeprom.txt is the Raspberry Pi HAT EEPROM description file that has already been created with the correct settings.
- The specific device must be serialized (you can use calibrate_152.py as an example for serialization code) and the calibration file calibrate.txt created. It must contain a JSON structure with the serial number.
- Run make_152_eeprom.sh to create the EEPROM image eeprom.eep. This image is specific to the current board being configured - each board will have unique EEPROM contents.
- Run sudo program_eeprom.sh to write the EEPROM to the MCC 152. The EEPROM write header mush be shorted during the write.
The device tree overlay, MCC_152.dtbo, was created from compiling MCC_152-overlay.dts using standard device tree tools:
dtc -@ -I dts -O dtb -o MCC_152.dtbo MCC_152-overlay.dts
The file MCC_152_eeprom.txt is the Raspberry Pi HAT EEPROM description file that has already been created with the correct settings.