Installing Code Warrior

Code Warrior Version 5.0

This document outlines how to install the Special Edition of Code Warrior, version 5 for the embedded 68HCS12 microcontroller.  There are versions of Code Warrior for MS Windows, Mac OS, Solaris, and Linux, but the special edition may be limited in the operating systems it supports.  This tutorial is focused at the MS Windows version.  The publised literature suggests the following system resources. 

The special edition of CodeWarrior for 68HC12(x) is limited in that the C object files it produces must be less than 32kbytes, however but this is not problem for us.  The website also claims that the latest of this version is compatible with Windows Vista.

The BDM Adapter

For debugging purposes we use a background debug module (BDM) adapter from P&E Microcoputer Systems, Inc.  You will want to get the P&E driver.  Previously we used version 'A' which is not supported for use with Windows Vista.  We are migrating to version 'C' which is supported for use with Vista. 

Installing the Software

Windows operating systems can be fragile at times, I suggest that you restart your system prior to uninstalling or installing an application.  I also suggest that if you do not already have a program to read PDF files, get an application such as Adobe's Acrobat Reader (no-charge from Adobe) to view the .pdf file. 

Our Stationary
  1. The Adapt9S12C32 and Axiom CME12B32 boards provide a convenient interface to the Freescale MC9S12C32 or 68HC12B32 processor chip.  While CodeWarrior includes a wizard that will generate a sample project, it is easier to use our stationery.  If you want to use the wizard to make an absolute assembly project, be sure to first unselect the other choices.

  2. First download the stationary file that you need

  3. Extract the contents of the file to the following subdirectory, which you may have to create:
    C:\Freescale\CW_HCS12X_5.0\(CodeWarrior_Examples)\Stationery\

  4. To create a project using a stationary of your choice, either in the startup window or after selecting File=>Startup Dialog, click 'Load Example Project' and in the left pane click the '+' symbol to open your 'Stationery' folder and pick your AsmAbs_9S12C32 stationary, then assiogn the location and project name, the project name will have a .mcp extension.  Rather than using the project directory, use a location such as C:\MyName\MyCW\ or Z:\MyCW\ if you are on campus.  Click

Other Observations
This tutorial is written for computer engineering students at the University of Hartford.  Copyright is reserved by the author, but copies of this document may be made for educational use as-is, provided that this statement remains attached.  The author welcomes corrections, comments, and constructive criticism. 
Maintained by: Jonathan Hill (  jmhill at hartford dot edu )
Copyright: Thu Jan 21 15:13:11 EST 2010