This document provides an introduction to the Special Edition of Metrowerks Code Warrior, version 5 for the embedded 68HCS12 microcontroller. CodeWarrior supports programming in 'C', 'C++', 'cC++' and 'EC++' and assembly language as well. The special version we use is availaible from Freescale at no charge. We strongly encourage you to install CodeWarrior on your own computer. and we will use CodeWarrior with a number of projects, including homework as well.
The attached page walks you through the traditional "Hello World" program for 68HC12B series microcontrollers.
The parameter file is an important fundamental principle in the use of CodeWarrior. Code written using 'C' as well as relocatable assembly languge uses a parameter file. The attached notes outline what a paramter file is and what it is used for.
This first part uses an example project included with CodeWarrior to provide a brief introduction to the integrated development environment (IDE).
This next part introduces the idea of how to use stationary to develop a new project. In this case the stationary is for simple assembly language programs. In the same idea as preformatted paper for letter writing, stationary includes preformatted files that provide the outline for a new project.