AN2616 Freescale Semiconductor / Motorola, AN2616 Datasheet - Page 39

no-image

AN2616

Manufacturer Part Number
AN2616
Description
Getting Started with HCS08 and CodeWarrior Using C
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Using CodeWarrior
device definitions
MOTOROLA
This section describes the method used by Metrowerks CodeWarrior in
defining device registers, the mapping of these registers to memory, and how
to use this information within a program.
All examples within this section refer to the MC9S08GB60. Substitute the
appropriate device as required.
The names given to the device registers and bit names within the registers are
defined by the device definition files. The two files associated with the
MC9S08GB60 are:
To fully understand programming a particular device, it is essential to have the
correct data sheet for the device, for example, the MC9S08GB60 Data Sheet
(MC9S08GB60/D).
Getting Started with HCS08 and CodeWarrior Using C
Freescale Semiconductor, Inc.
For More Information On This Product,
readme.txt
Sources/
Startup Code/
Prm/
Libs/
Debugger Project File/
Debugger Cmd Files/
MC9S08GB60.c <- device file
MC9S08GB60.h <- device definition/mapping file
Initially contains a brief overview of the project structure, details of
on-line help, and how to contact Metrowerks
Contains the users source code, sample main.c provided by wizard
with project creation
Start.c - C/C++ startup code which initializes the C library and
invokes the user code (main function)
burner.bbl - details of how to generate the required S-Record for the
debugger
*.prm - details of how to link code/data segments
*.map - generated by the linker
Required library files (ANSI library)
Device header and device file
Contains an *.ini file for the debugger — essentially a project file for
the debugger
Contains sub-folders for each target connection method, along with
command files
Go to: www.freescale.com
CodeWarrior C and HCS08
AN2616
39

Related parts for AN2616