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,687件の閲覧回数
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,267件の閲覧回数
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,267件の閲覧回数
addiyi
NXP Employee
NXP Employee

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

Adrian

0 件の賞賛
返信
1,267件の閲覧回数
tiagobrusamarel
Contributor V

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

0 件の賞賛
返信
1,268件の閲覧回数
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,267件の閲覧回数
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,267件の閲覧回数
addiyi
NXP Employee
NXP Employee

Try installing CW as regular user in user home.

Adrian

0 件の賞賛
返信
1,267件の閲覧回数
tiagobrusamarel
Contributor V

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

installer.png

0 件の賞賛
返信
1,267件の閲覧回数
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,267件の閲覧回数
tiagobrusamarel
Contributor V

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

0 件の賞賛
返信
1,267件の閲覧回数
tiagobrusamarel
Contributor V

It doesn't even start the installer.

0 件の賞賛
返信
1,267件の閲覧回数
tiagobrusamarel
Contributor V

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

0 件の賞賛
返信