LPC812: debug emulator is not found

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

LPC812: debug emulator is not found

2,169 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kj_kang on Wed Jan 23 04:52:07 MST 2013
I got a LPC812 development board. The LPCXpresso version is v5.0.14 for Windows.  I set some debug configuration according to the rules mentioned in http://www.support.code-red-tech.com/CodeRedWiki/CodeRedFAQ then to debug some code, but I got the error: LPC-Link (HID) not found. Then I search for any enable emulator, it is said: Connect to emulator LPC8XX, No compatible emulators available.
I tried many ways to solve the problem based on CodeRedFAQ, such as: diagnostics for connecting to LPC-LINK with crt_emu_*** to detect the emulator, but all got: 0 emulator found.
(The USB driver is successully installed)
0 Kudos
Reply
5 Replies

2,086 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kj_kang on Fri Jan 25 05:29:44 MST 2013
Furthermore, I installed a linux version of LPCXpresso, everything is OK while modified some typing errors in sample code. But I still wish to get good running in Windows.
0 Kudos
Reply

2,086 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kj_kang on Fri Jan 25 05:11:49 MST 2013
The Windows is Windows xp sp3 and running in natively.

For testing The LPCXpresso software, I found 2 powerful computers running with Windows XP sp3 and install the software, good news from them, the debug emulator can be found as LPC-Link WinUSB emulator, but new error appears: crt_emu_cm3_gen Error on both of the powerful computers, said some memory can not read or write. Attatched is the detail. I think maybe there is some thing wrong in crt_emu_cm3_gen or in the command script.

Hope to get your help. Thank you.
0 Kudos
Reply

2,086 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Jan 24 06:52:29 MST 2013
So what version of Windows are you running? And are you running natively or under a Virtual Machine?

Have you tried using a different USB cable?

Have you tried using a different USB port on your PC?

Are you connected directly to your PC, or via a hub? Normally we would recommend connecting directly, but if you are already, it might be worth trying connecting through a *powered* USB hub.

Finally, if you are still having problem, please confirm the results of the above tests and also send the output from running the diagnostic commands at:

http://support.code-red-tech.com/CodeRedWiki/LPCLinkDiagnostics

Regards,
CodeRedSupport
0 Kudos
Reply

2,086 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kj_kang on Thu Jan 24 00:07:53 MST 2013
Thank you for your reply. I followed your instructions and selected Blinky sample to debug, but got the same error: No compatible emulators available.

I can provide you some hardware information: when I connect the LPCXpresso board to USB port, the LED2 on LPC812 target board is flashed with red, green and blue light, but the LED1 on LPC-Link board has no response. The voltage of test point TP_1V8 on LPC_Link is 1.45v, other test point voltages are correct. I don't know it is right or not.

If you have the same LPCXpresso board in hand, can you test it for me?
0 Kudos
Reply

2,086 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Jan 23 13:36:36 MST 2013
It is very unclear as to what you have actually done and what state you have managed to get your setup into. Thus I suggest that you start again!

Start LPCXpresso with a fresh (empty) workspace.

Import the LPCXpresso812 examples from the examples subdirectory

Disconnect your LPCXpresso board from your PC, then reattach

Select one of the example projects in the Project Explorer, then click on the Debug button in the Quickstart view.

You should then get the Debug Emulator Selection Dialog displayed, as per http://support.code-red-tech.com/CodeRedWiki/DebugEmulatorSelectionDialog. Make sure you select LPC-Link.


Hopefully you should then connect to the board and be able to debug. If you don't please tell us exactly what you see.

Regards,
CodeRedSupport
0 Kudos
Reply