micropython_eeprom icon indicating copy to clipboard operation
micropython_eeprom copied to clipboard

T24C64 (using 24LC64 I2C) page write buffer is only 32 bytes

Open pretorhv opened this issue 2 years ago • 2 comments

Hi,

Newbie - treat with suspicion.

I am using eeprom_i2c to write a JSON encoded config (similar to your example), and it seems to write only 32 bytes out of every 128 using either slicing or readwrite. The 24LC64 datasheet states the pagewrite buffer is 32 bytes.

Henk

pretorhv avatar Jun 09 '22 19:06 pretorhv

The first step is to run the test script. You'll need to change this line to match your chip and this line for chip and I2C number. The first test to run is test(). Then try the filesystem based tests.

Your chip is a supported device so these tests have been run successfully.

peterhinch avatar Jun 10 '22 08:06 peterhinch

There was a bug which was probably causing your problem. Please try the latest version.

peterhinch avatar Jan 09 '24 14:01 peterhinch