I have been using the Aardvark I2C/SPI Host Adapter with the Control Center Serial Software in batch mode. With the current project, I need to read/write several I2C EEPROMs, STMicro EEPROM M24C02-W, so I switched over to Flash Center Software for its speed in programming devices.
So far, with Flash Center Software, I can read the chips, but the write operation won’t work for me. It doesn’t look like a hardware problem – I’ve had the same issue with different board designs. Is there something I’ve overlooked? I can write to these chips with the Control Center Serial Software, but so far, it’s not working with the Flash Center Software.
Response from Technical Support:Thanks for your question! We don’t know how many bytes you are writing to the chips, but most likely, you need to increase the wait time between the write size setting and the base device address setting for the EEPROM.
To do so, add <writeTime> 10000 </writeTime> in the st-i2c.xml file as shown below. The default time is very short. This addition to the file increases the wait time, which enables writing more bytes. You can adjust the wait time as needed, depending on how many bytes you are writing to the chip per execution.
Note: the exact wait time varies based on system, GUI and USB latencies, as well as the devices.
< default version="1.0">
< manufacturerName > STMicro < /manufacturerName >
< deviceAlgorithm > I2C EEPROM < /deviceAlgorithm >
< maxBitrate > 400 < /maxBitrate >
< addressWidth > 1 < /addressWidth >
< writeSize > 16 < /writeSize >
< writeTime > 10000 < /writeTime >
< baseDeviceAddress > 0x50 < /baseDeviceAddress >
< /default >
Note: after editing the XML file, to ensure the changes are implemented, you must restart the Flash Center Software. We also provide examples of programming devices and other uses of our tools, which you may find useful in our Knowledge Base and our Videos.
Additional resources that you may find helpful include the following:
We hope this answers your question. If you need more information, please contact us at sales@totalphase.com . You can also request a demo that applies to your application.