Trouble booting LPC LINK-2

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

Trouble booting LPC LINK-2

4,120 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frankee on Tue Jul 15 08:14:28 MST 2014
I am unable to boot LPC-LINK 2. The program hangs at the start "Initializing RedLink Server with ....". I have no jumpers set on the board, and I have tried switching USB ports. I have an older LINK board, broken apart from a LPCXPRESSO board that works fine, but I have bought a number of the LINK 2's for customers, and it would be nice to get them going. I am running Windows 7 Pro. I have included a snap of where the program hangs, and the available error message.

Any thoughts or suggestions would be very much appreciated.

Program hangs here:


[img=564x223]http://images.devs-on.net/Image/V3X7Sely3nWriTxz-Region.png[/img]


Error Log Message
(This is cryptic to me currently, and I don't understand what it means)

[img=553x259]http://images.devs-on.net/Image/1idLhmOTXV12rhex-Region.png[/img]
0 Kudos
Reply
15 Replies

4,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frankee on Wed Jul 16 10:35:50 MST 2014
Hi,

I booted in Safe Mode, with very few background processes running, that didn't help.
I also prevented all but MS processes from starting-up in normal mode, unfortunately that didn't help.

On the positive side, I tried it on a Windows 8 notebook, one that I don't normally use for development, and it started no problem!
I have not the best, but at least some kind of work-around.

As a side note, I also purchased a new USB card, since many people on the net with the same problem found that helped, but not in this case.

Thanks again for your help.

Regards,
Frank
0 Kudos
Reply

4,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frankee on Wed Jul 16 09:54:35 MST 2014
Thanks for your help, I'll give it a try.
Frank
0 Kudos
Reply

4,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Jul 16 01:56:32 MST 2014
I have had a quick scan of the applications running on your system and the following apps may be worth disabling (one at a time) to see if it is one of those that is preventing LPC-Link2 from booting:

HotKeyUtility
mcu2cam
NeatStartupService
iPoint
NVidia drivers

But there are lots of others, and the above list is only my guess.

As I said, and based on too many years of investigating these sorts of problems, I am 99% certain that ONE of your 3rd party applications is causing the problem. If nothing else, you may want to boot into Safe mode and then run the boot_link2 script to confirm my suspicions.
0 Kudos
Reply

4,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Jul 15 15:02:10 MST 2014
Thank you for your considered opinion on a sample size of two computers. We have 10's of thousands of users of lpc-link2 with a very tiny number of problems, nearly all of which are caused by problems on the users computer.

As I said, I am almost certain that your problem is due to an application you are running. The diagnostics you have run have proved that we are unable to open the device, and this can only be because something else has it opened.

If you run the same usbdiag command on your second computer and post the results, I will compare which applications are running and may be able to highlight possible problem applications. However, you will probably able to do this more quickly yourself.
0 Kudos
Reply

4,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frankee on Tue Jul 15 13:50:25 MST 2014
I tried the LINK-2 in a second computer, a notebook that I also use for development, and that in no way resembles my main desktop computer, and it does the exact same thing, which pretty well throws the "it's your computer's fault" explanation out the window: this can only be a software bug or shortcoming on the LPC side, in my humble opinion. Open wide garbage can, here come half a dozen LPC-LINK2 cards -- still in package :)

That said, does anyone know where I can get some more RED PROBE+ adapters? They had a tendency to fail after a few months use, but until then they worked great.




0 Kudos
Reply

4,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Jul 15 12:42:21 MST 2014
Almost certainly, one of your applications that is 'grabbing' LPC-LINK2 and preventing us from booting it. The is the cause of the 'cannot open device' message. We have had similar problems with 3rd party applications in the past.

You will have to experiment to find out which application, but the likely culprits are
- any mouse extender or keyboard extender applications
- video drivers (nvidia are notorious for this)
- an application that boots firmware when connecting a USB device. I have seen Bluetooth and some network cards do this

I'm sorry, but I can't offer much more help, but I am 99% certain that this is the cause of your problem.
0 Kudos
Reply

4,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frankee on Tue Jul 15 10:32:18 MST 2014
Oops found it:
Output from USBDIAG

C:\nxp\LPCXpresso_7.3.0_186\lpcxpresso\bin\Scripts>usbdiags
Tasks:

Image Name                     PID Services
========================= ======== ============================================
System Idle Process              0 N/A
System                           4 N/A
smss.exe                       408 N/A
csrss.exe                      584 N/A
csrss.exe                      656 N/A
wininit.exe                    664 N/A
winlogon.exe                   720 N/A
services.exe                   768 N/A
lsass.exe                      776 EFS, KeyIso, SamSs
lsm.exe                        784 N/A
svchost.exe                    888 DcomLaunch, PlugPlay, Power
VPDAgent_x64.exe               952 Agent
nvvsvc.exe                    1016 nvsvc
nvSCPAPISvr.exe                296 Stereo Service
svchost.exe                    460 RpcEptMapper, RpcSs
MsMpEng.exe                    780 MsMpSvc
svchost.exe                   1080 AudioSrv, Dhcp, eventlog,
                                   HomeGroupProvider, lmhosts, wscsvc
svchost.exe                   1116 AudioEndpointBuilder, hidserv,
                                   HomeGroupListener, IPBusEnum, Netman,
                                   PcaSvc, SysMain, TrkWks, UmRdpService,
                                   UxSms, Wlansvc, WPDBusEnum, wudfsvc
svchost.exe                   1140 EventSystem, fdPHost, FontCache, netprofm,
                                   nsi, SstpSvc, WdiServiceHost, WebClient
svchost.exe                   1164 AeLookupSvc, BITS, Browser, CertPropSvc,
                                   EapHost, IKEEXT, IpHlpSvc, LanmanServer,
                                   MMCSS, ProfSvc, RasMan, RemoteAccess,
                                   Schedule, SENS, SessionEnv,
                                   ShellHWDetection, Themes, Winmgmt, wuauserv
UMVPFSrv.exe                  1224 UMVPFSrv
svchost.exe                   1292 gpsvc
svchost.exe                   1416 CryptSvc, Dnscache, LanmanWorkstation,
                                   NlaSvc, TapiSrv, TermService
nvxdsync.exe                  1660 N/A
nvvsvc.exe                    1668 N/A
spoolsv.exe                   1752 Spooler
svchost.exe                   1800 BFE, DPS, MpsSvc
mDNSResponder.exe             1868 Bonjour Service
cbVSCService11.exe            1848 cbVSCService11
officeclicktorun.exe          2088 ClickToRunSvc
cbService.exe                 2356 CobianBackup11
Garmin.Cartography.MapUpd     2452 Garmin Core Update Service
taskhost.exe                  2628 N/A
taskeng.exe                   2736 N/A
ipoint.exe                    2780 N/A
itype.exe                     2812 N/A
dwm.exe                       2876 N/A
GREGsvc.exe                   2956 GREGService
srvany.exe                    2988 KMService
sqlservr.exe                  3028 MSSQL$SQLEXPRESS
NA_Service.exe                2964 NA_Service
NeatStartupService.exe        2648 Neat Startup Service
svchost.exe                   3192 Net Driver HPZ12
svchost.exe                   3248 Pml Driver HPZ12
svchost.exe                   3272 PolicyAgent
QBCFMonitorService.exe        3316 QBCFMonitorService
sntlkeyssrvr.exe              3428 SentinelKeysServer
spnsrvnt.exe                  3500 SentinelProtectionServer
sqlbrowser.exe                3596 SQLBrowser
sqlwriter.exe                 3644 SQLWriter
svchost.exe                   3668 stisvc
UpdaterService.exe            3752 Updater Service
WDDriveService.exe            3836 WDDriveService
WLIDSVC.EXE                   3860 wlidsvc
nvtray.exe                    4016 N/A
RAVCpl64.exe                  3160 N/A
WDBackupEngine.exe            3164 WDBackup
WLIDSVCM.EXE                  3380 N/A
msseces.exe                   3388 N/A
sidebar.exe                   4232 N/A
MSOSYNC.EXE                   4260 N/A
dllhost.exe                   4268 N/A
ContactCopy.exe               4776 N/A
ContactCopy.exe               4784 N/A
MCU2CAM.exe                   4844 N/A
googletalk.exe                4912 N/A
ExpressTray.exe               4980 N/A
GoogleToolbarNotifier.exe     5008 N/A
WmiPrvSE.exe                  4360 N/A
IAStorIcon.exe                4988 N/A
HotkeyUtility.exe              252 N/A
PDVD10Serv.exe                3652 N/A
EvernoteClipper.exe           4668 N/A
LWS.exe                       4536 N/A
GROOVE.EXE                    2968 N/A
ONENOTEM.EXE                  4312 N/A
ReaderAppHelper.exe           4820 N/A
DivXUpdate.exe                4064 N/A
cbInterface.exe               5236 N/A
WDDMStatus.exe                5384 N/A
jusched.exe                   5412 N/A
Creative Cloud.exe            5560 N/A
SearchIndexer.exe             5624 WSearch
QBDBMgrN.exe                  6080 QuickBooksDB22
AdobeIPCBroker.exe            5460 N/A
NisSrv.exe                    1988 NisSrv
svchost.exe                   6108 FDResPub, SSDPSRV, upnphost, wcncsvc
WUDFHost.exe                  6708 N/A
lpcxpresso.exe                6764 N/A
MSOSYNC.EXE                   3680 N/A
KMService.exe                 5396 N/A
conhost.exe                   4868 N/A
CoreSync.exe                  6492 N/A
svchost.exe                   6264 p2pimsvc, p2psvc, PNRPsvc
dllhost.exe                   5548 N/A
unsecapp.exe                  6792 N/A
svchost.exe                   7980 HPSLPSVC
Adobe CEF Helper.exe          8040 N/A
starter.exe                   4540 N/A
conhost.exe                   7380 N/A
arm-none-eabi-gdb.exe         4364 N/A
IAStorDataMgrSvc.exe          1816 IAStorDataMgrSvc
LMS.exe                       4648 LMS
firefox.exe                   8176 N/A
daemonu.exe                   8240 nvUpdatusService
svchost.exe                   8660 SDRSVC
wmpnetwk.exe                  9124 WMPNetworkSvc
UNS.exe                       8500 UNS
explorer.exe                  8588 N/A
wuauclt.exe                   6100 N/A
cmd.exe                       6156 N/A
conhost.exe                   8416 N/A
Shotty.exe                    7496 N/A
audiodg.exe                   9220 N/A
WmiPrvSE.exe                  5676 N/A
tasklist.exe                 11064 N/A
USB Devices:
VID: 0BDA PID: 0152 (HID-compliant device)
VID: 0BDA PID: 0152 (USB Composite Device)
VID: 045E PID: 0780 (HID Keyboard Device)
VID: 0BDA PID: 0152 (USB Mass Storage Device)
VID: 045E PID: 0780 (HID-compliant consumer control device)
VID: 0461 PID: 4D42 (USB Input Device)
VID: 0BDA PID: 0152 (USB Input Device)
VID: 0461 PID: 4D42 (HID-compliant mouse)
VID: 8087 PID: 0024 (Generic USB Hub)
VID: 045E PID: 0780 (USB Composite Device)
VID: 045E PID: 0780 (USB Input Device)
VID: 045E PID: 0780 (USB Input Device)
VID: 8087 PID: 0024 (Generic USB Hub)
[color=#900]VID: 1FC9 PID: 000C (LPC based USB device)[/color]
DFU Devices:
HID Devices:
Class GUID: {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Description: HID-compliant device
Device ID: HID\VID_0BDA&PID_0152&MI_01\8&230398EA&0&0000
Manufacturer: (Standard system devices)
Name: HID-compliant device
PNP Device ID: HID\VID_0BDA&PID_0152&MI_01\8&230398EA&0&0000
Service:
Class GUID: {4d36e96b-e325-11ce-bfc1-08002be10318}
Description: HID Keyboard Device
Device ID: HID\VID_045E&PID_0780&MI_00\8&3C1F611&0&0000
Manufacturer: (Standard keyboards)
Name: HID Keyboard Device
PNP Device ID: HID\VID_045E&PID_0780&MI_00\8&3C1F611&0&0000
Service: kbdhid
Class GUID: {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Description: HID-compliant consumer control device
Device ID: HID\VID_045E&PID_0780&MI_01\8&16F2124F&0&0000
Manufacturer: Microsoft
Name: HID-compliant consumer control device
PNP Device ID: HID\VID_045E&PID_0780&MI_01\8&16F2124F&0&0000
Service:
Class GUID: {4d36e96f-e325-11ce-bfc1-08002be10318}
Description: HID-compliant mouse
Device ID: HID\VID_0461&PID_4D42\7&1C9976E7&0&0000
Manufacturer: Microsoft
Name: HID-compliant mouse
PNP Device ID: HID\VID_0461&PID_4D42\7&1C9976E7&0&0000
Service: mouhid
C:\nxp\LPCXpresso_7.3.0_186\lpcxpresso\bin\Scripts>
0 Kudos
Reply

4,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frankee on Tue Jul 15 10:23:38 MST 2014
I don't seem to have usbdiags on my system. Do you know where I can find it, or can you suggest an alternate command/script?
0 Kudos
Reply

4,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Jul 15 10:13:14 MST 2014
Anyway, please run the following command (which can be found in the Scripts directory)

usbdiags


And please, POST THE TEXT, NOT A SCREENSHOT.
0 Kudos
Reply

4,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frankee on Tue Jul 15 10:08:00 MST 2014
Running the two scripts suggested above:

[img=676x239]http://images.devs-on.net/Image/ZAqlTKN3xq6ZhPUo-Region.png[/img]

and

[img=685x244]http://images.devs-on.net/Image/eBnAJ2Z3xO6W1NVZ-Region.png[/img]

Again, thanks for your assistance. Frank

0 Kudos
Reply

4,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Jul 15 09:43:17 MST 2014
Can you try running these commands and copy/paste the output (as text, not a screenshot) as a reply to this post.


dfu-util -l
dfu-util -d 0x1fc9:c -c 0 -i 0 -t 2048 -R -D C:\nxp\LPCXpresso_7.3.0_186\lpcxpresso\bin\LPC432x_Redlink_V4_46.bin.hdr 

0 Kudos
Reply

4,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frankee on Tue Jul 15 09:27:19 MST 2014
I have gone through the FAQ, and up to the point where the LINK2 boots everything is correct, and I have rebooted my computer to remove any left-over drivers, and tried in each USB port. The only thing I see as suspicious is that the LPC driver is dated 2009, is there a newer one, and if so, how can I load it?

Also, I've tried booting from the command line, as per the FAQ, and I receive the following message:

[img=555x363]http://images.devs-on.net/Image/qjhJolUs6PjwyxOk-Region.png[/img]

Thanks for you continued assistance.
0 Kudos
Reply

4,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Jul 15 08:35:05 MST 2014
Yes, read the FAQ and report any differences. I would also strongly suggest that you try different USB ports and see if this changes the behaviour.
0 Kudos
Reply

4,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by frankee on Tue Jul 15 08:28:23 MST 2014
Thanks for your help.

It times out with this message:

[img=544x162]http://images.devs-on.net/Image/0yDK4UzmCe9vs8CS-Region.png[/img]


Any suggestions?
0 Kudos
Reply

4,002 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Jul 15 08:25:30 MST 2014
Does it hang? Or does it return an error after a timeout (currently 30 seconds)?

When LPC-Link2 is booted, Windows will install additional drivers (that were installed by the LPCXpresso installer). It can take Windows many seconds to install these drivers the first time (I have seen 20-30 seconds, but this depends on the speed of your computer, and so could be longer).

For more information, see this FAQ:
http://www.lpcware.com/content/faq/lpcxpresso/booting-lpc-link2
0 Kudos
Reply