Connecting to LPC11U14 on Arch Linux

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

Connecting to LPC11U14 on Arch Linux

856 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by paha5124 on Wed Jun 03 09:47:56 MST 2015
Hello,

I find that I can access my device using lsusb, but when I try to upload code to the board, I get an error that reads "No compatible emulators available.
They may be disconnected, not powered, already in use or not compatible with this target"

I am running on Arch Linux 64-bit with Linux kernel version 4.0.4-2-ARCH.

Relevant output of lsusb:
Bus 001 Device 007: ID 0471:df55 Philips (or NXP) LPCXpresso LPC-Link


Relevant udev rule in /etc/udev/rules.d/85-lpcxpresso.rules
# LPC-Link (unbooted)
SUBSYSTEM=="usb", ATTRS{idVendor}=="0471", ATTRS{idProduct}=="df55", SYMLINK+="devboard", GROUP="users", MODE="0666"


The same is present in the 85-code-red.rules. I have added
SYMLINK+="devboard", GROUP="users", 
to both.

I suspect the problem is that LPC-Link isn't working correctly. I understand that Arch Linux is not supported officially, but any insight will be appreciated.
0 Kudos
6 Replies

716 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by paha5124 on Fri Jun 05 19:14:44 MST 2015
I have identified the correct library. It is only availabe on the AUR. I have found that the recommended version of the software (yes, version 5.2.6) functions as I need it to.

Thank you; my problem is resolved.
0 Kudos

716 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LessThanZero on Thu Jun 04 22:29:30 MST 2015

You need to install the missing library. See page 9 of the LPCXpresso User Guide provided with your installation.

LessThanZero.
0 Kudos

716 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by paha5124 on Thu Jun 04 21:48:06 MST 2015
We were directed to use this older version of the software for a class. Apparently the hardware that we are using does not work well with the newest version of lpcxpresso.

I installed the newest version and ran the commands you suggested. Here is the output:

boot_link1:
Looking for DFU devices...
/usr/local/lpcxpresso_7.8.0_426/lpcxpresso/bin/dfu-util: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
No bootable LPC-Link found
 


I have libusb-1.0.19-1 installed on my machine.

crt_emu_lpc11_13_nxp -info-emu -wire=winusb:
 Ni: LPCXpresso Debug Driver v7.8 (May 28 2015 03:14:03 - crt_emu_lpc11_13_nxp build 181)
0 Emulators available:



0 Kudos

716 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Jun 04 07:18:56 MST 2015
Why on earth are you using a product that is about 2 years old? Why not use that latest version - v7.8.0!
0 Kudos

716 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by paha5124 on Thu Jun 04 07:16:32 MST 2015
Neither commands are found.

Where should these two probgrams be located?

EDIT: I am attempting to run LPCXpresso 5.2.6_2137
0 Kudos

716 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed Jun 03 10:36:50 MST 2015
From a command line, run
boot_link1
crt_emu_lpc11_13 -info-emu -wire=winusb


And post your results
0 Kudos