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: Cannot install CCS Theia in unattended mode in Docker container

Part Number: CCSTUDIO

Tool/software:

I'm trying install CCS Theia in an Ubuntu 22.04 Docker container using unattended mode. However, it fails with the following error:

$ ./ccs_theia_setup_1.4.0.00012.run --mode unattended --enable-components PF_MSPM0
CCS_ERROR: Unable to install executable /tmp/ccs_e1452a81-9c57-4d1c-6344-00ae7b60ff32/BLACKHAWK_EMUPACK/bh_emupack_setup64_9.0.0.002.bin: Error running /tmp/ccs_e1452a81-9c57-
4d1c-6344-00ae7b60ff32/BLACKHAWK_EMUPACK/bh_emupack_setup64_9.0.0.002.bin --prefix "/root/ti/ccstheia140/ccs" --eclipseprefix "/root/ti/ccstheia140/ccs/eclipse" --mode unattended
--installer-log "/root/ti/ccstheia140/ccs/install_logs/20240530184556" : child process exited abnormally.

When I inspect the installer log, it's failing to install files related to the Blackhawk drivers:

Executing /root/ti/ccstheia140/ccs/ccs_base/emulation/Blackhawk/Install/bh_driver_install.sh --install
Script exit code: 1

Script output:
ERROR: failed to copy /root/ti/ccstheia140/ccs/ccs_base/emulation/Blackhawk/Install/71-bh-permissions.rules to /etc/udev/rules.d/71-bh-permissions.rules

Script stderr:
cp: cannot create regular file '/etc/udev/rules.d/71-bh-permissions.rules': No such file or directory

Error running /root/ti/ccstheia140/ccs/ccs_base/emulation/Blackhawk/Install/bh_driver_install.sh --install: cp: cannot create regular file '/etc/udev/rules.d/71-bh-permissions.rules
': No such file or directory
Problem running post-install step. Installation may not complete correctly
Error running /root/ti/ccstheia140/ccs/ccs_base/emulation/Blackhawk/Install/bh_driver_install.sh --install: cp: cannot create regular file '/etc/udev/rules.d/71-bh-permissions.rule
s': No such file or directory
Problem running post-install step. Installation may not complete correctly
Error running /root/ti/ccstheia140/ccs/ccs_base/emulation/Blackhawk/Install/bh_driver_install.sh --install: cp: cannot create regular file '/etc/udev/rules.d/71-bh-permissions.rule
s': No such file or directory

Is there a way to skip installing the debug probe drivers like Blackhawk? I just need to be able to compile projects.

The workaround is to install the udev system package.

  • Hi Gordon,

    I'm not aware of any way to disable the BH debug probe installation in the CCS Theia right now. I will need to review the current situation and see how we can improve the usability of this case during installation.

    Thanks,

    Ricky