LPC-Link1 no longer functioning

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

LPC-Link1 no longer functioning

6,201件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by robert hulsebos on Fri Mar 25 16:23:01 MST 2016
I have both an LPC-Link1 and LPC-Link2 debugger probe which I use for debugging LPC1769 processors. I am using a 64-bit Windows 8.1 PC with LPCXpresso v8.1.4 on it.
Debugging with LPC-Link2 works fine. The LPC-Link1 no longer seems to work. I am sure I had it working before, but that was a couple of months ago - most likely when I was still running LPCXpresso v7.9.2.
I preferred the LPC-Link2, so the LPC-Link1 was not touched for a while. However, this situation has changed and now I want to use both for debugging two processors at the same time.

What is the problem?

The LPC-Link1 is detected by Windows and by LPCXpresso. It is initialized by LPCXpresso with the message 'Initializing LPC-Link (WinUSB) or RDB-Link with LPCXpressoWIN.enc'
No errors there. But when LPCXpresso needs to connect to the emulator is says 'No compatible emulators available ...'
Please find attached a PDF file with screen copies and additional info.

I already tried the following:
1. Debugging the same processor with LPC-Link2 - all works fine.
2. Swapping LCP-Link1 with LPC-Link1 of colleague - same problem
3. Removing and re-installing Windows driver for the LCP-Link1 - same problem
4. Try different USB port - same problem
5. Try powered USB hub - same problem
6. Try the LCP-Link1 on other PC (= Laptop, Windows 10) with same LCPXpresso v8.1.4 - all works fine.

So my conclusion is the target LCP1769 based hardware is fine, the LPC-Link1 hardware is fine, it has to do with installation under Windows 8.1 ?

Any suggestions?
0 件の賞賛
返信
11 返答(返信)

5,646件の閲覧回数
lpcware
NXP Employee
NXP Employee
bump
0 件の賞賛
返信

5,646件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Apr 01 11:27:38 MST 2016

Good to hear. Here's a link to an old FAQ which covers issues such as these.

Regaining debug access to target MCU

Thanks and regards,
LPCXpresso Support
0 件の賞賛
返信

5,646件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kbalar on Fri Apr 01 09:28:32 MST 2016
Lastly I have tried to connect board with using other USB cable and now it is detected correctly. :)

So USB cable is no more working.

Thank you for your time.
0 件の賞賛
返信

5,646件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Mar 30 10:54:07 MST 2016

KBalar,

It would seem at least the Link part of the board is damaged.

Thanks and regards,
LPCXpresso Support
0 件の賞賛
返信

5,646件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kbalar on Wed Mar 30 10:44:35 MST 2016
Other devices are working fine on same port. Also I have tried LPC-1769 board on other USB ports as well with no luck.
Below is output of listusb.cmd script
C:\nxp\LPCXpresso_8.1.4_606\lpcxpresso\bin\Scripts>listusb.cmd
VID: 0000 PID: 0002 (Unknown USB Device (Device Descriptor Request Failed))
VID: 0BDA PID: 5756 (USB Composite Device)
VID: 0BDA PID: 5756 (USB Video Device)
VID: 0CF3 PID: 0036 (Dell Wireless 1705 Bluetooth)
VID: 8087 PID: 8000 (Generic USB Hub)
C:\nxp\LPCXpresso_8.1.4_606\lpcxpresso\bin\Scripts>


Did you mean to say Link board is damaged or LPC-1769 target board is damaged?
Target board is working fine. The firmware I did flashed before this issue, is working fine and giving console log output on UART.

I have other board e.g LPCXpresso LPC11C24 REV B @2010. With my Laptop this board is also not recognized. It gives unknown USB device.

USB mouse, Pen-drive, TTL USB cable, Android Phone all these devices are working fine with laptop.


0 件の賞賛
返信

5,646件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Mon Mar 28 09:46:24 MST 2016

This isn't the same sort of problem as the user who started this thread. In your case, I suspect a hardware problem. If other USB devices work on the same port, I have to conclude your LPC-1769 board has suffered damage.

One thing you can do is run the listusb.cmd script in the Scripts folder. This lists all the USB devices seen by your system. I'd like to see if the console output from this script (attach to your reply) also shows an Unknown device.

Thanks and regards,
LPCXpresso Support
0 件の賞賛
返信

5,646件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kbalar on Mon Mar 28 08:34:25 MST 2016
I am using LPCXpresso LPC1769 REV C @ 2010

I have tried to "Update Driver Software" as options suggested by you.
But windows 10 says that driver software is already installed and they are up to date.

Attached is image for this error. Also this image shows snap shot of installed driver on my Laptop.
0 件の賞賛
返信

5,646件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by robert hulsebos on Mon Mar 28 08:07:00 MST 2016
Thanks! Your suggestion did not fix my problem, but helped me find the solution myself.
I found that the default settings for the LPC-Link Options tab of the Windows | Preferences menu are causing the problems with the LPC-Link1. See attached PDF document for details.
0 件の賞賛
返信

5,646件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Sat Mar 26 15:48:51 MST 2016

Is your LPC1769 the LPC-Link1 or newer "LPCXpresso1769 with CMSIS-DAP rev D"? In any case, it's possible the LPC-Link1 device driver did not install. And, based on what you say it seems your system doesn't even see an LPC Device or a device with DFU capabilities.

Find the Unknown Device in the Device Manager. Right click on the entry, and select "Update Driver Software", then "Browse my computer for driver software". Enter the path to the LPCXpresso Drivers folder, e.g. "C:\nxp\LPCXpresso_8.1.4_606\Drivers\" and see if Windows 10 will install the driver software". Report your results.

Thanks and regards,
LPCXpresso Support
0 件の賞賛
返信

5,646件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Sat Mar 26 12:59:00 MST 2016

Quote: robert hulsebos
I have both an LPC-Link1 and LPC-Link2 debugger probe which I use for debugging LPC1769 processors. I am using a 64-bit Windows 8.1 PC with LPCXpresso v8.1.4 on it.
Debugging with LPC-Link2 works fine. The LPC-Link1 no longer seems to work. I am sure I had it working before, but that was a couple of months ago - most likely when I was still running LPCXpresso v7.9.2.
.
.
.
Any suggestions?




Have you changed any of the Windows -> Preferences -> LPCXpresso settings? If you haven't done so already, delete your launch configurations. Then, select your project and use the Quickstart Panel Debug project feature. This will recreate your project launch configurations. The LPC-Link1 probes on LPCXpresso 8.1.x t talk through the LinkServer by default. Note the default LPC-Link1 probe used by LPCXpresso 8.1.x on Windows is HID, not WinUSB unless you're using the RDBLink board.

There's a "Show legacy emulators for Cortex-M parts" checkbox at Windows -> Preferences -> LPCXpresso -> Debug Emulator Selection. If you don't want to debug the LPC-Link1 through the LinkServer, this will give you a choice at connection time to use the legacy debug utilities.

Thanks and regards,
LPCXpresso Support
0 件の賞賛
返信

5,646件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kbalar on Sat Mar 26 06:59:03 MST 2016
Hi,

I am facing same problem.
In my case situation is even bad.

I am using 64 bit windows10. Today I have installed Latest LPCXpresso 8.1.4(606). After installing this version I have started facing issue.
I am Using LPCXpresso LPC1769 Development Board with LPC-Link.

Issue
When I connect this board to my laptop via USB, window 10 shows message that USB device is not recognized.
I have uninstalled LPCXpresso 8.1.4 and and all drivers and then reinstall LCPXpresso 8.1.4. Also rebooted my laptop. But still facing same issue e.g Window does not recognize the USB device (In Control Panel\Hardware and Sound\Devices and Printers it shows Unknown USB device).

Prior to install 8.1.4 I was using LPCXpresso 7.9.0 and It was working fine.

0 件の賞賛
返信