I am using the Aardvark I2C/SPI Host Adapter. For this project, I would like to use Flash Center Software to program the IDT TSE2004GB2B0 I2C EEPROM, which is a 512 byte device that is configured in two 256 byte pages. I have tried to create an XML file to program this I2C device, but can’t figure out how to make it work. Can you help me program this I2C device?
Response from Technical Support:Thanks for your question! The Flash Center Software supports writing to a number of memory devices. Flash Center Software reads/writes to the first page, which consists of the first 256 bytes of the I2C EEPROM that you are programming.
To write to the first page of specific device you are using, please do the following:
<?xml version="1.0" encoding="UTF-8"?>
-<devices>
- <default version="1.0">
<maxBitrate> 400 </maxBitrate>
<writeTime> 5000 </writeTime>
<baseDeviceAddress> 0x50 </baseDeviceAddress>
<deviceAlgorithm> I2C EEPROM </deviceAlgorithm>
</default>
-<device version="1.0">
<deviceName> TSE2004GB2B0 </deviceName>
<deviceDescription> DDR4 Temperature Sensor with Integrated 4Kbit EEPROM for Memory Modules </deviceDescription>
<maxBitrate> 1000 </maxBitrate>
<capacity> 256 </capacity>
<addressWidth> 1 </addressWidth>
<writeSize> 16 </writeSize>
</device>
</devices>
However, if you need to write to both pages, we recommend using the Aardvark Software API. The Flash Center Software is made to be as inclusive as possible, but different chip manufacturers may have custom features on their memory devices that the Flash Center Software cannot access - in this case, writing to separate pages. The Aardvark API can be used to create your own custom applications to read and write to "special" memory chips. You can use the flash and EEPROM examples that are provided with the Aardvark API Software package to customize for your specifications.
Additional resources that you may find helpful include the following:
We hope this answers your questions. If you have other questions about our host adapters or other Total Phase products, feel free to email us at sales@totalphase.com or submit a request for technical support.