Other Parts Discussed in Thread: USB2ANY, TPS63810
Tool/software:
I had a very frustrating experience getting my USB2ANY connected to a Debian host and wanted to share to help other Linux users. This post details the problems I encountered installing SLVC783 — TPS6381xEVM GUI Linux (USB2ANY gui), documents the solutions, and offers some suggestions. This information may apply to other power management EVM + USB2ANY + gui software for Linux.
The following notes are for Debian but may apply to other Linux variants - modify as necessary. After executing TPS63810-0.7.0.setup-linux-x64_7.3.0.run, I found errors and omissions in the installation readme here:
~/guicomposer/runtime/gcruntime.v7/TPS63810/docs/readme.txt
=====
When installing dependencies, i386 architecture needs to be added otherwise apt can't find libusb-1.0-0-dev:i386
# dpkg --add-architecture i386
# apt-get update
and then
# apt-get install libusb-1.0-0-dev:i386
=====
Small nit-pick but
cd linux/TICloudAgentHostApp
should be
cd ../linux/TICloudAgentHostApp
=====
***** Do not execute install.sh yet *****
The USB2ANY is not recognized as a teletype device (tty) so the documentation is confusing. USB2ANY is recognized as a usbhid, and udev rules need to be added. This post helped a lot: e2e.ti.com/.../tmp117evm-tmp117evm-gui-cannot-connect-to-usb-device
From that post, I think the best way is to edit ~/guicomposer/runtime/gcruntime.v7/linux/TICloudAgentHostApp/install_scripts/71-ti-permissions.rules by appending the following line:
KERNEL=="hid*",MODE:="0666"
(note the ':' after MODE)
You could instead add a rules file named usbhid.rules in the /etc/udev/rules.d/ directory as the original documentation states but there is an error.
ATTRS(idVendor)=="2047", MODE="0666"
needs curly braces, like this
ATTRS{idVendor}=="2047", MODE="0666"
=====
Becuase of the Debian /usr Merge, for both msp430uif_install.sh and ti_xds100_linux_install.sh
/sbin/service udev restart
all need to be changed to
/usr/sbin/service udev restart
Now you can execute install.sh
# ./install.sh --install
If restart fails from within the script you can try manual reload
# udevadm control --reload-rules
# udevadm trigger
If that fails then reboot.
=====
I did all of the above and still my connection failed. It turns out that my USB2ANY needed a firmware update. The crappy part is that the Linux gui software even when installed properly won't indicate that an update is needed when the USB2ANY is plugged in. Equally bad is that the only way to update the firmware is with Windows software :( USB2ANY has gui software support for Linux/Mac/Windows but Linux/Mac users get left out for firmware updates (um... ok, thanks).
Anyway, I instlled USB2ANY_2.8.2.0_SDK, slvc782b, and slvc695 to a Windows box I had laying around and was able to update the firmware. I honestly don't remember which one worked but it was one of those. After that I was finally able to connect the USB2ANY to the Debian host.
$ ./launcher.lnx
and plug in the USB2ANY
I thought some people may find this info helpful.