This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMDSEMU110-U: Energytrace 'stune' program shows 'Failed to load argtable2.dll' when entering 'connect' command.

Part Number: TMDSEMU110-U
Other Parts Discussed in Thread: ENERGYTRACE

Tool/software: Code Composer Studio

I have successfully been using 'stune.exe' that came with code composer studio 10 to profile current on a target with my XDS110.

However, I am trying to replicate this setup on a different computer.  After a fresh install of CCS10, I try using energytrace via the stune command line program, and it shows this error about failing to load argtable2.dll when I type the 'connect' command.   argtable2.dll is in the same directory as stune. I'm on Windows 10 64 bit, running as administrator.

Any Ideas?   maybe there is a 32 bit version of argtable2.dll out there I could try?

  • Hi,

    Unfortunately I haven't seen this issue before and I couldn't find any reports in e2e, thus I don't know what may be happening in your case. 

    I can't reproduce this issue in the CCS versions I have installed here - can you confirm you are using CCSv10.0.0.00010 and is using the TI Emulators component version 9.1.0.00001? To get information about this last component, go to menu Help --> About --> Installation Details. 

    Also, can you run a SHA hash on the archive and see if it matches with what I have here? (a few utilities such as sha256sum can do it)

    SHA256: 2DDC0D1E9AD220126ABE119D5DC7735A175BD71D4766D1706AC3CE89B2AB95F9

    My suspicion is that somehow this DLL has become corrupt in some way. 

    Regards,

    Rafael

  • Daniel Cambron said:
    I try using energytrace via the stune command line program, and it shows this error about failing to load argtable2.dll when I type the 'connect' command. 

    The argtable2.dll from CCS 10 has a dependency on MSVCR120.DLL, which is from Microsoft Visual C++ 2013 Redistributable (x64).

    Can you try downloading the vcredist_x64.exe from the Microsoft Visual C++ Redistributable Packages for Visual Studio 2013 and install that on the computer which doesn't work to see if that fixes the issue?

    [Note that I had a Windows 10 x64 PC in which CCS 10 was installed, but I had to re-install Windows 10 after the computer failed to boot. This left CCS installed under c:\ti but the Visual C++ Redistributable Packages got lost during the Windows 10 re-installation so I have been working out which Visual C++ Redistributable Packages to manually install to get CCS working without having to re-install CCS. By doing this I proved that if Microsoft Visual C++ 2013 Redistributable (x64) is not installed then stune reports "Failed to load argtable2.dllstune" on an attempt to connect.]