Skip to content

Conversation

@p1ngb4ck
Copy link

./i2c-eeprom.py -h
usage: i2c-eeprom [-h] [-a <8 / 16>] -s -p [-e]
[-r ] [-w ] [-d <0-7>] [-c <0-524288>]
[-o <0-524287>]
[-S <ONE_HUNDRED_KHZ / FOUR_HUNDRED_KHZ/ ONE_MHZ>]
[-i <vendor_id:product_id>] [-I <A/B/C/D>] [-v]

i2c-eeprom utility based on python-mpsse

optional arguments:
-h, --help show this help message and exit
-a <8 / 16>, --addressbits <8 / 16>
addresstype (8 / 16), default to 8bits for <=16kbit
size, 16bits for eeprom > 16kbit
-s , --size
eeprom size in bytes
-p , --pagesize
count of bytes per page
-e, --erase erase eeprom (to FFh Values)
-r , --read
read eeprom to
-w , --write
write to eeprom
-d <0-7>, --eeprom-id <0-7>
3bit device-address of eeprom, hardwired, default = 0
-c <0-524288>, --count <0-524288>
number of bytes to read in read-mode. default = full
eeprom-size
-o <0-524287>, --offset <0-524287>
bytenumber to start reading at. default = 0
-S <ONE_HUNDRED_KHZ / FOUR_HUNDRED_KHZ/ ONE_MHZ>, --speed <ONE_HUNDRED_KHZ / FOUR_HUNDRED_KHZ/ ONE_MHZ>
I2C bus frequency. default = 100000KHz
-i <vendor_id:product_id>, --devicecode <vendor_id:product_id>
Vendor_ID:Product_ID default = 0403:6010
-I <A/B/C/D>, --interface <A/B/C/D>
Interface to use (if FTDI-device has multiple UART-
interfaces). default = A
-v, --verbose increase output verbosity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants