Cosmic
S12Z Cross Development
Tools
 |
Cosmic's tool chain for the S12Z family is part of a complete and uniform product line incorporating over 20 years of innovative design and development. Cosmic's familiar and easy to use software interface is available for all NXP microcontrollers to simplify the migration between targets. All Cosmic products include one year of technical support and updates. |

Integrated Development Environment
All Cosmic C Cross Compilers
for Windows include IDEA - Cosmic's own integrated development
environment which is preconfigured for the S12Z family of processors.
IDEA is designed specifically for developing embedded applications with
Cosmic compilers. IDEA integrates an editor, project manager, graphical
smart build/make facility, program analyzer, link file generator,
documentation manager and ZAP debugger into one easy to use environment
running under all popular Windows versions.
Click here for more information about IDEA.
Compiler
The C Compiler package
includes: an integrated development environment with optimizing ANSI-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. The compiler
also supports non-intrusive C source-level debugging with Cosmic's line
of ZAP debuggers.
Click here for general information on Cosmic Compilers.
S12Z specific features include:
- New - Stack Smash Detection
Optional and configurable mechanism to help detect when a stack frame may have been overwritten or modified unexpectedly.
- S12Z core designed for C language efficiency
Cosmic worked closely with NXP S12Z core designers to
optimize the S12Z instruction set for the C language to ensure better
code density and performance than its predecessors even with expansion
of the linear address space to allow larger programs.
The Cosmic compiler has been used during S12Z development
and validation, so you can be sure it is a perfect fit for all s12z
projects.
- S12Z Processor Core
The Cosmic
S12Z compiler generates highly
efficient code for the NXP
S12Z family of microcontrollers
including S12ZVC, S12ZVH, S12ZVL, and S12ZVM MagniV derivatives and compatibles. (more info on derivative support here)
- Linear Addressing Space
Full support for 16MB linear address space with only one code segment needed. No need for any bank switching.
- Improved code density and performance
The goal of the S1Z project was to produce an enhanced instruction
set that supported 16MB of code space without bank switching, but still
produce a code density at least as good as the current S12 and S12X
cores. The
Cosmic S12Z compiler takes full advantage of the new core and provides
consistently smaller and faster applications compared to the S12 and S12X.
- Use of MAC instructions directly in C
The compiler directly generates Multiply And Accumulate instructions from standard C code.
- Fractional Math Instruction Support (Fixed Point)
The compiler uses the new S12Z Fractional math instructions to support efficient fixed point math using ISO defined C level Fixed Point data types: short _Frac (16 bit) and long _Frac (32 bit) types. Includes fast Fixed point libraries.
- Fast Float Operations
Compiler and libraries use the fractional math instructions for efficient Float operations
- IEEE-754 Floating Point
Supports IEEE double and single precision floating point formats with full
ANSI libraries (Source code included).
- ANSI and ISO C Compiler
The Cosmic S12Z compiler follows ANSI and
ISO rules and conventions. All code and libraries are optimized specifically
for the S12Z processor cores.
- Moveable Code Feature
Moveable code feature is designed to make RAM based code
like boot loaders easy to create and maintain. The Linker automatically
creates a segment in ROM to store moveable code. Then at run time,
use the supplied library function to locate and copy the moveable code
into RAM at any time for execution.
- Position Independent Code and Data
Compiler and libraries provide options to generate position
independent code and data which is useful for moveable code such as
boot loaders and flash programmers.
- Byte EEPROM Support
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.
- In-line Assembly
The compiler provides three convenient methods for adding
assembly code inside a C program. Includes an argument passing mechanism.
- Absolute Listings
Optionally produce relocatable and/or absolute C interspersed
with the corresponding Assembly listings.
- Automated Check Sums
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.
- Mixed 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.
- ELF/DWARF Debug Support
The Cosmic compiler suite supports the ELF/DWARF
standard debug format used by many popular emulators and logic analyzers.
- Eclipse compatible
Supports default Eclipse error parser format
- Flexible Compiler Interface
Cosmic compilers are designed to be powerful and flexible
so they can be used with virtually any environment. Use Cosmic's own
IDEA interface or use your favorite editor, make utility and/or source
code control system - It's Your Choice!!
Cosmic's ZAP
debugger is a full featured C and Assembly language source-level
debugger for embedded applications. ZAP's intuitive graphical interface
is uniform for all targets and execution environments. ZAP is
available in 2 execution versions for the S12Z. (1) ZAP SIM Debugger
with included processor Simulator, (2) ZAP BDM debugger/flash programmer
uses the S12Z on-chip background debug mode.
Click here for general information about the ZAP debugger.
ZAP S12Z BDM specific features include:
- BDM Interface Cables and OSBDM
ZAP BDM supports Background Debug Mode cables from P&E Microcomputer Systems and direct connect to NXP boards using OSBM.
- Automatic BDM Firmware Updates
ZAP will automatically update firmware in BDM and Multilink cables and OSBM firmaware on boards (in boot loader mode).
- Real-time debugging
ZAP S12Z BDM provides a low cost real-time target debugging
environment using the on-chip Background Debug Mode protocol and
hardware breakpoint module. ZAP Programs and debugs single chip
applications directly in Flash in real-time. No remapping or
reprogramming required.
- Hardware Breakpoint
ZAP fully utilizes the on-chip hardware breakpoint module to provide
real-time execution and data breakpoint capabilities. ZAP transparently
configures the hardware breakpoint module to supports real-time
execution breakpoints.
|