I see there are options for running batch commands with the Control Center Serial Software, but what I want to do is run from the command prompt of a terminal. Is there a way I can run single commands like that?
I’m using the Aardvark I2C/SPI Host Adapter to access a PCA9546 EEPROM through an I2C switch.
Response from Technical Support:Thank you for your questions! The GUI software , Flash Center Software and Control Center Serial Software, do not support executing commands from a command prompt. However, you can use Aardvark Software API to create a script specific for your requirements.
Our API supports multiple operating systems (OS) and programming languages, and includes program examples that can be used as-is or modified as needed. We recommend using the Python bindings as it is a simple language, and you can quickly execute the scripts without a compiler.
Software examples are available in C, Visual Basic, Python, and Aardvark XML batch script code. README.txt files are included in the package to explain each of the examples. The examples are designed to write/read from the Aardvark adapter to the Atmel SPI EEPROM AT25080A, which is included on the
For example, if you choose to use Python, in the API package under the python directory, you can modify aai2c_eeprom.py and aaspi_eeprom.py to create your own custom applications. The EXAMPLES.txt file in the Software API package describes the function of each example file.
For more information about API commands, please refer to the API Documentation section of the Aardvark I2C/SPI Host Adapter User Manual.
To access the EEPROM through the I2C switch, we recommend creating your own custom application. For a starting point, you can refer to and customize our API example programs aai2c_eeprom and aai2c_file.
Here is a summary of what you can do for executing commands via command prompt:
Additional resources that you may find helpful include the following:
We hope this answers your questions. If you have other questions about our Total Phase products, feel free to email us at sales@totalphase.com. You can also request a demo specific for your application.