NOTE: This is NOT supported by NXP, but this article is how to make it WORK anyway . Do not contact Freescale support when you modify your installation files. Ask your questions here on the forum about this process. Also SofTec, TBDML, Abatron, etc... and the other older connection options will still NOT work because the makers of those devices have not wrote modern OS drivers. Serial debugger is also not currently available with my workaround. Your options are P&E tools and USBDM for programmer/debuggers.
If you have not already here is a link to the special edition of 5.2
See attachment "cw 5 2 missing pieces v3.zip" at the bottom
(see hashes at the bottom; there is no .exe in zip, download from nxp community forum)
Note: My zip includes some updated files. See the explanation in this video link
Confirm CodeWarrior is closed and not running
You need administrator rights or login info to do these steps
Instructions for Windows Vista, Windows 7, Windows 8 / 8.1, Windows 10:
Extract the attached zip (see bottom of post), so that you have three folders.
Select and Drag the 3 folders (Bin,Lib,Prog) into the CWS12v5.2 folder probably in C:\Program Files...
It will ask merge the files from the folders (overwriting some – answer yes)
See the video to make sure you do this right (not for XP): Video Instructions (YouTube)
Instructions for Windows XP:
Note: In Windows XP the default behavior is to overwrite and delete folders NOT merge them, so we use the 7-zip method which actually works for all.
Install and Open 7zip (as a Admin user)
Navigate to and open attached zip file within the 7zip main interface (you should see the Bin,Lib,Prog folders)
Click Extract and select your main CW5.2 installation folder eg C:\Program Files\CWS12v5.2 as the "Copy to:"
7zip will prompt you to overwrite a few files (answer, yes)
Install the latest P&E Hardware Interface Drivers, Version 12 (Win XP/Vista/7/8/10)
If you have issues read this FAQ
I am personally use a Wytec USBDM with the latest software and it works great . Consider it because they are a faction of the price of other programmers and are open source hardware and software. They are also available quite cheap on eBay, BUT do not use the software that comes with them, throw the CD away, and download the official latest software below.
USBDM_4_12_1_230_Win_i.msi or newer
And ONE of these:
USBDM_Drivers_4_12_3_Win_x64.msi or newer (for 64-bit 7 and 10)
or USBDM_Drivers_4_12_3_Win_x32.msi or newer (for 32-bit 7 and 10)
or USBDM_Drivers_4_12_3_WinXP_x32.msi or newer (for XP)
Don't forget to update your USBDM firmware.
Here is a video for CW5.1, but the process is similar CodeWarrior HCS12(X) Install and Update USBDM - YouTube
CodeWarrior S12(X) 5.1 (with all service packs)
and CW 5.2 after following STEPs above
CodeWarrior S12(X) 5.2 (default installation)
HCS12 9S12 S12 MC9S12
HCS12A MC9S12A S12A Family
MC9S12A128B HCS12A128B S12A128B
MC9S12A256B HCS12A256B S12A256B
MC9S12A32 HCS12A32 S12A32
MC9S12A64 HCS12A64 S12A64
MC9S12A512 HCS12A512 S12A512
HCS12B MC9S12B S12B Family
MC9S12B64 HCS12B64 S12B64
MC9S12B128 HCS12B128 S12B128
HCS12C MC9S12C S12C 9S12C Family
MC9S12C32 HCS12C32 S12C32
MC9S12C64 HCS12C64 S12C64
MC9S12C96 HCS12C96 S12C96
MC9S12C128 HCS12C128 S12C128
HCS12D MC9S12D S12D 9S12D Family
MC9S12D32 HCS12D32 S12D32
MC9S12D64 HCS12D64 S12D64
MC9S12DB128A HCS12DB128A S12DB128A
MC9S12DB128B HCS12DB128B S12DB128B
MC9S12DG128B HCS12DG128B S12DG128B
MC9S12DG256B HCS12DG256B S12DG256B
MC9S12DJ128B HCS12DJ128B S12DJ128B
MC9S12DJ256B HCS12DJ256B S12DJ256B
MC9S12DJ64 HCS12DJ64 S12DJ64
MC9S12DP256B HCS12DP256B S12DP256B
MC9S12DP512 HCS12DP512 S12DP512
MC9S12DT128B HCS12DT128B S12DT128B
MC9S12DT256 HCS12DT256 S12DT256
MC9S12DT256B HCS12DT256B S12DT256B
HCS12E MC9S12E S12E 9S12E Family
MC9S12E32 HCS12E32 S12E32
MC9S12E64 HCS12E64 S12E64
MC9S12E128 HCS12E128 S12E128
MC9S12E256 HCS12E256 S12E256
MD5 (cw-5.2-missing-peices-v3.zip) = 7a347a5b39a68da84e4a2870a4a6b55b
MD5 (PE-config-older-chips-v2.zip) = defbfba607f389a7191a63d8be513459
I have downloaded CW5.2 a few days ago. I found out that the derivative of 9S12D64 should have been in there but was not listed. After finding this forum and posting a question yesterday, I was able to download the two zip files above and incorporate them in to my installation. I was able to compile my old project from 12 years ago and can see PE is selecting the right derivative now in the IDE. My problem now is in regards to the Debugger using a PEMicro Multilink Universal interface to a BDM port on my board. It appears that when the debugging software is coming up, there is problems communicating with the processor and trying to erase it. I do not see my derivative name showing up but it does say the undefined 03DE derivative is currently selected. Any ideas on how to get the debugger working so I can make some code changes and flash the chip with my old project again?
In the debugger what do you see under?
HC12MultilinkCylonePro -> Select Derivative
When you dragged in the files from the zip, did you overwrite ALL existing files?
What P&E debugger do you have, model and revision?
Did you install the latest P&E USB driver?
This is what mine looks like.
If you goto
HC12MultilinkCylonePro -> Connect what does it look like?
It should look like this including the text in the title bar of the subwindow.
If you can't get any of this working here is another option:
I read the post well. This content was very helpful, but there is one problem.
As I tried to do Device Initialization, there is no device to use.
I will use MC9S12GNA16F0MLF device. Please refer to the image below and tell us how.
Wow, when I started on the s12xep100 devkit and moved to an s12xeq384 and everything just worked I figured Hey this is easy! So now moving from the s12g128 devkit to an s12g48 I run into the missing derivative stuff..
I downloaded and installed the v3 zip file and now I see a whole bunch more chips in CW5.2, but not the G48..
I see a .cfu file in /prog that mentions G48 but I don't see a .cfs file..When I bring up CW and try to set the derivative I see the G64, G96, G128, G192 and G240.. but not the G48. Any ideas where I might find this?
Also.. this might be a dumb question but how do I get USBDM support on these other parts? It shows up as an option on G96 and G128 (the ones that were in there before I installed the zip file). I'm not clear how this works.. How would I add USBDM support for a project or chip that doesn't have it listed?
I think I've answered my 2nd question... reinstalled the latest USBDM drivers and that seems to have updated all the chip options including G64.. but still no sign of G48 even though I see mentions of it in that .cfu file.. (chip 01c5?)
I downloaded V5.1 on an old XP machine and downloaded the G64 service pack.. But when I bring it up and check project->Change MCU/Connection I still see G64-G240 but no G48! Argh.. Perhaps I should have just used the G64.
Both my V5.2 installation and V5.1 on the XP machine say "build 5294 V5.9" ???
Starting to get frustrated here..even tried the PE updates even though not using Processor Expert.. any ideas?
I think there's something wonky in my setup.. Still don't see G48 in the IDE but it is acknowledged by processor expert and more importantly by the Select Derivative option in the Hiwave debugger. I have been able to flash my G48 board and the clocks seem to be running as anticipated. So it seems I'm on the right track.
Glad you got it figured out.
I have found it it’s OK to use the nearest next derivative flash size under some conditions. The important thing is that PRM file is limited to not use more flash than you have, and that you’re not using peripherals that don’t exist or your chip.
I followed all the instructions from Rodney and had the same problem you have now. My solution was to uninstall CodeWarrior v5.2 and install v5.1 with its SPs. Works well now.
Hello, I followed the instructions and was able to get CodeWarrior to correctly build my derivative again (S12XDT) However, the hiwave debugger appears to still be missing this derivative. Is there any way to add the derivatives back into hiwave? I am using an older P&E USB Multilink.
I followed your instructions and worked well on Codewarrior IDE, but I use Hiwave to load programs on the MC9S12DB128 and I can't find its derivative. I have a Windows 10, 64 bit PC with Codewarrior v5.2 and a BDM Universal Multilink pod. Any ideas for getting Hiwave to recognize the new derivative? Thanks.
Sounds like a driver issue.
Did you follow Step E?
Did you overwrite files in Step C?
I would also try to buy a USBDM (white box) on eBay ... they are very cheap.
You can also try the Standalone HSC12 Programmer Software that is part of the USBDM.
I am trying to get Processor Expert to recognize a S12G240 derivative I am using. I am running CW5.2. I downloaded your missing pieces and older configs folders and copied them over. When I start a new project, I can select the correct G240 derivative, but as the project boots up Process Expert I get a "Derivative not supported" message from Processor Expert. Any ideas that I may be missing? I can clearly see the G240 files in the processor expert folder in my C:/.
I follow your steps to merge all files, I think everything is fine, but when I run IED, it didn't word. When I run IDE, the error message is showed below. I also run regservers.bat, it still didn't work. Could you tell me what should I do now? Looking foward for your reply. Thank you.