Freescale Semiconductor, Inc.
GRGZ Service Pack Software Addendum
Freescale Semiconductor, Inc...
In the GRGZ Service Pack for CodeWarrior Development Studio for HC08 Microcontrollers, Special
Edition Version 2.1.1, there are no GZ8 stationeries. To create a new project for the GZ8, follow the
steps outlined below.
Launch the CodeWarrior IDE
Create a new project for GZ8 starting from GZ16 stationery
From main menu bar, select
File > New
– New window appears
New Window
For More Information On This Product,
Go to: www.freescale.com
Page 1 of 8
Rev. 1.0
Freescale Semiconductor, Inc.
Select
HC08 Stationery
Enter a name for your project in
Project Name
text box
Click the
OK
button – New project Window appears
Freescale Semiconductor, Inc...
New Project Dialog Window
Click
+
to display the
GZ
Stationery
Click
+
to display the
GZ16
stationery
If you want to create a project using
Absolute Assembly,
proceed to page 5
Select
Assembly, C, C and Assembly,
or
C++
listed below
GZ16
GZ16 stationery
Click the
OK
button
For More Information On This Product,
Go to: www.freescale.com
Page 2 of 8
Rev. 1.0
Freescale Semiconductor, Inc.
Freescale Semiconductor, Inc...
Project (GZ8_Project.mcp) Window
You have successfully created a project for the GZ16
You must now change the memory mapping in the parameter file to use the GZ8 flash area
Click
+
to display the files in the
Prm
folder
The .prm File Selected
Double-click the .prm file for the target you’re using (default.prm in this case)
For More Information On This Product,
Go to: www.freescale.com
Page 3 of 8
Rev. 1.0
Freescale Semiconductor, Inc.
Edit the ROM memory section for 8k flash instead of 16k flash
Freescale Semiconductor, Inc...
default.prm
Before Editing
Change
0xC000
to
0xE000,
which is the lower address of the flash area in the GZ8
default.prm
After Editing
Save this file
You’re now ready to develop code for the GZ8
For More Information On This Product,
Go to: www.freescale.com
Page 4 of 8
Rev. 1.0
Freescale Semiconductor, Inc.
Create a new absolute assembly project for GZ8 starting from GZ16 Stationery
Follow the steps on pages 1 and 2
Select
Absolute Assembly
listed below
GZ16
Freescale Semiconductor, Inc...
GZ16 Absolute Assembly stationery
Click the
OK
button
Project (GZ8_Project.mcp) Window
You have successfully created an absolute assembly project for GZ16
You must now change the assembly source file ROM definition to use the GZ8 flash area
For More Information On This Product,
Go to: www.freescale.com
Page 5 of 8
Rev. 1.0