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:
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.
Partial instructional video:
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):
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)
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)
(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.
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
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?