I2C EEPROM Memory Read Problem [SOLVED]

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
GeekCharge
Posts: 3
Joined: Mon Oct 19, 2015 9:43 am
Location: UK
Contact:

I2C EEPROM Memory Read Problem [SOLVED]

Post by GeekCharge » Wed Jan 11, 2017 9:55 am

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
Last edited by GeekCharge on Wed Jan 11, 2017 11:50 am, edited 1 time in total.

GeekCharge
Posts: 3
Joined: Mon Oct 19, 2015 9:43 am
Location: UK
Contact:

Re: I2C EEPROM Memory Read Problem

Post by GeekCharge » Wed Jan 11, 2017 11:49 am

Solved! When reading the docs I was using old version prior to 16bit addressing being introduced. Now I can read the memory without issues.

User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: I2C EEPROM Memory Read Problem [SOLVED]

Post by mcauser » Fri Feb 03, 2017 2:19 pm

Same problem fixed over in ESP8266: http://forum.micropython.org/viewtopic.php?f=16&t=2874

Post Reply