CCS and DDRv validation can only connect as root, not as regular Linux user

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

CCS and DDRv validation can only connect as root, not as regular Linux user

跳至解决方案
1,566 次查看
tiagobrusamarel
Contributor V

Hello!

 

When I try to use the DDR validation tool under Linux I can't get any target connection when running CodeWarrior as a regular Linux user. It only works if I run CW as root. A similar symptom occurs when trying to access the CCS server console. I can't issue any command when running as a regular user, but it works fine when running as root.

 

Could anyone help me with this issue?

 

I guess it's related to Linux (udev) permissions. I tried everything I know, from reinstalling the CW software, the USB script udev rules, etc. My OS is Ubuntu 14.04.1.

 

Regards,

 

Tiago.

标签 (1)
0 项奖励
1 解答
1,146 次查看
addiyi
NXP Employee
NXP Employee

From installation wizard you can set the installation path to be in your user home. Installing in /opt/Freescale sudo is necessary to be used when starting CW.

在原帖中查看解决方案

0 项奖励
10 回复数
1,146 次查看
addiyi
NXP Employee
NXP Employee

Do you install as root, or as regular user with sudo permissions?

Adrian

0 项奖励
1,146 次查看
tiagobrusamarel
Contributor V

I've tried both methods. None worked for me.

0 项奖励
1,147 次查看
addiyi
NXP Employee
NXP Employee

From installation wizard you can set the installation path to be in your user home. Installing in /opt/Freescale sudo is necessary to be used when starting CW.

0 项奖励
1,146 次查看
tiagobrusamarel
Contributor V

No way. After installing in home folder I still not able to connect to target as a regular user. Only works when running as root.

0 项奖励
1,146 次查看
addiyi
NXP Employee
NXP Employee

Try installing CW as regular user in user home.

Adrian

0 项奖励
1,146 次查看
tiagobrusamarel
Contributor V

Installer says that I must be logged as root to proceed...

installer.png

0 项奖励
1,146 次查看
addiyi
NXP Employee
NXP Employee

Sudo rights are necessary for installing the dependencies and USB drivers. Try to use regular user, but using sudo ./setuplinux.sh (gksudo`/`gksu ./setuplinux.sh for graphical mode).

Adrian

0 项奖励
1,146 次查看
tiagobrusamarel
Contributor V

Still installing at '/opt/Freescale' with root credentials.

0 项奖励
1,146 次查看
tiagobrusamarel
Contributor V

It doesn't even start the installer.

0 项奖励
1,146 次查看
tiagobrusamarel
Contributor V

Sorry, my mistake. I was running 'setuplinux.sh' instead of 'setuplinux'.

0 项奖励