still trouble installing CW 5.1, time-limited license for WaveForum 2007 conference

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

still trouble installing CW 5.1, time-limited license for WaveForum 2007 conference

4,563件の閲覧回数
imajeff
Contributor III
After bypassing the error described at
(I finally created a new user and got CW 5.1 to install with special edition licensing)
 
BTW I'm installing CW 5.1 on a Satellite laptop running Win XP pro.
 
Now the licensing problem is that when I try to copy a new license.dat, it is not enabling the time-limited license for using at the conference. They say just overwrite the one in "C:\Program Files\Freescale\CodeWarrior for HC08 V5.1". When I do, and reboot, restart CW, whatever, it still limits code size (I think to 1024) and number files (was it 32?)
 
I had made a great effort to uninstall all CW versions, then esure no leftover files by deleting the folder, "C:\Program Files\Freescale\CodeWarrior for HC08 V5.1". After fresh install, it had the expected license file, almost 1k in size. But the new licence file does not work (but apparently did in other developer's laptops).  Why would mine not notice the license?
 
 
ラベル(1)
タグ(1)
0 件の賞賛
返信
8 返答(返信)

2,045件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee
Usually I would add the content of an additional license and not replace the original one.
Anyway, check if your PC has a LM_LICENSE_FILE environment variable,
also search this forum for this env var, it did happen to others before.

Then there is always the question if the license you have is really one which permits unlimited files.
Next, on some PC's I heared that flexlm thinks the time was set backwards, then expiring licenses wont work either. Have a look in the About box
of a build tool. For example go into the "Linker for HC08" settings of a project and press the About button there. Maybe the content in created dialog gives you a hint a hint of what is wrong.

Daniel
0 件の賞賛
返信

2,045件の閲覧回数
imajeff
Contributor III


CompilerGuru wrote:
Usually I would add the content of an additional license and not replace the original one.

I know, so I asked them about that. It sounds like FSL told them to replace the whole file. That would work if they knew what my whole file should look like, and generated it ahead of time.

I didn't trust them though. I spent a few hours trying cut-and-past of different variations. It's hard thought when nobody seems to know what each line means.
0 件の賞賛
返信

2,045件の閲覧回数
imajeff
Contributor III
Well, LM_LICENSE_FILE looks fine. It does not work either way. It was there, already pointing to the right file. I removed it, but still didn't work. I wasn't trying to use the other version of CW (4.5), so I uninstalled it, but no difference.

Why do all you folks try to make this "using multiple CW" sound so mysterious if that env variable is all that was ever the trouble? Sounds like you should just explain that to people. Instead, the first comment I kept getting was, "Oh, you probably have another CW installed so you'll have to completeley uninstall all the CW versions, then make sure you delete all the CW directories left over, then try to install only this one", which of course never made any difference.

Someone at WaveForum was guessing that I had a left-over key in the registry telling CW that a licence was invalid before, when installed wrong, and may not be letting the correctly installed licence work now, but that would just mean the CW developers are incompetent.
0 件の賞賛
返信

2,045件の閲覧回数
CrasyCat
Specialist III
OK I think we should come back to basic.
 
Can you try the following:
  - Open the IDE
  - Open a project (anyone) it does not really matters
  - Open target settings dialog (press ALT+F7)
  - Switch to "Compiler for HC08"
  - Click About
  - Can you copy the whole content of the about box and send it over?
 
In that about box, you should see which license file is taken and also a more verbose description of the actual issue.
 
Send me the license file indicated there also.
 
With these data I should be able to investigate the issue.
 
Around multiple installs, as long as you install HC08 & HC12 tools there should not be major issue with multiple CodeWarrior installations. Just make sure to install them in separate directories.
Only environment variable you need to delete is LM_LICENSE_FILE.
 
It is more tricky with other targets.
There is a FAQ on the Freescale site discussing that topic. It is FAQ-27429 if I remember well.
 
CrasyCat
 
0 件の賞賛
返信

2,045件の閲覧回数
imajeff
Contributor III
Normally I would say "basics?! There is *nothing* basic about CodeWarrior!"
but I suppose I should give credit to CrazyCat for the most useful help ever :smileyhappy: It is nice to know that there is a way to actually see information about reading the license. The guys in charge there had no clue. Sure enough, it says, "HC08, checkout failed, demo mode". I see this for each feature: "FLEXlm error: -88,309".

Does this mean something important:
"System clock has been set back" Maybe it has to do with a DST problem? We've still been trying to get patches for DST working on our network, and just recently (not sure the timing), admin fiddled with time which was set wrong on our server. Of course my laptop was often one hour wrong because it automatically updated from that server. Right now the date/time is all correct, and I never knew the date to have been wrong.

Thank you CrazyCat, I'll send you the whole thing directly.

P.S. It was funny that when I tried to compile the demo without the new licence.dat, it actually allowed more space, so did not display any licence limitations. Of course it crashed with errors like duplicate symbols, so I may have not set up the demo files correctly (a very involved process).

Message Edited by imajeff on 2007-03-2211:43 AM

0 件の賞賛
返信

2,045件の閲覧回数
CrasyCat
Specialist III
Hello
 
I just answered to your message about the licensing issue.
 
In fact the issue is that FLEXlm has detected te system clock has been set back for some reason.
When that happens, you will not be able to use a temporar ylicense on that PC unless you re-install the Windows OS system.
 
I know it is bad news, but I never find another way to get out of here :smileysad:.
 
Note that if you remove the temporary license file, the tools will work in demo mode.
On HC08 V5.1 we tried to simplify teh license a bit. So if you are building in assembler, you do not need any license any more :smileyhappy:.
Anyway Assembly programming is for free in Special edition license.
If you are programming in ANSIC, working without license will allow you to build up to 1 K of C source code.
Working with special edition license will allow you to build up to 16K of C source code.
 
CrasyCat
0 件の賞賛
返信

2,045件の閲覧回数
imajeff
Contributor III
Thanks again, although it sounds Crasy (sorry)

If you'll notice earlier I picked up on the "clock has been set back" problem, then explained that it seems to be a bug related to the time-zone rules changed. Our server may have changed the time on my laptop forward/back by one hour. The thing is, now I remember that I had never installed CW until a day after those changes. That in combination with believing that my clock was never changed by more than one hour, tells me that the detection is completely unfounded! That means FLEXlm has a dangerous flaw, which needs to be fixed.

As for me, just another reason why I will never use CW, (and will warn anyone to stay away), unless someone can really convince me that the terrible stories I keep hearing (and have now experienced) have gone away.
0 件の賞賛
返信

2,045件の閲覧回数
Alban
Senior Contributor II
Hi Board,
 
I've got 5 CW versions in cohabitation without any trouble whatsoever... Otherwise how could I work :smileywink: ?
 
However, it's not too easy on me as all icons are the same across versions, and when you open a project, it cannot open it in the good IDE version... But in the IDE .MCP files were associated with.
 
I agree for the praise to CrazyCat, she's my idol :smileysurprised:
 
Alban.
 
Edit: spelling corrected.

Message Edited by Alban on 2007-03-22 09:00 PM

0 件の賞賛
返信