TMDS64EVM: I2C EEPROM 64KB FIle Write/Read Issue

Part Number: TMDS64EVM


Hello,

Using mcu_plus_sdk_am64x_10_01_00_32 and modify the i2c_memory_read.c for FILE write and read back to  compare.

Using the I2C device @0x50 physical address to test the file write/read and compare. The routine was using page write/read of 256 Byte page. Test condition of initial address of two cases 0x400 as per example and changed to start at 0x0. The results are the same. Here is the issue :

  1. If the file size is equal or less than 64KB (65536), then the file write and read back and compare passed.
  2. If the file size is just more than 64KB even 1 byte or 2 bytes, the test would fail. Remember it fails either starting address:   #define EEPROM_MEM_ADDRESS = 0x0  or 0x400

So what is likely the problem ?

 

Thanks,

Huynh