WinXP LPCXpresso Licence Failure

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

WinXP LPCXpresso Licence Failure

1,564 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Thu Jan 31 05:27:01 MST 2013
[FONT=Tahoma][SIZE=1]I know this issue has been raised before, but my searches could not find the resolution.
Beside, IIRC, that was for an old version cira 2010/2011

This on the 'office' PC; on the 'home' PC <Identical OS/user setup> there are no problems.

WinXP Prof SP3 [Running as an administrator] LPCXpresso 4.3.0
[I can't use 5/14 due to a bug to be corrected in next release.

Basically, although the 'welcome page' and display licence type claim full activation [128KB],
The console log for debug reports Licence Failure [8KB limit] and the flash toolbar button
(or command line from a DOS box) give Error 53: ... not permitted ... command line.

Where on the PC, is the activation details stored [I uninstalled/reinstalled, so it's not in the install directory]
and what do I have to do to fix it?

Logs etc. follow:

<Flash Toolbar Button>
[crt_emu_cm3_nxp -g -2 -vendor=NXP -pLPC1778 -s250 -load-base=0 -flash-load-exec="C:\Src\NXP\Primary\Boot266.elf"  -wire=winUSB]

Pc: (  0) Reading remote configuration
Ni: LPCXpresso Debug Driver v4.0 (Sep 19 2012 09:03:19)
Nc: Looked for chip XML file in C:/Dev/NXP/bin/LPC1778.xml

Nc: Looked for vendor directory XML file in C:/Dev/NXP/bin/nxp_directory.xml

Nc: Found generic directory XML file in C:/Dev/NXP/bin/crt_directory.xml

Pc: (  5) Remote configuration complete
Pc: ( 30) Emulator Connected
Pc: ( 40) Debug Halt
Pc: ( 50) CPU ID
Nc: Emu(0): Conn&Reset. DpID: 2BA01477. Info: T1S6RGRIA
Nc: SWD Frequency: 250 KHz. RTCK: False. Vector catch: False.
Nc: Packet delay: 0  Poll delay: 0.
Nc: NXP: LPC1778  Part ID: 0x27193F47
Pc: ( 65) Chip Setup Complete
Wt: License check failure (CheckLicense 0)
Nt: Connected: was_reset=false. was_stopped=true
Cr:f Restricted - unregistered license, download limit of 8K
Pc: ( 70) License Check Complete
Et:53: License does not permit flash operations from command line
Pc: (100) Target Connection Failed

-------- Display Licence Type --------
License type: FULL
Debug limit: 128k
Activation code: MRP3-IQEV-IRAR-PWMW-IXDV-M5C5-P4E1-D3KU

A FULL copy of LPCXpresso may be used for production.


------- Console Log from QuickStart 'Debug xxx [Debug]'

LPCXpresso Debug Driver v4.0 (Sep 19 2012 09:03:19)
Looked for chip XML file in C:/Dev/NXP/bin/LPC1778.xml
Looked for vendor directory XML file in C:/Dev/NXP/bin/nxp_directory.xml
Found generic directory XML file in C:/Dev/NXP/bin/crt_directory.xml
Emu(0): Conn&Reset. DpID: 2BA01477. Info: T1S6RGRIA
SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.
Packet delay: 0  Poll delay: 0.
NXP: LPC1778  Part ID: 0x27193F47
License check failure (CheckLicense 0)
Connected: was_reset=false. was_stopped=true
f Restricted - unregistered license, download limit of 8K
License status is Restricted(NoLicense)
Command In: $qSupported:multiprocess+;qRelocInsn+
<snip>

[/SIZE][/FONT]
0 Kudos
Reply
10 Replies

1,546 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Thu Feb 07 09:47:38 MST 2013
[FONT=Trebuchet MS][SIZE=1]Long story short, the DOS COMSPEC environment variable on the wayward PC was set to a non-existent
directory (a hangover for several years to when the PC -- actually a previous PC -- was a Windows 2000 box)

Although nothing had complained about that for over 3 years.

Correcting the COMSPEC variable and rebooting brought the LPCXpresso licence back to operational status!

I acknowledge the efforts by the Code Red team.

Mike
[/SIZE][/FONT]
0 Kudos
Reply

1,546 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Thu Feb 07 03:06:04 MST 2013
[FONT=Tahoma][SIZE=1]I persuaded  my colleague who normall does PCB layout and FPGA design to install LPCXpresso on his PC.
This was done and no licence issues were found on that PC.

So we now have three apparently identical XPSP3 PC's all with a single 'user' as a member of administrators.
The licence works on two, but fails on one.

I thought I found a difference on the bad PC -- TEMP was set the "C:\TEMP" writable, but I changed it to the usual docsSettings\user-name\etc. but it still gives error 53 on the gui flash tool.


So Code Red, would a temporary VNC access be of any use to you?
As I cannot find a salient difference between the good and bad PC's.

Mike
[/SIZE][/FONT]
0 Kudos
Reply

1,546 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Wed Feb 06 01:55:50 MST 2013
[FONT=Trebuchet MS][SIZE=1]I do most of my development work from home, but there will be times (when I need to use an oscilloscope, or connect the PCB to external displays that I do not have at home -- because of size and expense) when I have to debug from the PC in the company offices.

So we do need to resolve the licencing failure issue.
[BTW, the office XPSP3 PC is on the company local network; does this affect anything?]

Currently, I have to use version 4.3.0 because of a debugger crash issue
see forum thread [/SIZE][/FONT][FONT=Trebuchet MS][SIZE=1]http://knowledgebase.nxp.com/showthread.php?t=4092.

I am going to use my colleague by remote control (telephone) to totally remove
LPCXpresso [I]and[/I] the licence files and do a brand new install and activation.

[By the way, I am assuming that the licence is not directly related to the version of the IDE;
I guess that the process gets some 'magic numbers' from the target PC -- MAC addr, HD serial,
etc. hashes and encrypts these to get a key and a matching code from the Code Red site.]

Are the any registry entries that I need to delete?

This will happen some time this afternoon, when my colleague can spare the time.

If this still does not resolve the licensing problem, I will respond as per your last post.

Regards, Mike


[/SIZE][/FONT]
0 Kudos
Reply

1,546 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Feb 05 17:39:30 MST 2013

Quote: MikeSimmonds
[FONT=Trebuchet MS][SIZE=1]Attached zip contains the encrypted output from the diagnostic util you sent.
Files from this PC (fails) and Home PC (OK) are included.

Mike
[/SIZE][/FONT]



Thanks for running the diagnostic. However, I can't make much sense of the data. The diagnostic appears to have captured only your user environment, and the data appears corrupted at that. The diagnostic has no interest in your user environment, so I find it quite curious to say the least. Code Red has encountered very few license problems in thousands of LPCXpresso installations. Of those, I've seen nothing like this.

First, I presume you have Windows XP SP 3 (No Windows NT hybrids) installed as a minimum.

Both the system %TEMP%, and the "<install>\lpxpresso\bin\Scripts" directories must be writable. cscript.exe (i.e. vbscript) must be accessible to the debug utility programs. You mentioned you disabled your anti-virus software, so I presume this is not an issue. Finally, it's important to use the diagnostic (as provided) for the LPCXpresso 4.3.0 release only.

If the above conditions have been met, please contact Code Red Support at the e-mail provided here if you need to pursue this further.

http://www.code-red-tech.com/support.php

I also suggest you update to LPCXpresso 5. No more LPCXpresso 4 maintenance releases are planned.

Regards,

CodeRedSupport
0 Kudos
Reply

1,546 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Tue Feb 05 05:08:21 MST 2013
[FONT=Trebuchet MS][SIZE=1]Attached zip contains the encrypted output from the diagnostic util you sent.
Files from this PC (fails) and Home PC (OK) are included.

Mike
[/SIZE][/FONT]
0 Kudos
Reply

1,546 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Fri Feb 01 16:01:03 MST 2013
[FONT=Tahoma][SIZE=2]Thank you for the response.
I am next due to visit the office on Tues (5th Feb '13),
and will run the diagnostic then.
I  will also attach the diags from the home (good) PC
for comparison.
Mike.


[/SIZE][/FONT]
0 Kudos
Reply

1,546 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Feb 01 14:45:08 MST 2013
Mike,

Attached is zip archive containing a license diagnostic utility,  crtlicensediag.exe. You can run this utility from any directory on the  disk where your installation resides. Run the utility with the following  command-line:

C:\>crtlicensediag.exe -all

On a Windows Vista/Windows 7 machines, you'll find the encrypted [I]lpcxpresso.info.bin[/I] diagnostic output in[I] "\Users\Public\LPCXpresso". [/I]On Windows XP, you'll find this file in [I]"\Documents and Settings\All Users\LPCXpresso"[/I]  directory. Archive this file (zip archive), and post it in this thread. You may delete the diagnostic output file once you have  done so. Code Red neither collects nor shares personal information from  your PC.

Regards,

CodeRedSupport
0 Kudos
Reply

1,546 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Fri Feb 01 02:19:22 MST 2013
[FONT=Tahoma][SIZE=1]I have done a bit more searching on this site and ...

The 'usual' fixes: the windows\system32 path, anti virus or cscript.

windows\system32 [I]is[/I] in my path (twice as it happens), but I added it as
an additional path anyway in the Windows/preferences/lpcxpresso/paths and directories.

I also disabled Avast! anti-virus for the test.

I did the cscript test as memtioned on the codered-wiki site
and I can double-click the hello.vbs and it runs.

So, as far as I can tell at this point, all the 'fixes' (that are not for Linux)
that helped in previous cases do NOT work in this instance.

Now that I have been led to where the licence files actually reside,
does it make sense to delete them and re-activate via the code red
web site again.

I have tried re-activation, but I got exactly the same activation code
each time.

Hopefully, code red support can find something from the licence files and log.

Still baffled, Mike

[/SIZE][/FONT]
0 Kudos
Reply

1,546 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Thu Jan 31 08:53:12 MST 2013
[FONT=Tahoma][SIZE=1]Thanks, have been to that page, csript not a problem, I missed the last paragraph:o
I have done this now -- the log is in the same zip.

My (office PC) licence info and log as per [/SIZE][/FONT][FONT=Tahoma][SIZE=1]http://support.code-red-tech.com/CodeRedWiki/LPCXLicenseDiag

(Thanks TheFallGuy)

Mike
[/SIZE][/FONT]
0 Kudos
Reply

1,546 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Jan 31 08:15:19 MST 2013
Did you look at this FAQ:
http://support.code-red-tech.com/CodeRedWiki/LPCXLicenseDiag
0 Kudos
Reply