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.

CCSTUDIO: Disabling Blackhawk and Segger when installing CCS unattended in linux

Part Number: CCSTUDIO


Tool/software:

I'm trying to build a Docker container to use as a build server for an upcoming project.  I'm not the first to try this, but I think I ran into a new problem that didn't exist in previous versions of CCS.

The Blackhawk driver installation process runs into a few problems with udev.  I'm not super familiar with udev, but I suspect the issue comes down to the Docker container not having a physical USB interface. Ultimately, after two hours of trying to work around this issue, I ran into a problem where bh_driver_install.sh can't write to /sys/devices/LNXSYSTM:00/uevent because it's read-only. This is an intentional limitation of Docker that cannot be worked around.

From what I can tell looking at other Docker containers, previous versions of CCS accepted the flags "--install-BlackHawk false" and "--install-Segger false," but these are no longer supported.

I'd ultimately like the build server to build code and connect to a development kit, but at the moment, I can't even get it to build code.  Do you have any suggestions for how to get this to work?

  • Hello,

    What exact version of CCS are you trying to install? Please note that CCS 20.x does not support selecting which debug probes to install, it just installs everything be default. This applies to both GUI installer and CLI installer. We plan on adding this feature back in a future release:

    https://sir.ext.ti.com/jira/browse/EXT_EP-12145

    Thanks

    ki

  • Good to know that the feature is in the works.

    I'm installing CCS 20.3.0.

    I ultimately found the core of my problem. The Blackhawk installer tried to restart the udev rules, but I didn't have the udev package installed on my Docker container. Installing udev allowed the installation to complete successfully.