Cant debug target

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

Cant debug target

336 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jldesigns on Thu Jan 31 16:17:13 MST 2013
Hello.

I didn't use LPCXpresso IDE (Windows version) for  a while, in the mean time I've upgraded to latest version (5.0.14 from 5.0.12), but I doubt its a reason. I rolled back to 5.0.12, but no positive results.

When i start IDE, and try to debug project, my LPC-Link wont initialize automatically in HID mode, when i do it manually, I still can't debug project. Emulator crashes (for me its crt_emu_lpc11_13_nxp.exe, cause I'm trying to debug LPC1343). This is console output:

Quote:
LPCXpresso Debug Driver v5.0 (Nov 22 2012 08:46:14 build 1083)
Looked for chip XML file in C:/nxp/LPCXpresso_5.0.12_1083/lpcxpresso/bin/LPC1343.xml
Looked for vendor directory XML file in C:/nxp/LPCXpresso_5.0.12_1083/lpcxpresso/bin/nxp_directory.xml
Found generic directory XML file in C:/nxp/LPCXpresso_5.0.12_1083/lpcxpresso/bin/crt_directory.xml
Emu(0): Conn&Reset. DpID: 2BA01477. Info: HID64HS12
SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.
Packet delay: 0  Poll delay: 0.
NXP: LPC1343  Part ID: 0x3D00002B


And after last line it crashes (segmentation fault error).

I've tried with all 3 firmware types for LPC-Link (HidFS,HidHS, and WinUSB). Same results.

Even when I'm trying to check license with command: "[B]crt_emu_cm3_nxp.exe -info-license[/B]" application outputs:

Quote:
Ni: LPCXpresso Debug Driver v5.0 (Nov 22 2012 08:46:09 build 1083)


and crashes.

I've started checking and read all the topics on this forum, and didn't find any solutions. I've tried already:
1. %Public% is write and read enable, the there are license files in LPCXpresso folder
2. Tried 3 times activating with new serial number and code.
3. Don't have any antivirus software
4. When I start PC in safe mode it still fails.
5. Tried to ask Code-Red support, but thy bounced back saying that they only support paid versions of their software, and I should ask here.

I'll much appreciate any suggestions.
0 Kudos
Reply
2 Replies

324 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jldesigns on Sun Feb 03 06:07:16 MST 2013
Well the issue has been resolved.

It was a problem with vbs scripts. I've checked them creating a script in notepad with vbs extension. It worked OK, so i thought that its not a problem. The scripts however didn't work from console "cscript hello.vbs" returned an error.

I've checked the registry and my vbs script library was not "C:\Windows\System32\vbscript.dll" for 32bit, and not "C:\Windows\SysWOW64\vbscript.dll" for 64bit.

The path were changed by McAfee for there library. Since I uninstalled it few weeks ago, probably that's when it stooped working. I don't know why, but i could not change those registry keys.

I used a "McAfee Products Removal Tool", and it did the trick.

Take care.
0 Kudos
Reply

324 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Feb 01 00:40:56 MST 2013
Please zip up and post the .axf and .map file for the application that is causing the problem, and we will try to reproduce here.
0 Kudos
Reply