- Launch the Workbench.
- Select File > New > Bareboard Project, from the IDE menu bar.
The Create an MCU bareboard Project page
of the New Bareboard Project
wizard
appears.
- Specify a name for the new project. For example, enter the project name as
Project_S12Z.
Note: If you do not want to use the default location,
clear the Use default location checkbox. In the Location text box, enter the
full path of the directory in which you want to create your project including the project
name. Alternatively, click Browse and select the desired location from the
Browse For Folder dialog box and click OK. Ensure that you append the path
with the name of the project to create a new location for your project.
Figure 1. New Bareboard Project Wizard - Create an MCU Bareboard Project Page 
Note: If you create a project for S12ZVMxx devices, an additional page Automotive Math
and Motor Control Library is added to the new project wizard.
- Click Next.
The Devices
page appears.
- Expand the desired tree control and select the derivative or board you would like to use. For example, select S12Z > S12ZVM Family > MC9S12ZVMC64.
Note: The product integrates support for MC9S12VM devices (project name Carcassonne). MC9S12ZVML128 - LIN support, MC9S12ZVMC128 - CAN support, MC9S12ZVML64 - LIN support, MC9S12ZVMC64 - CAN support, MC9S12ZVM32 - none.
Figure 2. New Bareboard Project Wizard - Devices Page 
- Click Next.
The Connections
page appears.
Figure 3. New Bareboard Project Wizard - Connections Page 
- Select the desired connection.
Note: You can select multiple connections by checking appropriate checkboxes in the Connections page. By default, the P&E USB MultiLink Universal [FX] / USB MultiLink connection checkbox is checked.
- Click Next.
The Languages and Build Tools Options
page appears.
Figure 4. New Bareboard Project Wizard - Languages and Build Tools page 
- Select the programming language you want to use. By default, the Simple C option is selected.
- Select the floating point format you want to use. Selecting None provides the best code density.
- Select the memory model to use.
- Click Next.
The Rapid Application Development page appears.
Figure 5. New Bareboard Project Wizard - Rapid Application Development Page 
Note: The Processor Expert option is disabled, if you select the C++, or ASM language option in the Language and Build Tools Options page.
- Click Next. The Automotive Math and Motor Control Library page appears.
The Automotive Math and Motor Control Library Set (AMMCLib) is a precompiled software library containing the basic motor control algorithm buildings blocks, which are used as an essential part of any motor control and general mathematical applications.
When library is selected to be used – wizard will add necessary files to project, and add reference to library file and include directory.
Note:
The library provided for small memory model only, so in case other memory models selected – the selection for AMMCLib would not be available.
Figure 6. New Bareboard Project Wizard - Automotive Math and Motor Control Library 
- Select the required Automotive Math and Motor Control Library default option.
- None - AMMCLib support will not be included in the project.
- 16-bit fractional implementation - 16-bit fractional implementation support will be included
in the project.
- 32-bit fractional implementation - 32-bit fractional implementation support will be included in
the project.
- Select the appropriate option to support rapid application development.
- None - Select to generate only startup code.
- Processor Expert - Select to generate the device initialization code,
including low-level drivers.
- Click Finish.
The wizard creates a new target board project for the S12Z
architecture according to your specifications. You can access the project from the
CodeWarrior Projects view in the Workbench window.
The new project is ready for use. You can now customize it by adding your own source code files, changing debugger settings, or adding libraries.