How-to Directly Install CodeWarrior 6.3 Classic in Windows 10 or 7 x64 (Unofficial Method)

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

How-to Directly Install CodeWarrior 6.3 Classic in Windows 10 or 7 x64 (Unofficial Method)

222,153 Views
RodneyMcGee
Contributor IV

CodeWarrior 6.3 is for most RS08, S08, ColdFire V1 Processors*

*Not compatibile with (S08: RN, RNA, PA, PT, Kinetis (including Tower), ColdFire V2 ...)

 

This post describes installing CodeWarrior for Microcontrollers (Classic IDE) - RS08/HC(S)08, ColdFire V1 v6.3

on 64-bit modern versions of Microsoft's operating systems e.g. Windows 7 and Windows 10. 

 

Some people could argue to use the Eclipse-based CodeWarrior and they have their points (some devices and situations require it). On the other hand Freescale long knew that Eclipse-based CodeWarrior is cumbersome. Here is a great article (now only available by archive since it was deleted) article by James Trudeau (formally of Freescale) about his teams unfinished but thoughtful effort: CodeWarrior 10.3 a new perspective.

Also for those who fondly remember programming Motorola parts with an Metrowerks IDE, give this a shot.

Typically you will get the error "CodeWarrior Development Studio for Microcontrollers v6.3 is not compatible with Windows XP 64-bit installations" when trying to install under Windows 7/10 x64.

These methods are UNOFFICIAL and are not supported by NXP

– Do not contact NXP support for these methods. 

NEW METHOD - ONE STEP :

UNOFFICIAL community version Special Edition CodeWarrior "6.3.2" 

Download and install here: 

http://mirror.lug.udel.edu/pub/community-projects/freescale/cw-632-se-installer-r1.exe

Includes all updates, fixes, and service packs

  • For P&E Micro - just check the box for the install options - no extra steps needed
  • For USBDM - just check the box for the install options - use the USBDM firmware updater (start menu) if needed 

DONE – NO EXTRA STEPS NEEDED 

Any issues? Ask questions in this forum. 

OLD METHOD:

Partial instructional video:

Freescale/NXP CodeWarrior Classic 6.3 Windows 10 x64 HCS08 RS08 CFV1 P&E Micro BDM - YouTube

Note: The video doesn't show the PE_Plugin.dll update or the P&E fix. Also the files names may be a little different.   

Main Installation steps (Windows 7/10 64-bit):

1. Download: CodeWarrior for Micro-controllers here (or here alt link): which is for most RS08, S08, ColdFire V1

2. Install 7Zip, and extract the exe (instead of running the exe; right click it and extract) to a folder

3. Download and extract RemoveOSCheck.vbs.zip (attached below or mirror) and move it your extracted folder.

4. Drag and drop CW_MCUs_V6_3.msi onto RemoveOSCheck.vbs giving a series of messages like "Launch Conditions Removed"

5. Run the setup.exe file located in the extracted folder. Do a custom install and uncheck the ICEbase and Softec under debugger drivers in the customization options. When you get a prompt skip the auto-updates process. 

Note: If you get an error "The wizard was interrupted ..." see this link #comment-1103754 

6. Install the updates listed below (most are not offered by the updater).

7. In the CW6.3 install folder in Program Files (x86) folder, under bin\plugins\com, *replace* PE_Plugin.dll with the one extracted from zip attachment at the bottom of this post. 

8. Run the software as administrator (using right click menu) at least once.

9. If your code is 64k or smaller use the free Special Edition license below. 

License Issues or lab cloning:

This license linked below was posted online by Freescale and is open to ANY hostid and doesn't expire which great for cloning machines. Is it a special edition license file limited to 64K or less of code. 

Assuming 7 or better, goto the "Start menu", type Notepad, right click the icon select run as administrator. Goto File -> Open and goto C:\Program Files (x86)\Freescale\CodeWarrior for Microcontrollers V6.3\license.dat, then open this license link (Freescale archive) to view the file in your browser. Highlight all the text (starting with # lines and down) in the browser and COPY and in notepad PASTE it over ALL the existing text in license.dat, then goto File -> Save.  This avoids any nasty file permission issues. 

If your license file only works when you run as CW as administrator, this is because of inherited permissions. I would delete the whole "CodeWarrior for Microcontrollers V6.3" folder reinstall and use the copy paste method above. 

List of updates for CW 6.3 backup link to downloads:

Always install these two: 

CW MCU v6.3 PE V3.09 - Patch.exe (It will warn about derivative updates not being installed; this is ok)

CW MCU v6.3.1 - Patch.exe

Install these if you want this derivative updates:

CW MCU v6.3 AG128 Service Pack.exe CW MCU v6.3 AW16A Service Pack.exe CW MCU v6.3 AW60 Service Pack.exe CW MCU v6.3 ColdFire V1 EM256-EM128 Service Pack.exe CW MCU v6.3 HCS08 QE32 Service Pack.exe CW MCU v6.3 LH64-LL64 Service Pack.exe CW MCU v6.3 MM128JE128 Service Pack.exe CW MCU v6.3 MM256-JE256 Service Pack.exe CW MCU v6.3 S08 AC128 Service Pack.exe CW MCU v6.3 S08 SF4 Service Pack.exe

CW08_V6_3_PE_V3_08_SP.exe (Obsolete - Do not install/download) CW MCU v6.3 - Flash Patch.exe (Obsolete - Do not install/download - Instead see P&E instructions below) CW MCU v6.3 PE V3.08 - Patch.exe (Obsolete - Do not install/download)

 

P&E Micro BDM steps: Cyclone Pro, Cyclone Universal, USB BDM Multilink*, USB Multilink Universal, USB Multilink Universal FX. 

*Note: Rev. A of the USB-ML-12 is not supported in Windows 7/10 – Rev. C is supported but is discontinued product

1. Download and install the latest drivers (free login required)

2. According to this FAQ, download this zip Patch for CFV1/S08/RS08/MON08 3rd Party Software  extract it and follow the rest of steps in the README text file.

(Basically you need to merge the files from inside the "Patch" folder in the zip into "C:\Program Files (x86)\Freescale\CodeWarrior for Microcontrollers V6.3\prog\P&E".If you do it correctly, it should prompt you about overwriting a few files, do it.)

3. Run CW as administrator (using right click menu) including building and debugging/programming once.

 

USBDM

I personally used this for a HCS08SH microcontroller with a Wytec USBDM with the latest and it works great. If you don't consider it because they are a fifth the price of other programmers and are open source hardware and software. You can also buy them on eBay for about $15 dollars US (white-ish box with three leds, black letters on the outside that says "USBDM" are the ones I have tested), but throw away the CD that comes with them. Follow the YouTube instructions below.  The project is currently hosted on https://usbdm.sourceforge.net/

Watch a video on the process: USBDM CodeWarrior 6.3 5.1 5.2 Windows 10 x64 Install and Update Firmware - YouTube 

Steps:

1. (Uninstall and re)Install latest USBDM software AFTER installing Codewarrior 6.3

2. (Uninstall the re)Install latest signed driver before plugging it in USB.

3. Use the firmware updater from the start menu to make sure the firmware is up to date

(TIP:  Try the verify button before trying to update to make sure all "update mode" drivers are installed; it may crash/hang the 1st verify, fail on the 2nd verify, but that is OK, thirdly do the update)

4. You'll need to select "HCS08 Open Source BDM" in the new project wizard in CW 6.3

Note that the automatic calculation of the clock trim doesn't work directly from CW6.3 debug you need to use the standalone USBDM HCS08 external programmer from the start menu (see posts below from USBDM dev PGO).

Dead Collector: Bring out yer dead!

Freescale: Here's one.

CodeWarrior Classic: "I'm not dead".

Dead Collector: 'Ere, he says he's not dead.

Freescale: Well, he will be soon, he's very ill.

CodeWarrior Classic: I'm getting better. I work with Windows 10 x64 now.

NXP: What about this one? 

Freescale: Who me?

Labels (1)
89 Replies

10,003 Views
RodneyMcGee
Contributor IV

Just to let everyone know. I managed to find links to many missing service packs which are not offered from the CW updater. I have added links to them to the main post.

Checkout pascal's link below is you want to find updates through the license portal.

10,002 Views
trytohelp
NXP Employee
NXP Employee

Hi Rodney,

In December 2014, we introduced a new system to manage the registration (license file).

This new system manage the license file and is used to download the tool versions (new and old) and the patches too (for last version).

This is an extract of my account:

pastedImage_0.png

for details you can refer to the community post:

     How to download a Service Pack / Patch / Update?


Have a great day,
Pascal
NXP Technical Support

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

10,002 Views
RodneyMcGee
Contributor IV

Is ProcessorExport 3.09 the latest for 6.3?

I don't see that update listed in the licensing portal. 

0 Kudos
Reply

10,002 Views
trytohelp
NXP Employee
NXP Employee

Rodney,

Problem solved.

pastedImage_0.png

Pascal

0 Kudos
Reply

10,002 Views
trytohelp
NXP Employee
NXP Employee

Rodney,

Processor Expert 3.07 is the default version included in MCU V6.3.

Processor Export 3.09 is the last version and you're right it's not listed in the web.

I will check why it's missing.

Keep you informed.

Have a great day,
Pascal
NXP Technical Support

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

9,997 Views
biethoang
Contributor I

Hi Rodney,

I was able to install CW6.4 in Win7. My program is built fine in Win7 and produces the same output as WinXp. However, I have problem with P&E Micro BDMs steps to make the software to be able to debug via PEMultilink. CW 6.4 does not have the same directory structure as seen in CW 6.3. There is no /prog directory in  C:\Program Files (x86)\Freescale\CodeWarrior for Microcontrollers V6.4\, so I can't proceed further steps.

Am I missing anything? Is there a workaround for this issue?

Please look into the attached file for more detail information

Thank you very much for your help,

0 Kudos
Reply

9,997 Views
trytohelp
NXP Employee
NXP Employee

Hi,

The CW V6.4 is CW for Coldfire V6.4.

The info provided for V6.3 was for CW for MCU V6.3.

This is not the same tool.

What's about CW for Coldfire V6.4 ?

This is an old version released in 2007.

I've performed some tests on my side and remember the following:

++++++++++++++++++++++++++++++++

I've performed some tests on my side and I think we've a solution based on Win 7.
My configuration is:
- Win 7 64bits,
- CW for MCF V6.4,
- Multilink Universal,
- TWR-MCF5441X board.

Based on this configuration I've created an example with the Project Wizard.
For the connection settings, select PEMICRO_USB.
If I launch the debug session I got an error.
This is normal as CW for MCF V6.4 is too old and doesn't support Multilink Universal interface.
However P&E released a patch to solve this problem.
Please have a look to the P&E Web site:
http://www.pemicro.com/faqs/faq_view.cfm?id=211

After to have downloaded the Coldfire patch, open the readme.txt file to know how to install it.
When it's done you can launch the debug session and on my side the application is loaded on board.
By this way you can debug the application with MCF V6.4 on Win 7 OS.

++++++++++++++++++++++++++++++++

Pascal

9,996 Views
guyanchelovich
Contributor I

I tried to install CodeWarrior 8.8 directly under windows 7  x64 according the guidebook and I got error :

Cannot run an X86 built of this on x64 platform.

There is any possibility to install CW V8.8 under windows 7  x64 ?

0 Kudos
Reply

9,996 Views
trytohelp
NXP Employee
NXP Employee

Hi Guy,

What is the tool you're using ?

    is it CW for PA V8.8 ?

Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

9,996 Views
guyanchelovich
Contributor I

hi

How can I find the tool version I am using?

On Help -> About Freescale Code Warrior I can see

CodeWarrior IDE version 5.9.0 Build 2529

0 Kudos
Reply

9,996 Views
trytohelp
NXP Employee
NXP Employee

Guy,

  Under CodeWarrior IDE (classic)

                Start the IDE and click on Help | About Freescale CodeWarrior.

                Click on Installed Products

                Provide us all info displayed.

                Or you can save them in a txt file.

Else  you should find information in the welcome.txt  under the installation folder.

According to the IDE version I think you should use CW for PA V8.8.


Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

9,996 Views
guyanchelovich
Contributor I

hi,

Installed Products:

    CW Dev Studio, Power Architecture, Professional Edition, v8.8.3, Build 90619

    CW Dev Studio, Power Architecture, Professional Edition, v8.8.4, Build 100924

    CW Dev Studio, Power Architecture v8.8.x, Service Pack 1 for 8306SOM and 8306S SOM, Build 1400

    CW Dev Studio, Power Architecture v8.8, Service Pack 2 for MPC8306(8306S) SOM, MPC8308, and MPC8309 SOM, Build 101126

    CW Dev Studio, Power Architecture v8.8.x, Service Pack 2 for 8308, Build 1390

    CW Dev Studio, Power Architecture v8.8.x, Service Pack 1 for 8309SOM, Build 1390

    CW Dev Studio, Power Architecture, Debugger Data Drop, v8.8.x, Build 8315 SP1 1000

    CW Dev Studio, Power Architecture v8.8.x, Service Pack 2 for 8569, Build 1350

    CW Dev Studio, Power Architecture, Debugger Data Drop, v8.8.x, Build 8572 SP1 1050

    CW Dev Studio, Power Architecture, Professional Edition, v8.8, Build 80229

    CW Dev Studio, Power Architecture, Linux Applications Edition, v8.8, Build 80229

    CW Dev Studio, Power Architecture, Debugger Data Drop, v8.8.3, Build 0810

    CW Dev Studio, Power Architecture v8.8, Service Pack 2 for P1011, P1012, P2010, and MPC8569, Build 100907

    CW Dev Studio, Power Architecture v8.8.x, Service Pack 1 for P1011, Build 1350

    CW Dev Studio, Power Architecture v8.8.x, Service Pack 1 for P1012, Build 1350

    CW Dev Studio, Power Architecture v8.8, Service Pack 1 for P1020 and 8308, Build 100414

    CW Dev Studio, Power Architecture v8.8.x, Service Pack 1 for P1020, Build 1210

    CW Dev Studio, Power Architecture v8.8, Service Pack 1 for P1021 and P1022, Build 100616

    CW Dev Studio, Power Architecture v8.8.x, Service Pack 1 for P1021, Build 1260

    CW Dev Studio, Power Architecture v8.8.x, Service Pack 1 for P1022, Build 1250

    CW Dev Studio, Power Architecture v8.8.x, Service Pack 1 for P2010DS, Build 1350

    CW Dev Studio, Power Architecture v8.8.x, Service Pack 1 for P2010RDB, Build 1350

    CW Dev Studio, Power Architecture, Debugger Data Drop, v8.8.x, Build P2020 SP1 1070

0 Kudos
Reply

9,996 Views
trytohelp
NXP Employee
NXP Employee

You 're using CW for PA V8.8 and applied several patches.

You've installed the update V8.8.3 and V8.8.4.

PA V8.8.5 and 8.8.6 patches are available.

When the PA V8.8  installer is launched you get an error regarding the CCS drivers which is not compatible with 64 bit.

However at the end you will see:

pastedImage_1.png

Now you can install the patches.

The V8.8.5 includes all older patches.

This contains all drivers supporting the 64 bit.

Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

9,996 Views
joellanger
Contributor II

Greetings, thank you for sharing this content.

After upgrading to the CW63_patch_S08.RS08.CFV1 and PEDrivers_install it worked perfectly with the HCS08 but not for CFV1. I noticed that for the HCS08 opened a new option UB Multilink, UBS Multilink FX but for CFV1 not.

Regards

HCS08:

Hcs08OK2.png

CFV1:

Error2.png

Error1.png

0 Kudos
Reply

9,996 Views
RodneyMcGee
Contributor IV

This issue was fixed.

See the instructions at the top (regarding the P&E FAQ step).

9,996 Views
dario200
Contributor I

Excellent post!. I have installed CW 6.3 on Win7 x64 with a USB Multilink Interface HCS08/HCS12 Rev. C and it's working.

The only issue I found so far is that every time I press the debug button on CW it opens a new instance of the programmer/debugger HIWAVE.EXE. This is problematic because if a previous instance is open, which is always the case, then the new instance cannot connect to the target board (it seems the USB Multilink is already blocked by the first instance and the second cannot detect it). The only workaround I found is to first close the debugger before pressing the debug button in CW. When I coded in my old XP machine, CW reused the open instance instead.

Has anyone experienced this issue? Do you know a way to set CW to reuse the current instance of the debugger?

Thanks.

--

Dario

0 Kudos
Reply

9,996 Views
marceladuenas
Contributor II

i have the same issue in win 8.1

0 Kudos
Reply

9,996 Views
dario200
Contributor I

Has anyone found a solution for this issue?

0 Kudos
Reply

9,996 Views
RodneyMcGee
Contributor IV

I was able fix this issue running CodeWarrior as an Administrator and then debug.

Goto the Start Menu in Windows 10 -> Right click on CodeWarrior IDE and Select "Run As Administrator"

Open a existing or make a new project. Make and Debug.

After running the IDE and Debugger as Admin once the issue was fixed when running as a normal user.

Please let me know if this fixes the issue for you!

0 Kudos
Reply

9,996 Views
marceladuenas
Contributor II

Hi i Just try al the process in windows 10 and works perfect thank you to all

9,996 Views
euge
Contributor I

Hi Rodney

I followed all the steps with win8.1 instead of win7.
The whole procedure happened just as you described  but when I ran Setup.exe the CW the installation starts well but is aborted before completion.

The CW message was the instalation could not finish OK - the system was not changed and try later

Do you have you any suggestions?

Best Regards

Eugenio

0 Kudos
Reply