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.

CODECOMPOSER: CCSTUDIO 20.1.1 running in Docker

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: CCSTUDIO, CC1310

Tool/software:

Hi,

Is there an update to the related issue where running CCSTUDIO 12.8.1 works but not 20.1.1?

We are relying on running the tools inside Docker container and would like to update our tool chain. Please create a bug that can be tracked and provide an update.

Best regards Peter

  • Unfortunately there is not much update to provide. Please note that running CCS in a docker environment is not an officially supported environment. It is not an environment we officially test for. That said, we do acknowledge it is becoming more and more a popular one and something we'd like to have working. 

    Tracking link for this ticket: https://sir.ext.ti.com/jira/browse/EXT_EP-12389

    Thanks

    ki

  • Hi,

    Just a short update. CCS 20.1.1 works fine using Virt-Manager but not LXD or Incus VM's. It is important to us that installation/configuration can be done using a script so please prioritize this.

    Besat regards Peter

  • Thank you for the additional details. I have added them to the internal notes for the ticket.

  • Hi,

    I've managed to get CCS 20.1.1 working using a Incus VM with Debian Bookworm, so it is somehow related to Ubuntu. I've pasted a script below and expect it to work with LXD as well. Please not that the CCS install_drivers.sh needs to be run and the USB must be detached/attached for the drivers to activate.

    Regards Peter

    #!/bin/bash
    
    VM_NAME="my-vm"
    IMAGE="images:debian/bookworm"
    
    # Launch VM
    incus launch "$IMAGE" "$VM_NAME" --vm -c limits.cpu=4 -c limits.memory=8GiB --device root,size=20GiB
    
    # Wait a few seconds for the VM to boot
    sleep 15
    
    # Add ubuntu user
    incus exec "$VM_NAME" -- bash -c "adduser ubuntu --disabled-password <<< ''"
    incus exec "$VM_NAME" -- bash -c "yes dummy | passwd ubuntu"
    incus exec "$VM_NAME" -- bash -c "usermod -aG sudo ubuntu"
    
    # Update package lists and install packages inside the
    incus exec "$VM_NAME" -- bash -c "apt update && apt install -y git libc6-i386 passwd wget build-essential python3-dev python-is-python3 python3-minimal python3-pip python3-pip-whl python3-setuptools-whl python3-venv wget unzip  libtinfo5 libusb-0.1-4 libusb-1.0-0-dev libgconf-2-4 libasound2 libatk1.0-0 libcairo2 libgtk-3-0 libxi6 libxtst6 libcanberra-gtk-module binutils libc6-i386 libnss3 libdrm2 libgbm1 libsecret-1-0 libsecret-1-dev libglib2.0-dev"
    
    incus exec "$VM_NAME" -- bash -c "apt update && apt install -y spice-vdagent gnome-core gdm3 task-gnome-desktop --no-install-recommends && reboot"
    
    # Wait a few seconds for the VM to boot
    sleep 10
    
    # Download and install CCS
    incus exec "$VM_NAME" -- bash -c "/bin/su -c 'wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-J1VdearkvK/20.1.1/CCS_20.1.1.00008_linux.zip' - ubuntu"
    
    incus exec "$VM_NAME" -- bash -c "/bin/su -c 'unzip CCS_20.1.1.00008_linux.zip' - ubuntu"
    
    incus exec "$VM_NAME" -- bash -c "/bin/su -c './CCS_20.1.1.00008_linux/ccs_setup_20.1.1.00008.run --unattendedmodeui none --mode unattended --enable-components PF_WCONN,PF_MSP430' - ubuntu"
    
    # Cleanup
    incus exec "$VM_NAME" -- bash -c "/bin/su -c 'rm CCS_20.1.1.00008_linux.zip' - ubuntu"
    incus exec "$VM_NAME" -- bash -c "/bin/su -c 'rm ./CCS_20.1.1.00008_linux -r' - ubuntu"
    
    # Manually 
    # Run CCS install_drivers.sh and detach/attach launchpad

  • Hi Peter, 

    When you said 20.1.1 is not working, where exactly was the issue? The reason I'm asking is because I had tried installing the same version inside docker and the importing and building worked fine through commands. But I did face failures at random times but mounting a different volume mostly had solved the issue. I now have to work with Azure VMs and there also the basic commands have worked fine (import and build), but I would like to gain insight into the potential challenges I might face as I continue.

    Thanks and Regards,

    Sudeshna

  • Hi Sudeshna,

    The issue is connecting to a Launchpad like the CC1310 via USB and use the debugger. Trying to connect using CCS 20.1.1 result in a COM port error, but everything else is ok.

    Best regards Peter