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.
Hi all,
I'm working on getting the debugger to run (scripted) in a Docker container. Initial testing is with a controlCARD and the XDS100 debugger via USB. Here is what I've done so far:
root@f5e1e6f3e363:/# /opt/ti/ccsv6/install_scripts/install_drivers.sh TI XDS100 installation completed successfully. Some versions of Linux require a reboot in order for the driver to function properly. For other versions restarting udev is sufficient. Restarting udev now ... * udev does not support containers, not started * udev does not support containers, not started bh usb560 installation completed successfully. Some versions of Linux require a reboot in order for the driver to function properly. For other versions restarting udev is sufficient. Restarting udev now ... * udev does not support containers, not started root@f5e1e6f3e363:/#
(Seems not too encouraging.)
root@f5e1e6f3e363:/# /opt/ti/ccsv6/ccs_base/common/uscif/xds100serial Scanning for XDS100 emulators... Error #1 occurred while scanning for XDS100 emulators. root@f5e1e6f3e363:/#
Indicates a problem but not much more.
Is there any hope to get this running inside a Docker container? The environment is a fairly stripped down Ubuntu 14.04 LTS. My concern is that the Docker container does not provide sufficient USB support for this to work. Are there any possible alternatives? Is there a way to get more feedback on what is not working?
Are there other alternatives? I see that the XDS560 comes in an Ethernet variant. If that can be made to work over a network it should also work in a Docker container since networking is well supported in that environment. Eventually we will need to use a JTAG debugger anyway when we have our custom H/W.
Thanks!
Hi,
Please apologize for the delay. I am not very knowledgeable about docker and have been searching around on the internet to try and find out about the integration of udev rules in a container environment, but so far I couldn't find anything conclusive.
Therefore I am trying to create a docker container so I could reproduce this issue, although this may take a few days.
Regarding the use of Ethernet JTAG debug probes (XDS560v2, XDS220), these tend to be very agnostic with regards to the environment they are running and therefore your chances of success are higher. These debug probes require a CCS license - if you don't have one, it can be obtained at a great discount here.
Regards,
Rafael
Hi Rafael,
I appreciate any help you can provide. We are fully licensed for CCS6. I have a license on my desktop and we have also installed a license file on our Linux build server so it seems that I'm using two licenses. Hopefully there will not be an issue with licensing the tools within a Docker container. So far there seems not to be as I can build and start the debugger. It seems to be complaining about not finding the device vs. checking the license.
I am presently trying to get the folks who spend money to buy the XDS560 w/Ethernet. It's a bit more than I care to spend on my pwn. ;)
thanks,
hank