LPC Link 2, problem on Ubuntu 13.10

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

LPC Link 2, problem on Ubuntu 13.10

919 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by abonent on Wed Mar 26 01:25:54 MST 2014
Hello,
I'm experiencing problems with LPC Link 2 on LPCXpresso IDE.

I have LPC Link 2 connected to target with LPC1114, on machine with Ubuntu 13.10 32-bit and LPCXpresso v6.1.0 [Build 164] [2013-10-21]. My system can see LPC Link 2

Quote:

# lsusb
Bus 002 Device 044: ID 04d8:fa95 Microchip Technology, Inc.
Bus 002 Device 034: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 002 Device 056: ID 1fc9:000c NXP Semiconductors
Bus 002 Device 033: ID 0b38:0010 Gear Head 107-Key Keyboard
Bus 002 Device 031: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


After succesful build I hit the Debug button, LPCXpresso IDE appears to catch up with LPC Link 2
http://imgur.com/GrdWZA8
however after a second it emits this error
http://imgur.com/cN71KEY
after clicking OK it goes like this
http://imgur.com/WZ1IWDb
So I can't load target or debug it.
When I issue lsusb command now

Quote:

# lsusb
Bus 002 Device 044: ID 04d8:fa95 Microchip Technology, Inc.
Bus 002 Device 034: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 002 Device 057: ID 21bd:0006
Bus 002 Device 033: ID 0b38:0010 Gear Head 107-Key Keyboard
Bus 002 Device 031: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


However, if I replace LPC Link 2 with LPC Link coming from LPCXpresso board (I cut the board in two and added pinheader on the debug part) I can work with target as expected - LPC Link loads target and I can step/run program.
I tried another computer with Ubuntu 13.10 64-bit (installed as per user manual) and LPC Link 2 doesn't work here too, with the same error.
On machine with Windows 7 64-bit, both LPC Link 2 and LPC Link from LPCXpresso board work as expected.

What I'm I doing wrong here?
0 Kudos
Reply
2 Replies

908 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by abonent on Wed Mar 26 12:20:13 MST 2014
I swear I ussued this commands before.
cd /lib/i386-linux-gnu
sudo ln -sf libudev.so.1 libudev.so.0

On my 64-bit system I can see it in terminal history, as I tried it before, with no results and then I asked here. I issued it again and - LPC Link 2 started to work.

Sorry for bothering you with stupid question answered in FAQ.
0 Kudos
Reply

908 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Mar 26 01:31:00 MST 2014
Did you read the FAQ?
http://www.lpcware.com/content/faq/lpcxpresso/connection-refused-linux

BTW: If you press the "Help on this Error" button in the Error Dialog, it would have displayed this FAQ for you...
0 Kudos
Reply