cannot connect to emulator or board

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

cannot connect to emulator or board

2,438 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by leonardo on Tue Oct 26 03:44:41 MST 2010
Hi, I'm using a card lpcxpresso and I can not access the card. I have already connected the USB cable on the bottom and another in lpc usb link but everytime I try debbuger show message " cannot connect to emulator or board "

still have not found anything to help me, I am beginner in programming and hardware I'm lost because the documentation says nothing about it.

thanks
0 Kudos
Reply
12 Replies

2,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by chiyojima on Sun Oct 31 17:24:25 MST 2010
In my case, LPCXpresso IDE was not installed completely.

LPCXpresso IDE has two install module.
One is IDE and the other is the driver for USB connection.

At the final stage of the former's install process,
windows poped up warning dialogue that said " Installing this program
may cause serious problem"

I leave it a while without touching KB and mouse, install process was
ended with no message.

After that IDE run normally but The LPCXpresso Development Board was not recognized.

So, I installed the  driver for USB connection only using IDE installer
with only second box checked.

After this, connecting The LPCXpresso Development Board to USB port,
two process was occured,
one;  USB device with DFU capabilityes appeared in the device  manager treee.
Two;  after run debug of IDE , installing The LPCXpresso Development Board driver
with two windows warning dialogue.

I  hope this helps you.
0 Kudos
Reply

2,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Oct 27 09:48:15 MST 2010
I think the problem is that you have somehow created your own debug configuration and this is screwing things up

From Project Explorer, select a project, right-click and choose Launch configurations->Delete Launch Configurations

Then, from the Quickstart panel, press the Debug button, and a correctly configured debug session will be started.
0 Kudos
Reply

2,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by leonardo on Wed Oct 27 09:12:21 MST 2010
ok ... I looked at the logging site you spoke out of curiosity and found the following error description:

! MESSAGE Plug-in "com.crt.ctrlcenter" was unable to instantiate class "com.crt.ctrlcenter.misc.CRTEmbeddedCommandFactory.
! STACK 0
java.lang.InstantiationException: com.crt.ctrlcenter.misc.CRTEmbeddedCommandFactory
java.lang.Class.newInstance0 at (Unknown Source)
java.lang.Class.newInstance at (Unknown Source)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension (RegistryStrategyOSGI.java: 170)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension (ExtensionRegistry.java: 874)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension (ConfigurationElement.java: 243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension (ConfigurationElementHandle.java: 51)
at org.eclipse.cdt.debug.mi.core.command.factories.CommandFactoryDescriptor.getCommandFactory (CommandFactoryDescriptor.java: 126)
at org.eclipse.cdt.debug.mi.core.command.factories.CommandFactoryManager.getCommandFactory (CommandFactoryManager.java: 61)
at org.eclipse.cdt.debug.mi.core.GDBCDIDebugger2.getCommandFactory (GDBCDIDebugger2.java: 70)
at org.eclipse.cdt.debug.mi.core.AbstractGDBCDIDebugger.createGDBSession (AbstractGDBCDIDebugger.java: 110)
at org.eclipse.cdt.debug.mi.core.AbstractGDBCDIDebugger.createSession (AbstractGDBCDIDebugger.java: 68)
at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launchDebugSession (LocalCDILaunchDelegate.java: 343)
at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.createCDISession (LocalCDILaunchDelegate.java: 468)
at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launchLocalDebugSession (LocalCDILaunchDelegate.java: 145)
at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launchDebugger (LocalCDILaunchDelegate.java: 112)
at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launch (LocalCDILaunchDelegate.java: 72)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch (LaunchConfiguration.java: 853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch (LaunchConfiguration.java: 703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch (DebugUIPlugin.java: 866)
org.eclipse.debug.internal.ui.DebugUIPlugin at $ 8.run (DebugUIPlugin.java: 1069)
at org.eclipse.core.internal.jobs.Worker.run (Worker.java: 55)


then there is exactly one error card itself!
0 Kudos
Reply

2,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Oct 27 08:47:12 MST 2010

Quote: leonardo
Ok! I did it ... [COLOR=#000000]but I see the same message I posted in the previous post ... [/COLOR]really I am not knowing what to do since this issue for setting up the environment is time consuming ...



99+% of customer have no issues in setting up the environment. So, some suggestions:
- try replacing your USB cable. This is the most common reason for failure
- ensure the USB cable us plugged directly into your PC and not a hub

If that doesn't improve things, You need to provide some more details:
- which operating system and version are you using?
- which version of LPCXpresso are you using?
- when starting a debug session, do you see a splash screen "initialising LPC-Link"?
- zip up and attach the file <workspace>/.metadata/.log
0 Kudos
Reply

2,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by leonardo on Wed Oct 27 08:24:51 MST 2010
Ok! I did it ... [COLOR=#000]but I see the same message I posted in the previous post ... [/COLOR]really I am not knowing what to do since this issue for setting up the environment is time consuming ...
0 Kudos
Reply

2,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Oct 27 05:42:43 MST 2010
Lets go back to square 1.

1. Try removing the LPCXpresso board from the baseboard and using it standalone
2. Read the instructions in the Getting Started guide to follow how to get a simple project loaded, built and debugged. Please be careful to follow the instructions.

The Getting Started guide ins installed in the root of your installation directory, or you can get a copy from here:
http://ics.nxp.com/support/documents/microcontrollers/pdf/lpcxpresso.getting.started.pdf
0 Kudos
Reply

2,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by leonardo on Wed Oct 27 05:32:26 MST 2010
ok ... after making the last steps recommended that the error apareace to me is the following message when trying debugger .... "Plug-in" com.crt.ctrlcenter "was unable to instantiate class" com.crt.ctrlcenter.misc.CRTEmbeddedCommandFactory.
com.crt.ctrlcenter.misc.CRTEmbeddedCommandFactory
0 Kudos
Reply

2,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by leonardo on Wed Oct 27 04:22:44 MST 2010
[COLOR=#000]I did the registration plate and I'm really using a base board lpcxpresso but information on the site are the same that I'm getting here at the forum. [/COLOR]Tells me that the problem may be a bug of windows and sends me out again and put the usb cable in the pc and it has not worked. The more I can no longer advance the message is always the same. Anyone know what can I do?
0 Kudos
Reply

2,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Oct 26 12:22:14 MST 2010
You haven't mentioned this directly, but from your description, I think you are using an LPCXpresso baseboard from Embedded Artists.

Have you registered the board on the Embedded Aretists website? When you do this, you get access to documentation and FAQs, and I think you will find the answer to your problems in there.
0 Kudos
Reply

2,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by leonardo on Tue Oct 26 11:38:51 MST 2010
I did the port configuration and installation with the driver successfully as indicated in the manual. I did what the link "In the first place, check:
http://support.code-red-tech.com/Cod...ailedToConnect "... but not succeeded.
0 Kudos
Reply

2,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by leonardo on Tue Oct 26 11:25:21 MST 2010
I'm using windows xp sp3 operating system.
I am using lpc1343 board and a base board lpc link.
where I connect the USB cable to force the bottom plate beside the reset button and a USB cable on the board lpc link in output as the manual says that is to make the debugger.
the message that appears is just a screen telling you that I can not connect to the emulator or on the board. Nothing appears in the message box.

[IMG]http://knowledgebase.nxp.com/attachment.php?attachmentid=223&stc=1&d=1288117431[/IMG]
0 Kudos
Reply

2,358 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Oct 26 04:06:27 MST 2010
In the first place, check:
http://support.code-red-tech.com/CodeRedWiki/FailedToConnect

If this does not help to get you started then please provide more details of your setup, including:

[LIST]
[*]What board(s) you actually are using? From your initial description it sounds like you may have an LPCXpresso baseboard? If so, then try separating the LPCXpresso board from the baseboard - can you then connect?
[*]What operating system are you using? And are you running it natively or via a virtual machine.
[*]What version of the LPCXpresso IDE are you using?
[*]Have you ever been able to connect to your board successfully?
[/LIST]
Regards,
CodeRedSupport
0 Kudos
Reply