Two Versions of CW Coexist?

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

Two Versions of CW Coexist?

2,508件の閲覧回数
paulsky
Contributor II
Hi,
 
I have been developing CW code for HCS08 MCU's using CW5.1 - No problem. I recently purchased a M52211EVB which had a copy of CW7.0 for Coldfire. Once I installed it it would not compile the code because it complained about not being able to find the license file. From reading the error message it seems it's trying to use the license file for CW5.1. How do I force CW7.0 to only look in its own directory for the license file? Can the two versions coexist on the one PC?
 
Paul
 
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

944件の閲覧回数
CrasyCat
Specialist III
Hello
 
Two versions of CodeWarrior can coexist on a single machine, without any trouble.
I assume you are using node locked licenses for the 2 products. Am I right?
 
On the licensing side you have to make sure:
  1- That the 2 versions of CodeWarrior are installed into separate directory.
  2- That you copy the license.dat file for each CodeWarrior in the appropriate CodeWarrior installation directory. 
  3- Make sure that the environment variable LM_LICENSE_FILE is not defined on your system (or at least it should not point to any CodeWarrior license.dat file.
      To adjust the environment variable, open the System Control Panel, go to the Advanced tab and click on "Environment variables". You should be able to delete/modify the environment variable LM_LICENSE_FILE from there.
  4- Make sure that there is no Key METROWKS_LICENSE_FILE in the registry.
      In a DOS shell type regedit to enter the registry editor.
      Make sure there is no entry  METROWKS_LICENSE_FILE in HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm license Manager.
     If the entry exist delete it.
 
Reboot the system after any change in the registry or in the Environment variable.
 
I hope this helps.
 
CrasyCat
0 件の賞賛
返信

944件の閲覧回数
Lundin
Senior Contributor IV
I have CW6.0 for HCS08 and CW3.1 for HCS12 installed on the same computer, and it works without any problems. I just have to be careful not to open .mcp .c etc files from windows explorer, because then I can't be sure whether they are asociated with the HCS08 IDE or the HCS12 IDE. Always open projects from inside the IDE with File->Open.

The IDE should only use the license file in its own directory, though I have never used CW for Coldfire, so it might be possible that it works in a different manner.
0 件の賞賛
返信