Skip to content

Add seco-eeprom-manager

Shirin Raeisi requested to merge seco-eeprom-manager into develop

Introduces a new read/write procedure for the Eeprom in which the first six bytes are considered for the header (2 bytes of version and 4 bytes of crc). in this case any read/write will start at address 0x06.

The functions are:

set eeprom i2c: sets the i2c bus and slave address. It is necessary to be run before any function.

required parameters: i2c-bus, slave-address

example: secoE2prom -S 0x05,0x50 -r 0x00


add uid: writes uid with its specified data.

required parameters: uid, data

example: secoE2prom -S 0x05,0x50 -a 0x00,K12345678


read uid: reads uid and shows their index in case of multiple saved ids that serves then for update command.

required parameters: uid

example: secoE2prom -S 0x05,0x50 -r 0x00


format eeprom: deletes the entire Eeprom, saves version and calculated new crc.

required parameters: -

example: secoE2prom -S 0x05,0x50 -c


show eeprom: reads the entire eeprom and shows all saved data, including the Header.

required parameters: -

example: secoE2prom -S 0x05,0x50 -s

Edited by Shirin Raeisi

Merge request reports

Loading