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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,487 Views
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.

Labels (1)
0 Kudos
1 Solution
1,067 Views
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.

View solution in original post

0 Kudos
10 Replies
1,067 Views
addiyi
NXP Employee
NXP Employee

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

Adrian

0 Kudos
1,067 Views
tiagobrusamarel
Contributor V

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

0 Kudos
1,068 Views
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 Kudos
1,067 Views
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 Kudos
1,067 Views
addiyi
NXP Employee
NXP Employee

Try installing CW as regular user in user home.

Adrian

0 Kudos
1,067 Views
tiagobrusamarel
Contributor V

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

installer.png

0 Kudos
1,067 Views
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 Kudos
1,067 Views
tiagobrusamarel
Contributor V

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

0 Kudos
1,067 Views
tiagobrusamarel
Contributor V

It doesn't even start the installer.

0 Kudos
1,067 Views
tiagobrusamarel
Contributor V

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

0 Kudos