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:
- Made the /dev/ttyUSB0 device visible in the container and given it world read/write access
- Run the install script with following results:
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.)
- Run the ... diagnostic command
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!