vista update for codewarrior v4.5

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

vista update for codewarrior v4.5

4,675 Views
dashz84
Contributor I
i'm using codewarrior dev. studio v4.5, and i'm running it on windows vista.

during installation, while the program was trying to install the debugger, there was an error that read soemthing like " Failed to install the INF file, (C:\windows\inf\windrvr6.inf).....". I simply continued with the error anyway, because I was told that the error was due to code warrior's incompatibility to vista, a problem which is fixed by update v4.7.1.

I downloaded the update, however, the update asks for v4.7 which i do not have and cannot have.

here are my questions
1. Is codewarrior now compatible with vista or not?
2. if so, do i have the rigth update patch (i.e. v.4.7.1)
3. if the update patch is correct, how do use it on a v4.5?

thanks a bunch
Labels (1)
Tags (1)
0 Kudos
10 Replies

922 Views
stanish
NXP Employee
NXP Employee

 

Hello dashz84,

1. As far as I know v4.5 may not running correctly under Windows Vista.
Recent release v4.7 should be compatible with Vista, see attached Vista release notes.

2. Patch v4.7.1 doesn't cover Vista Compatibility but fixes several compiler/linker/debugger defects.

3. I'm not aware of any patch for V4.5 that would cover Vista compatibility

Note:
There is a way how to install CW V4.6 on Windows Vista by deselecting P&E drivers. See attached .pdf
I'm not sure whether it's applicable also to V4.5 since I didn't test it.

Regards
Stanish

 

 

Notes_CW_HC12_Vista1.txt

CWHC12V46_Vista_Installation1.pdf

Message Edited by t.dowe on 2009-08-31 03:50 PM
0 Kudos

922 Views
dashz84
Contributor I
Stanish, thanks for the reply.

my institution currently owns only a copy of codewarrior v4.5, to get v4.7, do I just need to upgrade it or do I have to have a new installation?
If I need to have a new installation, where and how do I obtain a copy of the installation CD?
0 Kudos

922 Views
stanish
NXP Employee
NXP Employee
dashz84,

You will need the new instalation. The CodeWarrior for HC12 v4.7 installer is available e.g. here:
 https://www.freescale.com/webapp/Download?colCode=CWX-H12-PROED-EX&prodCode=CW-HCS12X&location=null&...

Just copy&paste the your license from V4.5 into CodeWarrior v4.7 home directory (e.g. "c:\Program Files\Freescale\CodeWarrior for HCS12 V4.7\license.dat"  )

I'd recommend you also install the update (v4.7.1) since it fixes several defects. Here is the link:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-HCS12X&fpsp=1&tab=Design_Tools_Tab...

Regards,
Stanish
0 Kudos

922 Views
dashz84
Contributor I
Hi stanish,

I double checked the installation CD box for codewarrior, and none of the 3 numbers on the back, LOT#, Date Code, and PN is the correct license key.
I also noticed that this is a Codewarrior dev. Studio Special Edition, do I have to email freescale for a license key or am I just missing something?
0 Kudos

922 Views
stanish
NXP Employee
NXP Employee
dashz84,

I assume you are using a purchased CodeWarrior Edition (Compiler update, Standard, Professional...). What you can do is to copy your original license file from the CodeWarrior for HC12 v4.5 directory (usually located here:"c:\Program Files\Freescale\CW for HC12 V4.5\license.dat" ) to the newly installed CodeWarior V4.7 home directory. Perhaps you could backup the v4.7 license.dat file (Special or Evaluation license) since it might be useful - e.g. you can rename it to license.bak.

See the CrasyCat post in case you are using FREE Special edition.

Stanish.

0 Kudos

922 Views
dashz84
Contributor I
Thanks for the replies guys, truly appreciate it!

I have followed ur suggestions, and installed CW evaluation version 4.7, updated it with 4.7.1 patch.

After starting the software with a new project made, I conected the programmer and the microcontroller, and under P&E multilink CyclonePro, I clicked on the Debug button. However, I received 2 errors.
Error 1: No file with extension prm found in project
Error 2: Link failed.

I tried this a few times, always get the same error and can not enter the debugger. Indeed, I noticed that I do not have a required .prm file in the PRM folder, e.g (project1.prm, where project1 is the name of my new project)

The weirdest thing though, I now restart CW4.5, and create a new project. Just like 4.7, there is no .prm file in the PRM folder. I try my luck with the Debugger in the P&E cyclonepro mode. The first time i click it, I get an error saying
Error starting external debugger. Processor Error Code 87 (0x57)
The parameter is incorrect.
However, I now see the project1.prm file under the PRM folder.

I am able to run the new project (which was made in 4.5) in 4.7, and enter the debugger. Can you please expalin to me why I received the 2 erros in 4.7 when I tried to use the debugger? Also, will it affect me as i write more programs and debug it, if I make the .prm file in 4.5, and then use it in 4.7?

Thanks verr much

by the way, when I make the project, I selected Processor Expert, then PC-lint, then minimal startup, and none floating, and full chip+P&E simulation
0 Kudos

922 Views
CompilerGuru
NXP Employee
NXP Employee
It should create a prm file with CW 4.7 too, note though that with Processor expert the prm file is generated as part of the processor expert code generation, and not during the initial project creation. Therefore you only see the prm once you did build.

I tried shortly with XP, and Processor Export did create the prm for me. Note that the prm file is located in the CODE folder on disk and in "Project Settings"/"Linker Files" in the Files views (and not in the prm folder).

With 4.5, I think the error about not being able to start the external debugger is a known vista incompatibility which has been fixed in V4.7.

Daniel
0 Kudos

922 Views
CrasyCat
Specialist III
Hello
 
If you are installing a special edition for CodeWarrior HC12 V4.7, the special edition license file is part of the installed layout.
 
The installation script will automatically install a special edition license in your CodeWarrior root installation directory.
There is no need to contact Freescale licensing to ask for a new license file.
 
CrasyCat
0 Kudos

922 Views
dashz84
Contributor I
thanks stanish,

I will give that a try
0 Kudos

922 Views
dashz84
Contributor I
oh, by the way,

this is for HCS12(X) microcontrollers
0 Kudos