We have the Aardvark I2C/SPI Host Adapter for programming EEPROMs. We are trying to use Python to read and write the EEPROM data, but with our software, the Aardvark adapter keeps writing 0s to the target devices, not the data that we programmed. What can we do to understand and fix the problem? Also, are there any guidelines for programming with the Aardvark adapter?
Response from Technical Support:Thanks for your questions! We have two recommendations for you – checking your setup with Control Center Serial Software and using our Aardvark Software API for your final setup. Our API software works with several programming languages, including Python 2 and Python 3.
With a simple interface, you can test your data and monitor your programming results. The Control Center Serial Software provides the convenience of using batch scripts, as well as controlling the Aardvark adapter. With this software, you can quickly connect to the target I2C or SPI system and issue read and write commands, allowing you to test and verify your setup. You can observe and analyze the results after executing each command. Here is a video that shows an example using Control Center Serial Software and a batch script with the Aardvark adapter.
Take a look at our Knowledge Base, which provides information and more examples for memory programming.
When your setup is ready, you can easily use or modify our APIs for programming your EEPROMs, as well as writing your own scripts. Here is a list of the functional examples that come with the Aardvark Software API:
Our Knowledge Base includes examples and tips about using Total Phase Software API, which you can download for free. For details about API commands, please see the API Documentation section of the Aardvark I2C/SPI Host Adapter User Manual.
We hope this answers your questions. Additional resources that you may find helpful include the following:
If you want more information, feel free to contact us with your questions, or request a demo that applies to your application.