LPC-Link 2 do not start debugging on Fedora, except when running on root.

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

LPC-Link 2 do not start debugging on Fedora, except when running on root.

336 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by C6H6 on Wed Apr 13 02:25:19 MST 2016
Hello?

I`m running LPCXpresso 8.1.4 on Fedora 23 (x86-64).

It recognizes very well both running root or running normal account.

But, When I start debugging, root runs debug session very well, but normal account cannot run and display these messages:


LPCXpresso RedlinkMulti Driver v8.1 (Mar 11 2016 13:35:29 - crt_emu_cm_redlink build 672)
Failed on connect: Ee(36). Could not connect to core.
No connection to emulator device

And dialog says:


02: Failed on connect
  02: Failed on connect
  Could not connect to core.
  31: No connection to emulator device


What sould I do? Please help me.

My account is in these groups:

dialout
lock
wheel

and selinux settings is "permissive"
0 Kudos
3 Replies

314 Views
lpcware
NXP Employee
NXP Employee
bump
0 Kudos

314 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by C6H6 on Thu Apr 14 11:37:06 MST 2016
I gave manualy 777 permission to /dev/hidraw2 (LPC-Link2 has configured for use this device file), and now I get access normally.

Hmmm.. what method that I configuring .rules file for give this permission automatically is?
0 Kudos

314 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vtw.433e on Wed Apr 13 09:02:22 MST 2016
When your LPC-Link2 is plugged in and booted, make sure you have WORLD read/write access to the USB port. This is normally taken care of by the udev rules supplied with LPCXpresso, but if something has gone wrong...
0 Kudos