Page 1 of 1

I2C EEPROM Memory Read Problem [SOLVED]

Posted: Wed Jan 11, 2017 9:55 am
by GeekCharge
Hi,

I have an I2C eeprom connected to the pyboard v1.1 and I am having issues with reading the memory. Device comes up fine during scan, and I can read from it using mem_read method. However, it seems I can only read once, i.e. if I read let's say 10 bytes from start address 0 I will get some data that I know it's there, but if I execute any further reads from that point onward I only get 0xFF regardless of how much data I read. This will persist until I restart the whole setup. Any ideas?

Many thanks,
Geek

Re: I2C EEPROM Memory Read Problem

Posted: Wed Jan 11, 2017 11:49 am
by GeekCharge
Solved! When reading the docs I was using old version prior to 16bit addressing being introduced. Now I can read the memory without issues.

Re: I2C EEPROM Memory Read Problem [SOLVED]

Posted: Fri Feb 03, 2017 2:19 pm
by mcauser
Same problem fixed over in ESP8266: http://forum.micropython.org/viewtopic.php?f=16&t=2874