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)

179,940 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

634 Views
trytohelp
NXP Employee
NXP Employee

Hi Eugenio,

The CW for MCU V6.3 installer is not running on 64 bit OS.

The installer is checking the OS version and will not run under 64 bit.

To be running you must install the tool 32 bit system.

However under Win 7 64 bit you can install the tool on 32 bit system and copy the installation folder to Win 7 64 bit.

After that you can execute \bin\regservers.bat before to launch the \bin\ide.exe.

I've checked on my Win 8.1 64 bit and the process is working too.

Note:

You can get error when the \bin\regservers.bat is executed and an error when you try to launch the IDE.

In this case you must:

      -> open a Command prompt in administrator mode,

      -> go to \bin folder,

      -> execute regservers.bat

Now the IDE will be correctly registered

Be aware the P&E driver must be updated too as explained previously in this post.

Attached you will find video showing the 2 actions:

    - try to install V6.3 using the installer -> not working,

    - copy and past installation folder -> working


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

634 Views
RodneyMcGee
Contributor IV

The main posted has been updated for Windows 10 and Windows 8.

See the separate Win8/10 video with instructions.

645 Views
nhpete
Contributor III

 

CW 6.3, WIN7 Prof 64B, PEMicro USB Multilink Rev. C

 

Your work-around as described in your July 3, 2014 post worked perfectly for me in all respects for about 3 weeks. Then, suddenly I could no longer connect with the target board (m68demo908gb60) to which I had connected successfully numerous times during the 3 week period. Both the blue and yellow leds are illuminated, but every time I try to connect prior to debugging, the command window in CW indicates “Notice-Cyclone Pro/Max USB driver did not initialize (20000021) – Library=WDAPI900.DLL.”  I have removed and reloaded CW/the work around thinking that maybe the program or the driver may have been corrupted but the problem remains. I have also attempted to connect to another identical demo board of known good health without success. I am wondering if the work-around is unstable in some way or if the Multilink has failed but I don’t know enough about the internals of CW or the Multilink to determine if either is the case. I no longer have an XP machine so I cannot test the Multilink on a known working copy of CW. Do you or anyone have any ideas on this?


Any help would be greatly appreciated.

Tnx!


Pete

 

0 Kudos
Reply

645 Views
trytohelp
NXP Employee
NXP Employee

Hi Peter,

You can install XP emulation via Virtual PC (Windows) or VirtualBox.

After to have installed the MCU V6.3, you can link an USB connection to the XP emulation.

Sometimes you need to un-plug / re-plug the multilink to be correctly recognized by XP emulation.

At the end the tool will work as real XP OS.

By this way you could check the interface.

Regards

Pascal

0 Kudos
Reply

645 Views
nhpete
Contributor III

Pascale:

Tnx for the suggestion.  I am unfamiliar with setting up the XP emulation and am concerned that the interface might not work on that basis alone.  Instead, I decided on another first approach.  I have Downloaded and installed the Eclipse v10.6 which is supposed to support the Multilink interface as well.  If it works on v10.6, I'll assume there is some instability on the v6.3 workaround and get up to speed on Eclipse.  If it doesn't, I'll assume the Multilink has failed, get another one, and stick with v6.3 work around.

Pete

0 Kudos
Reply

645 Views
trytohelp
NXP Employee
NXP Employee

Hi Peter,

Yes good option too.

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

644 Views
nhpete
Contributor III

Pascal

I was able to connect to my s08 demo board with the P&E USB Multilink thru Eclipse v10.6, so there is apparently nothing wrong with the Multilink.  I am still no longer able to connect to the board via CW 6.3 and Rodney's work around even after unloading/reloading CW/the work around several times. This is very unfortunate since Eclipse is vastly different from CW 6.3 and will have a very steep learning curve.  I'd love to hear if anyone else experienced the same problem and if so, came up with another work around.

Tnx again for your input.

Pete

0 Kudos
Reply

641 Views
takaoyamada
Contributor IV

Greetings,

P&E Microcomputer Systems now has a solution to this problem of getting CW6.3 or other classic Codewarriors from working in Windows 7 64-bit and newer operating systems. Please read this FAQ I created and learn about which unofficial patch you should download and try:

P&E Microcomputer Systems: FAQ#211

Takao Yamada

P&E Microcomputer Systems

634 Views
nhpete
Contributor III

Takao:

Thank you very much for the tip.  I downloaded and installed the s08/rs08/cfv1 patch and was able to connect to my s08 demo board in flawless fashion as soon as I completed step 4. as described on the "read me" file of the patch.  I had already downloaded and installed the latest PE drivers as part of Rodney McGee's 7/3/2014 work around (step 1. under "PE Micro Multilink BDM"), so I don't know if "read me" file step 6. would have been necessary or not.  I hope Rodney is following this thread and adds your latest detail to his work around which is really quite elegant in its simplicity.  It sure beats trying to get up to speed with Eclipse v10.6 which appears to be a powerful IDE but with a very steep learning curve.

Thanks again!

Pete 

0 Kudos
Reply

634 Views
trytohelp
NXP Employee
NXP Employee

Hi Peter,

I've performed some tests on my side.

My config is:

  Software:

      Windows 7 64 bit

      CW for MCU V6.3 + P&E driver version 11

      CW for MCU V10.6

  Hardware:

      TWR-S08UNIV + TWR-S08DC-AC60

      USB Multilink HCS08/HCS12 (USB-ML-12) rev B

      USB Multilink Universal (USB-ML-UNIVERSAL) rev B

Test_1:

I've created a project under MCU V10.6 for Mulitlink interface.

Under MCU V10.6 the 2 interfaces are running without problem.

Test_2:

I've create a project under MCU V6.3 for Multilink interface.

In this situation the interface are not running.

How to solve the problem ?

Refer to the FAQ P&E Microcomputer Systems

I've downloaded the CW63_patch_S08.RS08.CFV1.zip.

A ReadMe.txt file explains step by step the process to follow.

I did:

1. Close any running CodeWarrior applications.

2. Search the CodeWarrior application directory for the prog/P&E folder.

3. When the directory is located, make a copy of the P&E folder and rename it to P&E.backup or archive it so you can restore it at a later time if necessary.

4. Merge all files from the patch into the prog/P&E directory.

5. Restart the application debugger and try to debug your target board.

Now with the 2 interfaces under MCU V6.3, I can load the application on board.


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

634 Views
nhpete
Contributor III

Pascal:

My results exactly.  I assume you are speaking of the PE Microcomputer Systems FAQ #211 mentioned above by Takao. The combination of Rodney McGee's 7/3/2014 work around and the drivers mentioned in the PE FAQ have resulted in full functionality of CW 6.3 /  PE USB Multilink under WIN7 64B. It would be helpful to put all this info into one spot - an application note maybe?  I hear a lot of discussion on this topic.

Thanks again for your input.

Pete

0 Kudos
Reply

634 Views
trytohelp
NXP Employee
NXP Employee

Hi Peter,

Yes exactly.

I put it in my To Do list.


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

645 Views
TurboBob
Contributor IV

Hello all.   The instructions to install CW 6.3 on Win7-64 work great,  what a relief!   Working to get the debugger connected.  I have both the old USB Multilink and USBDM.

For the Multilink,  I followed all the instructions,  and everything loaded fine,  but when trying to debug I get

PE_error.jpg

When I try installing the USBDM software I get:

USBDM_PolicyError.jpg

I'm really close on this,  I have followed all the hints and stuff on the web about policies,  unblocked the msi in rightClick->properties,  fiddled with the registry,  sorta lost here..

Edit:  disabling user account control (UAC),  (control panel -> user accounts) let me install the software.  The driver install was giving windows installer errors,  but I think that was because Windows was trying to install updates or something.  A few reboots and updates and then the drivers installed.  Updated the USBDM firmware and it seems to be working.   I haven't tried to fix the PE stuff,  if USBDM will get the job done,  then I am happy...  !  I hope this is helpful. 

Thanks!

Bob

0 Kudos
Reply

645 Views
JTech
Contributor III

I found that there is a permissions problem. When I fixed that, I was able to install. However there were other problems which I fixed but this exercise took most of my working day today. I posted the full solution elsewhere on these forums, the URL is Codewarrior 6.2 on a Widows 7 system

Right at the bottom of the thread!

0 Kudos
Reply

645 Views
RodneyMcGee
Contributor IV

I added a slightly modified version of info from the 6.2 thread up at the top. This should help people with P&E Micro Multilink BDM. It got my dusty old P&E working right away.

0 Kudos
Reply

645 Views
embeddedprogram
Contributor II

Thanks for this. Running fast in Win7-64 bit with P&E USB Multilink interface.  This really was helpful.

0 Kudos
Reply

645 Views
JTech
Contributor III

Microsoft did it again. Broke a great deal of technical software with the transition to Windows 7 and gave us a really bad "Windows XP Mode" to make our programs run, which works 10% of the time. Henceforth I am transitioning to Linux completely as far as possible. In the meantime however I sit with these same problems.

The Eclipse based Codewarrior is in a word- TERRIBLE. I cannot be productive with such slow software. Texas Instruments' use the same Eclipse IDE and they are ready to debug in 0.7 sec. I have been complaining to Freescale via my local FAE since early 2010, its 2013 and there is still no solution. I have even suggested to Freescale to talk to TI and find out how they got Eclipse to be that fast. I hate Eclipse and always will, I tolerate it for the sake of getting the job done!

Not all of us can afford to throw a Core i7 processor and 16Gbytes of RAM at Codewarrior 10.3 to make it work somewhat acceptably quick. And now, with Windows 7 my hands have been cut off because the last decent version of Codewarrior, version 6.3 doesn't install.

I have tried the trick above, doesn't work on the latest updated copy of Windows 7 Pro. I get the same error as Oskar.

I really wish that Freescale, seeing that V6.3 is basically retired, would release its source code under GNU license, then people like me can fix the problems and recompile it for Windows 7. The days of proprietary, licensed IDEs for micros is coming to an end, especially since a friend and I were able to create a toolchain using GCC for another micro, in Linux and it all works, for free, no $495 license required. Unfortunately GCC does not support the HCS08 at this time to my knowledge and to update it for that, spare time is a luxury.

Rather focus on silicon sales, instead of trying to make money on software.

645 Views
oskaratk
Contributor I

howdy,

anyone successful installing on Win8 ?

I can get the installer to run, but shortly after "copying new files", the installer terminates

Thanks

Oskar

0 Kudos
Reply

645 Views
xiaolaba
Contributor I

very nice, good job Rodney.

best regards,

xiaolaba

0 Kudos
Reply

645 Views
Encoder1
Contributor III

Hi Rodney,

I am too a convinced user of CW6.3. I never tried to switch to Eclipse partly because I am lazy but I am going to think it is either bulkier and perhaps more difficult than CW6. In any case it is my convinced opinion that the things which works well and which you know well must not be changed if there are not very good reasons.

Well, after this prologue, I bought a notebook with Win7 64 bit some 2 years ago and I found it was very difficult or impossible to run CW6.3 on it. I tried some tricks like that already discussed here at the time, I was able to install drivers (PE BDM lights on) but anyway there is no communication. I resigned and installed Virtual XP: fortunately my Windows version supported that. Now I run well CW6.3 with only minor annoyances as to manually (re-)assign USB ports and limited connectivity to LAN.

I have an original PE Multilink USB programmer and many demo boards with embedded multilink: they all works well.

Nevertheless PE multilink is not exactly cheap for an hobbyist and embedded multilink are (now) software limited to a single flavor of the S08 garden, that one of the demo board. Once it was not so. So I bought a pair of the incredibly cheap USBDM one year and half ago and after some initial problem I was able to install the new drivers which finally worked on my environment (several PCs with Win XP). USBDM works now pretty well but it is not able to make initial oscillator trimming on the uCU: I read this was a known bug which is not present on Eclipse 10.x.

Do you know if this problems was resolved? Many programs and in particular communication with RS232 does not work well, or not at all, if the oscillator is untrimmed. What can you say on this?

Thanks,

Salvatore

0 Kudos
Reply

645 Views
RodneyMcGee
Contributor IV

According to the the lastest documentation in USBDM 4.10.4: History & Issue

Trim programming is not supported on older Codewarrior version. It is only available in the Eclipse version and stand-alone programmers. Trimming is done by Codewarrior not USBDM in the earlier versions. It is simply not implemented by CodeWarrior (despite there being a nice dialogue box!). I can't do anything about this. It is NOT a bug in USBDM

He is referring to the CW interface the that USBDM hooks into that was originally for the OSBDM. The P&E Micro has its own interface and has those kind of settings actually work when you can get your Multilink working anyway.

I'll tell you what I do. I use the standalone "HCS08 Programmer" to trim and program. You have type in the proper trim address for your chip and the trim value within the allowable range from the datasheet. I still use the CodeWarrior Real-Time Debugger and Programmer to do debugging as long as you left the device unsecured. Debugging from CW a board that is already programmed and running also works.

In my development workflow, I generally hit the "Make" button in CW 6.3. Then Alt+Tab over the USBDM Standalone programmer and hit "Load and Go" with the projects S19 file from the project directory. Done! Check out this picture: RS08, HCS08, CFV1, DSC, ARM Dialog for USBDM Standalone Programmer. I also use the command line version of the USBDM standalone programmer to automate programming on our assembly factory floor.

Also if you have a USBDM that is 1.5 years old ... make sure you Update the BDM Firmware using the USBDM Flash Programmer. If you have general problems with your USBDM check out the OSBDM and TBDML Forum.