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:CCS 20.0.2赢得了##39;在 Ubuntu 24.04中无法打开

Guru**** 2466550 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1472293/ccstudio-ccs-20-0-2-won-t-open-in-ubuntu-24-04

器件型号:CCSTUDIO

工具与软件:

您好!

我已经运行了 CCS 安装过程: https://software-dl.ti.com/ccs/esd/documents/users_guide_ccs_20.0.0/ccs_installation.html#installation-process、并安装了所需的依赖项 libc6-i386、libusb-0.1-4和 libtinfo5。  当我运行 install drivers.sh 脚本时、它似乎突然退出、我无法找出原因。

$ sudo ./install_drivers.sh
TI 权限文件安装成功完成。 Linux 的一些发行版
可能需要重新启动才能使驱动程序正常工作。 适用于其他应用
发行版、重新启动 udev 就足够了。 立即重新启动 udev ...
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
Bh usb560安装成功完成。 Linux 的某些版本
需要重新启动才能使驱动程序正常工作。 适用于其他应用
重新启动 udev 的版本就足够了。 立即重新启动 udev ...
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
./ bh_driver_install.sh:第24行:/home/jsava/ti/ccs2002/ccs/ccs_base/emulation/Blackhawk/Install/bh_emulation_install.log:权限被拒绝
卸载/etc/udev/rules.d/99-jlink.rules
JLink 安装成功完成。 Linux 的某些版本
需要重新启动才能使驱动程序正常工作。 适用于其他应用
重新启动 udev 的版本就足够了。 立即重新启动 udev ...

当我运行 Ubuntu 24.04所需的添加命令时、我收到权限错误。

$ sudo chown root chrome-sandbox
chown:更改"chrome-sandbox"的所有权:不允许操作
$ sudo chmod 4755 chrome-sandbox
chmod:更改"chrome-sandbox"的权限:不允许操作

我在启动应用程序时没有任何运气。 如有任何帮助、将不胜感激。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    这是奇怪的。 第一个问题与安装日志有关、我对此不是很担心。

    第二个问题较为严重、因为您将无法运行 CCS。 如果您在 chrome-sandbox 文件夹上运行 lsattr、它设置为什么?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Ki、

    我找到了我的问题。 我的家庭主管连接到我的公司网络文件系统、而不是我的本地文件系统。 我删除了 CCS 文件夹并将其重新下载到本地目录、现在可以打开 CCS 而不会出现任何问题。

    谢谢!

    职位

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    很高兴您弄清了这个问题。 感谢您的更新!