LPC Link2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC Link2

3,209件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by HRE Haustechnik on Tue Jun 17 04:30:46 MST 2014
Hello

when IDE is started and the LPC LInk2 is via USB cable connected the LED on LPC LINK is on. If i boot the probe or start Debug the LED goes to off and in Terminal with lsusb the name NXP hints. The Fault is Connection Exeption Reason Connection aborted.
My OS is UBUNTU 12.04 newest version. I tried many Downloads and One or Two Times it runs but not perfect.

May anyone help me with this problem

Thanks a lot in advance

Paul
0 件の賞賛
返信
30 返答(返信)

2,649件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LabRat on Sun Jul 27 13:36:58 MST 2014
At least our XP oldies doesn't show problems with V7.3 and Link2  :)

Perhaps you are barking up the wrong tree...
0 件の賞賛
返信

2,649件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Petyo Petkov on Sun Jul 27 12:28:12 MST 2014
Thank you very much for the fast response.
It seems this is the problem.

Thank you again,
Petyo.
0 件の賞賛
返信

2,649件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Sun Jul 27 11:00:08 MST 2014
From the release notes:

* Following the discontinuation of support by Microsoft, Windows XP
   is no longer an officially supported platform. LPCXpresso may
   continue to work on Windows XP but this can no longer be
   guaranteed. LPCXpresso is no longer tested on Windows XP.


0 件の賞賛
返信

2,649件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Petyo Petkov on Sun Jul 27 10:55:30 MST 2014
Hello,

When I boot the  LPC Link 2 from LPCXpresso IDE or LPC_Link2_Config_tool_v1_11_1 I not see LPCLINK2 Redlink in the Device manager and LPCXpresso shows Errors as folows:

Write failed: ProbeList 
at com.crt.debugcommon.emulator.client.RedlinkServerClient.writeln(Unknown Source)
at com.crt.debugcommon.emulator.client.RedlinkServerClient.send(Unknown Source)
.....

"Connect to emulator NXP LPC43xx(JTAG)
No compatible emulators available."

I bought two LPC Link 2 boards and I want to use one as a debugger and another one as a target.

LPC Link 2 debugger is conneted to my PC via USB cable.
LPC Link 2 debugger JP1 is removed.
LPC Link 2 debugger JP2 is plugged( Power of LPC Link 2  target)

LPC Link 2 debugger J7 is connected to LPC Link 2 target J2 via 10 pin cable.

LPC Link 2 target JP1 is removed.
LPC Link 2 target  JP2 is removed.


My PC is with Windows XP Professional, Service Pack 3 and Microsoft .NET Framework 4 installed.
LPCXpresso IDE is vesion: LPCXpresso v7.2.0 [Build 153] [2014-05-19]

The project I try to debug is:
LPC4370_LEDblinky.
CMSIS_LPC43xx_DriverLib is in my work space.


When I connect the USB cable to the PC :
LPC Link 2 debugger Red LED is on;
LPC Link 2 target  Red LED is on;
In the Device Manager I see :LpcDevice>LPC Based USB Devicce.

After Project compilation I not see errors and warnings.

When I start the debugging of the project I see errors described above.
LPC Link 2 debugger Red LED is OFF;
LPC Link 2 target  Red LED is on;
I not see LPCLINK2 Redlink in the Device manager.

When I unplug USB cable from the PC and try to boot Debug Probe using "Boot Debug Probe" button from LPCXpresso IDE I see Message:
"There are no Debug Probes that need booting"

When I plug USB cable to the PC and try to boot Debug Probe using "Boot Debug Probe" button I see "Redlink Server". After I check on the check box and click on the "OK" button there no error messages.
When I check Redlink sever using "Redlink Server" button in the Console window I see :
[Connected on port 3025]
redlink>


Please note, I'm not familiar with Eclipse and NXP ARM  microcontrollers, but I have rich experience with Keil uVision and Texas Instruments ARM based microcontrollers.

I hope anyone can help me to fix this problem.

Thanks in advance.
Petyo.
0 件の賞賛
返信

2,649件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Thu Jul 17 01:02:35 MST 2014
You can some download older versions of LPCXpresso from:
http://www.lpcware.com/lpcxpresso/downloads/older

Ubuntu 14.04 LTS is our current primary Linux development platform, so of course the product works there - provided you follow the installation instructions provided in the product...
0 件の賞賛
返信

2,649件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Bela on Wed Jul 16 10:35:48 MST 2014
Thank you, but unfortunately your recommendation didn't help.

OK, I took note of my Ubuntu is not supported already. By the way: it has been supported, when I bought the LPCXpresso board. When I played the first time with the board, I was able to download the systick blinky example, and it is still there in the uC   ;-)

Is it possible to download an old version of LPCXpresso, for example one out of 2010? Or should I simply forget my LPCXpresso 1768 board?

(I also made a completely new install of Ubuntu 14.04LTS on a separate harddisk. "Of course" LPCXpresso doesn't work there as well, but this belongs to another topic. I will open later a new topic for this issue)
0 件の賞賛
返信

2,649件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by HRE Haustechnik on Wed Jul 16 10:16:31 MST 2014
Hello
thank you very much this problem with the LPC2 Link is solved and runs perfect.

Best Regards

Paul
0 件の賞賛
返信

2,649件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Jul 15 00:57:27 MST 2014
As you will have read in the User Guide, LPCXpresso requires Ubuntu 11 or greater.

However, if you are using the original LPCXpresso board (i.e. an LPC-Link debug adapter), it *may* work if you disable the LPC-Link2 support.

To disable LPC-Link2 support (as mentioned in #4.4.1 of the User Guilde):
[list]
  [*]Window->Preferences
  [*]Expand "LPCXpresso"
  [*]Click on "Debug Emulator Selection"
  [*]Uncheck both "Redlink Server" and "CMSIS-DAP"
[/list]
We have been unable to try this, as we do not have an Ubuntu 10 installed. If this workaround does not work, you will need to upgrade your version of Ubuntu.
0 件の賞賛
返信

2,649件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Bela on Mon Jul 14 13:24:58 MST 2014
Just one more info: I've got LPCXpresso 7.2.0
0 件の賞賛
返信

2,649件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Bela on Mon Jul 14 13:20:39 MST 2014
Ladies and Gentlemen,

I think my problem is very similar to that of HRE Haustechnik's.

My target is an LPC Expresso board with LPC1768 on it. It laid for a long time in the box, and now I have time to learn how to program it.
My PC has Ubuntu 10.04LTS on it, the 64bit version.
(please note: I also tried to install some 32 bit *buntu versions as well, but I couldn't use LPCXpresso on any of them. For the simplicity, I remain on this Ubuntu 10.04LTS, because I know this system the best. It doesn't mean, that I'm a Linux professional!)

Yes, I read the notes on how to run LPCXpresso on 64 bit systems. I tried to follow the guides, but I wasn't successful. The installation of the 32 bit libraries resulted the following message:
E: Package cannot be found: libusb-0.1-4:i38

The symptoms I experience are:

1. The icons on the IDE are somewhat truncated. Should it look like this?
[img]file:///home/bela/Asztal/K%C3%A9perny%C5%91k%C3%A9p-Develop%20-%20project01-src-project01.c%20-%20LPCXpresso%20.png[/img]

2. My first project is an empty one, automatically generated by LPCXpresso. It compiles without problem, but I couldn't connect to the LPCXpresso board.
Here's the error message I receive:
[img]file:///home/bela/Asztal/K%C3%A9perny%C5%91k%C3%A9p-LPCXpresso:%20Exception%20-1.png[/img]

Since I read through this topic, I insert here the following as well:

bela@bela-desktop:~$ strace /usr/local/lpcxpresso_7.2.0_153/lpcxpresso/bin/redlinkserv
execve("/usr/local/lpcxpresso_7.2.0_153/lpcxpresso/bin/redlinkserv", ["/usr/local/lpcxpresso_7.2.0_153/"...], [/* 38 vars */]) = 0
brk(0)                                  = 0x9d8b000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7752000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=95062, ...}) = 0
mmap2(NULL, 95062, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb773a000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9736, ...}) = 0
mmap2(NULL, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7736000
mmap2(0xb7738000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7738000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 J\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=117086, ...}) = 0
mmap2(NULL, 98792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb771d000
mmap2(0xb7732000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14) = 0xb7732000
mmap2(0xb7734000, 4584, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7734000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0Pm\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1434180, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb771c000
mmap2(NULL, 1444264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb75bb000
mprotect(0xb7715000, 4096, PROT_NONE)   = 0
mmap2(0xb7716000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15a) = 0xb7716000
mmap2(0xb7719000, 10664, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7719000
close(3)                                = 0
writev(2, [{"/usr/local/lpcxpresso_7.2.0_153/"..., 58}, {": ", 2}, {"/lib/tls/i686/cmov/libc.so.6", 28}, {": ", 2}, {"version `GLIBC_2.15' not found ("..., 103}, {"\n", 1}], 6/usr/local/lpcxpresso_7.2.0_153/lpcxpresso/bin/redlinkserv: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.15' not found (required by /usr/local/lpcxpresso_7.2.0_153/lpcxpresso/bin/redlinkserv)
) = 194
exit_group(1)                           = ?

Any kind of help is highly appreciated. Please note, I'm not a Linux guru, I just use the system.
0 件の賞賛
返信

2,649件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by HRE Haustechnik on Fri Jun 27 09:15:09 MST 2014
Hi thank you very much it works now perfekt. Iam very lucky
0 件の賞賛
返信

2,653件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Jun 26 01:02:53 MST 2014
He didn't post the entire trace. On Ubuntu, it DOES search /lib/i386-linux-gnu
0 件の賞賛
返信

2,653件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by starblue on Thu Jun 26 00:37:57 MST 2014
According to the strace output it doesn't even search in /lib/i386-linux-gnu, only in /usr/lib and subdirectories (unless there's some symbolic link from /usr/lib to /lib, which we can't see).
0 件の賞賛
返信

2,653件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed Jun 25 07:29:42 MST 2014
Try typing this *exactly* as provided:
sudo sh -c "cd /lib/i386-linux-gnu/ && ln -sf /lib/i386-linux-gnu/libudev.so.0.13.0 libudev.so.1"

Note: This is all on one single line, but may display as wrapped in your browser.
0 件の賞賛
返信

2,653件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by HRE Haustechnik on Wed Jun 25 06:27:28 MST 2014
Hallo
i am not the PC Spezialist. Please let me know how i can restore libudev.so.1
Thanks alot for your great help
0 件の賞賛
返信

2,653件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Jun 25 06:23:00 MST 2014
I told you what is wrong. You have deleted libudev.so.1. It has nothing to do with the USB ports or connections.

To solve your problem, you need to restore libudev.so.1
0 件の賞賛
返信

2,653件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by HRE Haustechnik on Wed Jun 25 06:03:54 MST 2014
Hallo
here is the Terminal output for lsusb:Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 05c8:030e Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 001 Device 004: ID 1690:0741 Askey Computer Corp. [hex]
Bus 002 Device 003: ID 046d:c050 Logitech, Inc. RX 250 Optical Mouse
Bus 002 Device 004: ID 1fc9:000c NXP Semiconductors  (here the LPCLink2 is connected, after boot redlink it shuts of)
anna@ubuntu:~$
My question what link fails and how to manage the fault
Thank a lot
0 件の賞賛
返信

2,653件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Jun 25 00:43:56 MST 2014
Somehow you have managed to delete libudev.so., which is a standard part of an Ubuntu installation.

You will need to reinstall this file for redlinkserv to run.
0 件の賞賛
返信

2,653件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by HRE Haustechnik on Tue Jun 24 22:08:19 MST 2014
Hallo
so i did it now right and here is the Terminal output:stat64("/usr/lib/tls/sse2", 0xffc49250) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/cmov/libudev.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/cmov", 0xffc49250) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libudev.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xffc49250)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/cmov/libudev.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/sse2/cmov", 0xffc49250) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/libudev.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/sse2", 0xffc49250) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libudev.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/cmov", 0xffc49250) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libudev.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686", 0xffc49250)     = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/cmov/libudev.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/sse2/cmov", 0xffc49250) = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/libudev.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/sse2", 0xffc49250)     = -1 ENOENT (No such file or directory)
open("/usr/lib/cmov/libudev.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/cmov", 0xffc49250)     = -1 ENOENT (No such file or directory)
open("/usr/lib/libudev.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=33792, ...}) = 0
munmap(0xf7726000, 97585)               = 0
munmap(0xf751b000, 255240)              = 0
write(2, "Could not load redlink shared ob"..., 37Could not load redlink shared object
) = 37
exit_group(1)                           = ?
anna@ubuntu:~$
These are the last lines if you need the wole Output i will send it with pleasure.
Thank you fore your help
0 件の賞賛
返信

2,653件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Jun 24 07:16:00 MST 2014
Well, you did a few things wrong there. You should have been able to work that out from the message.

1. There is a space between "strace" and the rest of the line
2. use the correct directory for where you installed LPCXpresso. It is unlikely to have "[" and "]" in the directory name
3. Why did you add a capital letter in redLinkserv?

i.e. assuming you installed in the the standard location, you should have typed:
strace /usr/local/lpcxpresso_7.2.0_153/lpcxpresso/bin/redlinkserv


BUT CHECK THE INSTALLATION DIRECTORY!!!
0 件の賞賛
返信