Creating Target Board Projects for S08/RS08

To create a new simulator project for an S08/RS08 derivative using the New Bareboard Project wizard:

  1. Launch the Workbench.
    Note: For information about launching the Workbench, refer to the topic Launching Workbench.
  2. Select File > New > Bareboard Project , from the IDE menu bar.

    The Create an MCU bareboard Project page of the New Bareboard Project wizard appears.

  3. Specify a name for the new project. For example, enter the project name as Project_1.
    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
    New Bareboard Project Wizard - Create an MCU Bareboard Project Page
  4. Click Next.

    The Devices page appears.

  5. Expand the desired tree control and select the derivative or board you would like to use. For example, select S08 > HCS08A Family > MC9S08AC128 for an S08 derivative.
    Note: If you want create a library project, select Library from the Project Type / Output group. For this example keep the default setting to create an application project.
    Figure 2. New Bareboard Project wizard - Devices page
    New Bareboard Project Wizard - Devices Page
  6. Click Next.

    The Connections page appears.

    Figure 3. New Bareboard Project wizard - Connections Page
    New Bareboard Project Wizard - Connections Page
  7. Check the appropriate 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 checkbox is checked.
  8. Click Next.

    The Languages page appears.

    Figure 4. New Bareboard Project wizard - Languages page
    New Bareboard Project Wizard - Languages Page
  9. Select the programming language you want to use. For example, check the C checkbox.
    Note: Availability of the options depends on the derivative or board you selected. For example, C++ option appears grey and is not accessible for RS08 derivatives.
  10. Click Next.

    The Rapid Application Development page appears.

    Figure 5. New Bareboard Project wizard - Rapid Application Development page
    New Bareboard Project Wizard - Rapid Application Development Page
    Note: The Processor Expert option is disabled, if you select only the Relocatable Assembly or Absolute Assembly in the Connections page.
  11. 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.
  12. Click Next.

    The C/C++ Options page appears.

    Figure 6. New Bareboard Project wizard - C/C++ Options page
    New Bareboard Project Wizard - C/C++ Options Page
    Note: Some options may appear grey and are not accessible. The availability of the options depends on the derivative or board you selected.
  13. Select the appropriate level of startup code, memory model, and floating point format.
  14. Click Finish.

    The wizard creates a new simulator project for the HCS08 architecture according to your specifications. You can access the project from the CodeWarrior Projects view in the Workbench window.

    Figure 7. CodeWarrior Projects View
    CodeWarrior Projects View

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.

Note: You can click Finish at any step in the Project Wizard to save the project with the default settings.