Codewarrior MPC55x v8.1 error during startup

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

Codewarrior MPC55x v8.1 error during startup

3,174 Views
vivienw
Contributor I
Hi,
 
 I've got my license file for this version of CW. When I started Codewarrior IDE, I get this error and it kills CW.
 
The CodeWarrior preferences file is in read only or is currently in use. Program exiting. Please try again in a moment.
 
I've tried uninstalling and installing again but I still get the same error. I have MPC55xx and CW12 V3.0 installed but I don't have problems with those. Also, those are not open when I'm trying to start CW MPC55x v8.1
 
Has anyone faced this problem before?
 
Labels (1)
0 Kudos
8 Replies

634 Views
ronco
NXP Employee
NXP Employee
That error refers to the file 'CodeWarrior IDE 5.x Prefs' (where 'x' depends on the version of CodeWarrior you have installed), located (assuming a default installation for recent editions of CodeWarrior) in C:\Documents and Settings\<user>\Local Settings\Application Data\Metrowerks.  Make sure this file is set to be read/write (right-click on it and select Properties) and that you're not running any other instance of CodeWarrior.  You will need to enable showing of hidden folders in Windows Explorer to see this folder.
 
If you have an older edition of CodeWarrior you may need to search for this Prefs file since its location has changed as CodeWarrior has evolved.

You can also rename this Metrowerks folder and let CodeWarrior rebuild the folder and files it needs.



0 Kudos

634 Views
CrasyCat
Specialist III
Hello
 
I assume the problem arises because you are starting CW MPC55xx V2.0 and CW MPC V8.1 at the same time.
The two installation are sharing the same preference file and that can generate this kind of issue.
 
If you want to be able to use both CW MPC 55xx V2.0 and CW EPPC V8.1 on the same PC, follow these steps:
 - make sure all CW are closed.
 - Start CW MPC55xx V2.0
 - Open a project.
 - Close the IDE
 - Browse to your %USERPROFILE%\Local Settings\Application Data\Metrowerks directory.
  - Move the  files "CodeWarrior IDE 5.5 Prefs", default.cww, Remote_Connections.xml, Breakpoints.xml to your CW MPC 55xx installation bin directory.
 
 - Start CW EPPC V8.1
 - Open a project.
 - Close the IDE
 - Browse to your %USERPROFILE%\Local Settings\Application Data\Metrowerks directory.
  - Move the  files "CodeWarrior IDE 5.5 Prefs", default.cww, Remote_Connections.xml, Breakpoints.xml to your CW EPPC V8.1 installation bin directory.
 
From now on the IDE should take their preference file from the local bin directory and you should not have such problem again.
 
 
CrasyCat
0 Kudos

634 Views
vivienw
Contributor I
Hi,
 
 Thanks for your reply. I tried what you suggested and now both MPC55xx V1.5 and MPC55x v8.1 faced the same problem. I can't start up the IDE for both.
 Whenever I try to call IDE (although it exits itself becuase of the error), the CodeWarrior IDE 5.5 Prefs file is always generated at %USERPROFILE%\Local Settings\Application Data\Metrowerks directory.
  Any ideas?
 
Thanks
  
0 Kudos

634 Views
CrasyCat
Specialist III
Hello
 
Did you really move the files in the {Install}\bin directory?
The IDE should look for the file there first.
 
Do you have write access to your {Install}\bin directory?
 
CrasyCat
0 Kudos

634 Views
vivienw
Contributor I
Hi,
 
 Yes, i did. And i do have access to C:\Program Files\Metrowerks\MPC55xx V1.5\bin as I'm the adminstrator of my PC. Is this the install bin directory that you are referring to?
  Now, those files that you mentioned are copied into:
 
C:\Program Files\Metrowerks\MPC55xx V1.5\bin      <for MPC55XX>
 
and
 
C:\Program Files\Metrowerks\CodeWarrior\Bin       <for MPC55x>
 
Regards
Vivien
0 Kudos

634 Views
CrasyCat
Specialist III
Hello
 
And are still facing the same problem? Or is it working now?
 
CrasyCat
0 Kudos

634 Views
vivienw
Contributor I
Nope, it's still not working. Both Mpc55xx and mpc 55x.
0 Kudos

634 Views
CrasyCat
Specialist III
Hello
 
Then I am stuck. I cannot think of any other reason you could get that message...
 
Try submitting a service requests through the support web site.
 
CrasyCat
0 Kudos