Professional Documents
Culture Documents
1) Start CodeWarrior for HCS12, close the Tip of the Day if it comes up, and select New from file menu as
shown below.
2) Select HC(S)12 New Project Wizard, Set the location where the project is to be saved, and name the project
as shown below, then click Next.
3) Click Next at the Welcome screen shown below.
10) Select Small for memory model as shown below, then click Next.
11) Select Full Chip Simulation and a hardware debugger as shown below, and click Next.
12) Expand the Sources folder created by CodeWarrior and double click main.c as shown below. CodeWarrior
provides a template to begin the program, see the full template below the graphic.
14) Select Full Chip Simulation in the drop down box, then hit F5 to debug. See the Debug Tutorial for details.