Codewarrior 6.2 on a Widows 7 system

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

Codewarrior 6.2 on a Widows 7 system

Jump to solution
44,601 Views
UcTechnoGeek
Contributor II
Has anyone tried to use Codewarrior 6.2 and the USBDM on a Widows 7 system?
Labels (1)
0 Kudos
Reply
1 Solution
13,440 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
Reply
68 Replies
2,578 Views
Uffe
Contributor I

Hi

To make the PE micro USB multi link work with Code Worrior 6.1 in Windows 7

-Install the DRIVERS10_install.exe.  http://www.pemicro.com/downloads/download_file.cfm?download_id=301

-Copy the PEUSBMGR.dll from C:\Program Files (x86)\PEMicro\Drivers\windriver\redist to the folder C:\Program Files (x86)\Freescale\CodeWarrior for Microcontrollers V6.2\prog

-renme the PEUSBMGR.dll file to PEUSBWD2.dll

 

That made it work for me.

0 Kudos
Reply
2,578 Views
JohnnyS2K
Contributor III

That's right, the solution that Uffe has posted make my Cyclone Pro work on the Win7 x64 using the CW 6.2 and the CW 6.3 by USB too!

 

Regards

Johnny

0 Kudos
Reply
2,577 Views
looxonline
Contributor I
That solution unfortunately does not work for me. Do the UAC settings play any part? Unfortunately it seems as if Freescales only weakness is keeping their dev tools up to date with OS releases...other than that they are pretty awesome.
0 Kudos
Reply
2,577 Views
ck_max
Contributor I

Hi,

 

Which CW version you use? 7.1 or 6.2/6.3? I use XP compatibility mode with administrator permission for CW 7.1 and 6.3.

 

Both upgrade to latest version.

 

CW 7.1 works not so smooth but acceptable.

 

Regards,

Max. 

 

0 Kudos
Reply
2,577 Views
Juls
Contributor III

working good with 6.1 and 7 64-bit

 

got some multilink issue tho...

0 Kudos
Reply
2,580 Views
alejandrolunadj
Contributor I

I HAVE THE SOLUTION !!!!!

I have CW 6.1 working on Windows7 x64 bit version.

Just do the following steps:

 

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\Frescale\CodeWarrior for Microcontrollers V6.1 to the c:\Program Files(x86)\Freescale\CodeWarrior for Microcontrollers V6.1

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 in properties.

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

    to run in administrator mode.

    Now, click in aply button then click in OK(accept) button.

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

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

 

Now, the CW is running on Windows7 x64 !!!!

 

Jus try with CW 6.2 and 6.3 and tell me !!!

 

 

   

0 Kudos
Reply
2,578 Views
admin
Specialist II

I tried the following:

1) Install the p&e drivers version 10

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\Frescale\CodeWarrior for Microcontrollers V6.1 to the c:\Program Files(x86)\Freescale\CodeWarrior for Microcontrollers V6.1

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 in properties.

    Now, in compatibility tab, set the compatibility in Windows Xp (sp2) and set the checkbox

    to run in administrator mode.

    Now, click in apply button then click in OK(accept) button.

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

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

 

Now the CW6.2 on win7 works  although still crash sometimes. But I can not debug since it can not detect the P&E. I powered the target board and both the blue and yellow light of the PE are on. Can any body tell me how to solve this problem?

0 Kudos
Reply
2,578 Views
admin
Specialist II

natep:

 

I think you fogot to post your attachment...

0 Kudos
Reply
2,578 Views
admin
Specialist II

could anyone help me? i have been impeded by this issue for almost 2 months

0 Kudos
Reply
2,580 Views
edm
Contributor I

I have recently switched from XP SP2 to Windows 7 Home Premium. Codewarrior 8 ran fine in XP. However, though I can develop and "Make" in the Win7 environment, when I try to "Run" or "Debug" (depending on the version of the "Make") I get the error "PRC file could not be loaded" followed by "Connection failed". The prc file in fact exists in the "Obj" subfolder of the app and can be loaded and executed in POSE using "Install" and on the physical device using the HotSync Manager, so I can test and distribute but cannot debug.

Developing Palm apps is not my primary job function but I am the "Palm guy" in my organization and unfortunately need the debugger!

It appears I am missing a setting someplace, but I don't know how to fix it. Any help greatly appreciated.

0 Kudos
Reply
2,580 Views
J2MEJediMaster
Specialist I

For the record, we no longer support the Palm developement tools.

 

Having said that, I will take a stab at what might be the problem. The first issue might be the USB driver--if the Palm tools use that. A lot of the problems with CodeWarrior on Windows 7 seem to be rooted in the USB driver, and that is being looked into.

 

Second, since it's complaining about the file rather than the USB interface, it might be an access rights issue. WIndows 7 is supposed to have tightened up the privileges on what can access the Program Files folder, and CodeWarrior likes to pick up odds and ends from its CodeWarrior installation directory as it runs. This causes it to butt heads with the operating system. A workaround that I have heard of is to install CodeWarrior outside of the Program Folders directory.

 

Hope this helps.

 

---Tom

0 Kudos
Reply
2,580 Views
layman
Contributor I

Any Idea, by when will codewarrior (for SG8) will officially support windows 7 ? Tried all workarounds and acrobatics possible but couldnt make peace between cw(6.3) and windows 7.  To me, my trouble seems to be because of P&E multilink driver issue but P&E guys are pointing fingure at CW.

Awaiting for things to fall in place

Pramod

 

0 Kudos
Reply
2,580 Views
ck_max
Contributor I

Hi,

 

I'm using windows 7 x86 version. CodeWarrior crashes much less after I installed P&E driver 10 for win7.

 

I've try two days, crash only once.

 

It seems solved the problem almost.

 

Regards,

ck_max. 

0 Kudos
Reply
2,579 Views
ck_max
Contributor I

Cause of some reason, I'm using Windows7 RC from last week, CW6.2 can run with no problem, but need to be set as 'Windows XP SP3 Compatible" mode.

 

CodeWarrior 7.1 for ColdFireV2 works too.

 

But, I got problems. I bought a download version of CodeWarrior BASIC, which version should I download? Evaluation or Special(Free) version?

 

And, the big problem is, FLEXlm cannot read USB dongle ID. I tried to install latest driver and driver updates. And also try different modes(XP SP3 compatible or run as administrator, etc.), it seems the driver cannot be installed correctly.

 

Every I run driver installer, it shows driver need to be updated.

 

I tried for 2 days.

 

Has any solution? 

0 Kudos
Reply
2,579 Views
admin
Specialist II

I'm using CW6.2, recently downloaded, on WIN7 RTM 32-bit version of Ultimate, not the RC version (ref:7100). My laptop would not install x64-bit version due to a ROM BIOS issue. Anyway, I'm successfully running on WIN7x32 Ulimate with just one problem, my lack of experience with CW (;-0)).

 

I have excellent results with the new WIN7 O/S on all fronts. No, I dont work for MS.

The OSBDM driver also works fine. I plugged in my S08QE8 low power eval bd. from Future. The driver is stable and it recognized the eval. bd without issues ( I hate issues).

 

I'm trying to write an application that reads the temperature sensor on the eval bd. and sends it up to the host via USB serial. I have yet to find any help online. Any suggestions are appreciated.

best,

spincraft

 

 

 

 

0 Kudos
Reply
2,580 Views
admin
Specialist II

Sorry for this late response on this thread.

After trying several ways to make CW work on WIN7, I got tired of CW crashing when it talks to hardware ( USB, QE8, BSD, MC13123). I wiped the drive on another system and installed WIN XP Home ed.

 

This cured the crashing and other issues that wouldn't work even in XP_SP2 compatibility mode under WIN7. I'm using WIN7 on all of my other PCs and love the new O/S. It's the target platform for this project but XP is needed for CW stability.

 

I'm currently evaluating IAR Workbench as an alternative to CW.

my $0.02 worth!

 

 

0 Kudos
Reply
2,580 Views
Superberti
Contributor I

I've tested CW 6.3 for HCS08 on Win7 prof. 32 bit and Win7 home 32 bit. Everything's working fine (compiling, programming, debugging a MC9S08QG8), but when I close CW I got several error messages on both computers. It is absolutely reproduceable.

 

Bye,

0 Kudos
Reply
2,580 Views
J2MEJediMaster
Specialist I

It sounds like you have a driver issue there. Have you seen this thread? Maybe it will help.

 

---Tom

0 Kudos
Reply
2,580 Views
ck_max
Contributor I

I got application exception all the time when using CW 6.2 or 7.1

 

This is an example when I try to run my project on win7rc using CW7.1

------------------------------------------------------------------------------ 

Faulting application name: IDE.exe, version: 5.9.0.3024, time stamp: 0x4874561c

Faulting module name: kernel32.dll, version: 6.1.7100.0, time stamp: 0x49eea60e

Exception code: 0xc0000005

Fault offset: 0x00062ac8

Faulting process id: 0x97c

Faulting application start time: 0x01ca879eb95d26be

Faulting application path: C:\Program Files\Freescale\CodeWarrior for ColdFire V7.1\bin\IDE.exe

Faulting module path: C:\Windows\system32\kernel32.dll

Report Id: f3e27e6f-f392-11de-a3c4-001fd051f679 

------------------------------------------------------------------------------ 

not only on win7rc, but also on XP

It(CW) crashed often, even I just try to change project option

 

Is that any fix? 

0 Kudos
Reply
2,580 Views
shbtha005
Contributor I

Can any one help me im trying to run  Codewarrior 6.2 on my windows 7 and when im trying to create a new project it just gives me an error to see that error, please refer to the picture and the document  I HAVE attached below.

0 Kudos
Reply
2,580 Views
kef
Specialist I

I think you need to disable desktop composition. This can be done editing properties of CW IDE.exe shortcut

 

https://community.freescale.com/message/52062#52062

0 Kudos
Reply