TotalPhase-Blog-Erlebniswelten

Unable to program TPS65982-EVM using the Aardvark.dll

Costumer Question:

Hi,
Our board is using the TPS65982 device to sink current thru the Type C port to provide power the system. The port also would accept a flash drive using the USB 2.0, which isn’t working. So we are trying to configure the device’s internal mux to pass-thru following the instructions outlined from an earlier post:
e2e.ti.com/.../649116

We used the Application Customization Tool to modify the register settings mentioned in the post. However, after connecting the board to the Aardvark Host Adapter via I2C, the tool consistently fails to program the device.

 

The error message was:

Exception Encountered during Import From Device:Error importing aardvark.dll
Architecture of aardvark.dll may be wrong
No module named aardvark
DLL load failed: The specified module could not be found.
<type 'exceptions.ImportError'>

 

We also tried the same process to program the TPS65982 EVM (Device —> ReFlash EVM Image (recovery), and received the same error message. Any idea on what’s causing this or how to fix it?

In most cases this error is caused by using the wrong aardvark.dll version or install path. 

  • Look at your version of Windows (32 Bit/64 Bit/86 Bit)
  • Download the Aardvark API from the Total Phase website, it contains the aardvark.dll file.
  • Unzip the package.
  • Copy the aardvark.dll to the folder c://windows/system32
windows_version

I2C Debug Tools

Aardvark I2C/SPI Host AdapterAardvark I2C/SPI Host Adapter
Aardvark I2C/SPI Host Adapter
Product Nr.: TP240141
TP240141 - The Aardvark I2C/SPI Host Adapter is a fast and powerful I2C bus and SPI bus host adapter through USB.

€403.41*
Beagle I2C/SPI Protokoll Analyzer - Total Phase
Beagle I2C/SPI Protocol Analyzer
Product Nr.: TP320121
TP320121 - Beagle I2C/SPI Protocol Analyzer supports I2C, SPI, or MDIO and comes we a free monitoring software.

€498.61*
Promira I2C/ SPI/ eSPI Platform
Product Nr.: TP500110-S
Promira is a universal hardware platform usable for a variety of applications, like I2C, SPI and eSPI.

From €1,071.00*