S12X and XGATE C Cross Compiler
C cross compiler for the NXP
S12X microcontroller family and
XGATE module is the result of decades
of design experience coupled with
rigorous field testing. The S12X
compiler is designed to exploit every
advantage of the MCU family to produce
the most optimized code possible.
To help designers
create stable and reusable code Cosmic's
S12X compiler is
built to conform to industry code
standards such as ANSI/ISO,
IEEE-754 and debug standards such
as ELF/DWARF and IEEE-695 specifications.
Comprehensive standardization ensures
compiler compatibility with most
third party S12X development
tools including. Cosmic's S12X /
is available for use on PCs running
Windows (Windows 7, XP and compatible) and UNIX
systems running PC-Linux, SUN Solaris
The C Compiler
package includes: an integrated development
environment with optimizing ANSI and
ISO C cross compiler, macro assembler,
linker, librarian, hex file generator,
object format converters, debugging
support utilities, run-time library
source code, and a multi-pass
compiler command driver. Click
here for general information on
S12X compiler generates highly
efficient code for the NXP
S12X family of microcontrollers
including the MC9S12XDP512 and compatible.
XGATE Module support
Cosmic offers an
optional XGATE C compiler add-on to provide
integrated and optimized S12X and
XGATE C language projects.
and HCS12 Cores
The Cosmic S12X compiler
also provides options to generate highly
efficient code for both the HC12 and the
HCS12 families of microcontrollers.
and ISO C Compiler
The Cosmic S12X
compiler follows ANSI and ISO
rules and conventions. All code
and libraries are optimized specifically
for each processor
core (S12X, XGATE, HCS12, HC12).
All S12X, HCS12, and HC12 code
is fully reentrant and recursive using
standard ANSI stack frame conventions.
Automated source level support
for Code bank switching (Paging) using
PPAGE. S12X compiler supports Data bank
Moveable code feature is designed
to make RAM based code such as bootloaders
easy to create and maintain. The Linker
automatically creates a segment in ROM
to store moveable code. Then at run time,
the supplied library function is used
to locate and copy the moveable code
into RAM for execution.
Compiler provides transparent
support for on-chip EEPROM (library
source included). Allocate any
C data object(s) to the EEPROM
and the compiler takes care of
the formatting and programming.
The compiler provides
three convenient methods for adding
assembly code inside a C program.
Including an argument passing mechanism.
Supports IEEE single
floating point formats and includes
ANSI libraries (with Source code).
Support for Zero Page
Compiler source extensions
provide efficient use of the S12X/HCS12/HC12
direct addressing mode.
Optionally produce relocatable
and/or absolute C interspersed
with the corresponding Assembly
Easy to use check sum
facility and library (Source included)
allow users to quickly implement
an efficient check sum on any or
all sections. Check sum calculation
and insertion is transparently
managed by the linker.
C and Assembly
Cosmic tools support
mixed C and Assembly applications.
Including Assembler support for
C #defines and #includes. so C
and assembly language modules may
share common constants and macros.
The Cosmic relocatable
and absolute object formats are
host independent. This allows user's
on PC, SUN and HP to share objects
for linking and debugging.
and ELF/DWARF Debug Support
The Cosmic compiler
suite supports the IEEE and ELF
DWARF standard debug formats used
by most emulators and
compilers are designed to
be powerful and flexible
so they can be used with
virtually any development
environment. Use Cosmic's
own IDEA interface or use
your favorite editor, make
utility and/or source code
control system - It's Your
S12X compiler is compatible with
emulators and BDM debuggers from Cosmic
Software (ZAP BDM),
I-Systems, Lauterbach, NOHAU,
Noral and P&E
compiler is compatible with most
CPU12 operating systems and real-time kernels
including specific ports from CMX, MicroC/OS-II and OSEK vendors.
Compiler is fully compatible with I-Logix's
Rhapsody in C graphical programming environment.
Rhapsody in C provides software synthesis,
melding the graphical model and design parameters
to generate production-quality, highly efficient
and readable code, small enough to fit on 8-
and 16-bit microcontrollers.