Codewarrior 6.2 on a Widows 7 system

cancel
Showing results for 
Search instead for 
Did you mean: 

Codewarrior 6.2 on a Widows 7 system

Jump to solution
33,513 Views
UcTechnoGeek
Contributor II
Has anyone tried to use Codewarrior 6.2 and the USBDM on a Widows 7 system?
Labels (1)
0 Kudos
1 Solution
2,351 Views
natep
Contributor I

 

I was able to get Codewarrior 5.9.0 for HCS12(X) Microcontrollers running on Windows 7 x64 using the following steps.  It was such a pain to get working that I decided to share with the community.  Please note that I have experienced instability with this setup, but it generally works ok.  It seems to be faster than running Codewarrior for HCS12(X)  on Windows Virtual PC in Win XP Mode.  (Some of these steps were borrowed from a previous post.)

 

1) Install the p&e drivers version 10 from:

http://www.pemicro.com/blog/post.cfm/p-e-hardware-interface-drivers-version-10-windows-7

This includes drivers for all windows versions and windows 7 x86 and x64 too !!!

2) Copy from win32 intalled CodeWarrior (like xp 32bits) from Program Files\FrescaleCodeWarrior for S12(X) V5.0 to the c:\Program Files(x86)\Freescale\CodeWarrior for S12(X) V5.0

3) Now, this step is the MOST IMPORTANT:

    Look at the file "Mwregsvr.exe" in the c:\Program Files(x86)\Freescale\CodeWarrior for Microcontrollers V6.1\bin and click the right button on this file, then click properties.

    Now, in the compatibility tab,set the compatibility to WindowsXp (sp2) and set the checkbox

    to run in administrator mode.

    Now, click apply button then click OK button.

4) In the same folder, run once the file regservers.bat

    When windows ask for the permisions, just click yes everytime.

 

5)  You may want to create a desktop icon at this point.

 

6)  If you have a node locked license, you may need to generate a new license file for the new setup since the Win x64 will have a different MAC address than your donor Win XP install or your Windows Virtual PC in Windows XP mode.  See the MyFreescale for how to do this.

 

7)  I could not get my USB Multilink (USB-ML-12E Rev C) to be recognized by the True Time Simulator & Real-Time Debugger, so I contacted PEMicro.  They provided me with an updated unit_12z.dll file.  Using this file (attached here zipped) to replace all other current versions of this file.  (The only version I had was at "C:\Program Files (x86)\Freescale\CodeWarrior for S12(X) V5.0\Prog")

 

Now everything should work with Win x64.

 

Hope this helps anyone trying a work around with Win x64.

 

View solution in original post

0 Kudos
68 Replies
314 Views
luismi911
Contributor I

Thanks kef, your solution worked like charm! =D (now i can uninstall the 32bit windows that i had only for running CW, yay!)

 

PS. I'm working on a vaio w7 x64 machine with a P&E DEMOJM board 

0 Kudos
314 Views
kef
Specialist I

You should not hurry uninstalling 32bit windows. Unfortunately installing it this way (copying files and adding dll's), Jungo WinDriver will expire after a month or so. Probably it is working in trial mode and then expires. I don't know how to fix that. I tried to run NoICE debugger. NoICE works fine on 64-bit windows. You run it once, and then Freescale debugger works until you PC reboot. Not very nice :smileysad:.

0 Kudos
314 Views
luismi911
Contributor I

Crap...  well, i guess a month is enough for now. Anyway...  thanks for the advice kef! =D

0 Kudos
314 Views
Designer11
Contributor IV

HI All,

 

I tried the above methods but i couldn't  get the cyclone to work for debugging/simulation. Does anyone have a solution for this ?

 

bellow is the message i got

 

BR,

d

0 Kudos
314 Views
Designer11
Contributor IV

Guys,

 

Make sure you rename the Wdapi900_32.dll file to Wdapi900.dll file and that solved my problem.

 

0 Kudos
314 Views
Maneco
Contributor I

Great man! the wdapi900_32.dll worked smoothly over CW v. 6.2 for MCU on my 64bits win 7 macihne!!! All I had to do was copy this Dll to PROG folder to make codewarrior find the BDM 64 Bits driver! good job!

My best Regards!

Mauro.

 

PS: I could not attach the dll file here! someone please do it to help other people!

 

0 Kudos
314 Views
kef
Specialist I

Thanks for confirming it works with your PC. I attached required DLL's

0 Kudos
314 Views
PatrickW
Contributor III

Kef,

Thank you a million times over.  I've been trying to get my Multilink to appear for days and was at my wits' end.  Note to others:  Be sure to rename his wdapi900_32.dll to wdapi900.dll (as he said, but as I forgot to do for about an hour) or it won't work.

 

Patrick

0 Kudos
314 Views
Cdn_aye
Senior Contributor I

I am behind the curve here and have read through all the posts.

 

I have Win 7 ultimate x6;, do I just copy an xp installation to the correct directory and update the drivers as mentioned above? The registry enteries don't matter?? I have never done an install like this but would really like to get away from XP. I run VMWare with XP in a window on Win 7. It is a pain. VMware is great but there are lots of things to account for with network drives, priviledges, network timeouts in the middle of a compile and all the other sorry stuff that goes with a muddled up XP windows system using a network.

0 Kudos
314 Views
kef
Specialist I

Registry entries are fixed executing regservers.bat in <CW root>\bin folder. Before executing regservers.bat, it is recommended to set compatibility of MWRegsvr.exe to WinXP SP2. At least I did like was suggested by Natep on page 2 of this thread.

 

I must mention that solution with P&E drivers seems to be semiworking. After some time P&E drivers may start complaing that they are not registered. I guess Windriver, on which P&E drivers are based, can expire if not installed properly. I don't know how to fix it. Workaround is to run and close some application, that installs and runs natively on x64 windows. I tried running NoICE debugger. After NoICE is closed, CW debugger works until reboot.

0 Kudos
314 Views
admin
Specialist II

thank you very much, kef

now i can use my multilink, it's great to see these debug windows again!

0 Kudos
314 Views
admin
Specialist II

thank you kef, i will try it again.

i'm using the full multilink in plastic case. i hope this method will work

0 Kudos
314 Views
layman
Contributor I

Thanks!!

0 Kudos
314 Views
sapy
Contributor I

Can you please re-send the attachment

 

 

Thank you,

 

 

 

0 Kudos
314 Views
djsimpson
Contributor III

Great work Natep!!!

 

Step 7 seem to be where I am stuck. I can use a Cyclone Pro via Ethernet, but can't use the USB BDM.

 

The updated dll, however, did not appear to be attached. Could you please upload it again?

 

Thanks

David

0 Kudos
314 Views
looxonline
Contributor I

I have tried using CW 6.2 and CW 6.3. I am running Windows 7 Ultimate x86. I have tried to run the IDE.exe file with administrator permissions in Win XP SP2 and 3 compatibility modes as well as the Regsvr.exe file under the same conditions. I have even tried running both files in Vista compatibility modes as well and I get absolutely no luck whatsoever. I have even tried in XP mode using the Microsoft virtual PC app and now I get licensing issues.

 

Wow, what I would do for a working solution! 

0 Kudos
314 Views
ck_max
Contributor I

Hi,

 

I have that bad experience too. And I also have other problem using P&E USB MultiLink in XP. The MultiLink cannot be detect by windows when I running VirtualBox.

 

All I can suggest is, try to make the software environment clean and simple. (That's why I reinstall my XP)

 

As I tested, the USB dongle cannot be used in virtual machine, but I did not try XP mode, I use VirtualBox. 

 

I'm using windows 7 home premium x86 version, installed CodeWarrior 6.3 and 7.1 eval version with 7.1.2a patch. They were installed with XP compatible and administrator permissions. P&E MultiLink driver version 10 installed too.

 

Cause of node lock license, I installed Flex License manager and dongle driver too.

 

For these weeks, CW crashed all the time, but it worked better after I installed P&E multilink driver ver 10. ( I'm not try Regsvr.exe cause I'm not using 64bits version) 

 

Hope these do some help with you.

 

Regards,

Max. 

0 Kudos
314 Views
ck_max
Contributor I

Hi guys,

 

Here comes reports for this week

 

CodeWarrior 6.3/7.1 crashes all the time

 

Yes, still

 

Normally happened when do file access, like reading project file, reading normal files, compiling, linking.....

 

I try to do alejandrolunadj wrote, run regservers.bat to re-register the files. Hope it's working... 

Message Edited by ck_max on 2010-02-01 07:58 PM
Message Edited by ck_max on 2010-02-01 07:58 PM
0 Kudos
314 Views
giantkiller
Contributor II

I have hp dv7-4060 with default win7 premium. Freescale would not install. upgraded to win7 pro. Install MS xp mode.

Freescale runs. pulled in 6805 masm code and re-assemble with 3 types of fixes. Code now assembles... Project saved! migrated from 6805 to 08gb60 in 3 hours work. SHWEEEEEEETTTTTTTTTTTTTTTTT!!!!!!!!!!!!!!!!!!!!!!!!!!!!.

I have port remapping to engage in next. No biggie.

I am way so pleeeezzzzedddd.

This project will incorporate wireless robot to pc database app. Muwahaha...

 

0 Kudos
314 Views
layman
Contributor I

I am trying to do what alejandrolunadj suggested. Have got the IDE to work but facing problem while installing the drivers. I get an error message " can not run x86 build on this utility of x64 platform". This is strange since the drivers from PE micro are meant for x64.

OS: Windows 7 Home premium

CW: 6.2

pemicro drivers:

http://www.pemicro.com/blog/post.cfm/all-p-e-software-now-works-under-windows-7-and-64-bit-os

and

http://www.pemicro.com/blog/post.cfm/p-e-hardware-interface-drivers-version-10-windows-7

Any pointers ?

Thanks

Pramod

 

 

 

Message Edited by layman on 2010-02-04 11:01 AM
0 Kudos
314 Views
layman
Contributor I

Update:

driver version9 was giving the error.

driver version10 seems to have been installed properly as device manager shows USB multilink2.0.

but multilink fails to be detected by true time debugger. it gives error message "Port: undetected. Disconnect/Connect USB cable. Click refres list"

I am attaching a snap shot of my system

Thanks

Pramod

 

0 Kudos