logo slogan

Cosmic S12X and XGATE Tools

Cosmic IDEA

Cosmic Software's S12X and XGATE Development Tool Suite delivers the features and performance needed to create cutting edge applications. These tools are focused on leveraging the unique benefits of the S12X microcontroller family and XGATE module, while maintaining a standardized easy to use programming environment

 

The Freescale S12X family introduces the performance boosting XGATE module. The XGATE module is a peripheral co-processor that allows autonomous data transfers between the MCU’s peripherals and the internal RAM. It has a built in RISC core that is able to pre-process the transferred data and perform complex communication protocols. This co-processor module is designed to increase the MCU’s data throughput by lowering the S12X CPU’s interrupt load. Cosmic's S12X and XGATE development tools provide users one integrated development and debugging environment that supports both processors using one project and programmable executable.


Cosmic Software works closely with many leading third party hardware and software providers to ensure seamless integration between products giving users the freedom to choose the tool combination that will bring them success.


Cosmic Software is committed to providing its customers a toolset with the flexibility, stability and performance that will help them bring their products to market on time, under budget and with greater innovations. Cosmic's development tools for Freescale's S12X microcontroller and XGATE module include C Cross Compiler/Assembler, IDEA development environment, and ZAP Debuggers

 

Download S12X brochure

 

Downnload XGATGE brochure

 

Integrated Development Environment

 


Cosmic's integrated development environment (IDEA) for S12X provides users an easy to learn graphical development environment for Freescale's HC12, HCS12 and S12X/XGATE microcontrollers. Designed specifically to assist engineers developing embedded applications with Cosmic compilers IDEA, gives designers the ease of use found in graphical development environments for high level languages along with the low level control essential for real-time applications. With Cosmic's commitment to providing its customers superior products and support designers can feel confident in completing their projects on time, under budget and with greater innovations. IDEA runs under Windows 95/98/NT/2000 and XP and includes the following features:

 

Intergrated Windows Editor
Windows 32 bit MS style editor with syntax highlights for both C and assembly source.

Project Manager
Convenient Project window provides easy access to the most frequently used functions such as make, build, touch, mark, compile, link and debug. The project manager also supports Drag and Drop so you can select and drag files from a Windows Explorer to the project manager for easy setup.

Supports all family members
IDEA for S12X fully supports for all members of the HC12, HCS12 and S12X families including integrated support for the S12X's powerful XGATE module. IDEA S12X allows you manage S12X and XGATE code and options settings together in one project providing one click smart builds.

Program Analyzer
Intuitive Explorer style source file display - shows compiler options, include file dependencies, file build status, time and date of last edit, function prototypes, command line defines, global and static variables and documentation.

 

Link File Generator
Flexible Link builder offers point and click configuration of memory map.

Graphical Smart Build
Configure Compiler and Linker to build only files that need to be rebuilt and run various compiler or user defined utilities automatically. No need for makefile.

Point and Click Options
IDEA provides an intuitive graphical setup for compiler and assembler options.

Automatic Error Handling
When an error is found in a file just double click on the error and an editor window will open on that file, at the line with the error.

Global and local options
IDEA allows to set compiler and assembler options both at project and file level.

Multifile functions
Search in the project files or other group of files or directories.

Documentation Manager
Attach any documents or notes to your project or to individual source files.

 

Third Party IDE Integration

 

Most Cosmic compilers can be easily integrated in third party IDEs such as Borland Codewright and RistanCase Development Assistant for C. Click here for more information.

 

Compiler

Cosmic Software's C cross compiler for the Freescale 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 / XGATE compiler is available for use on PCs running Windows 98/NT4/2000/XP and UNIX systems running PC-Linux, SUN Solaris and HP-UX.

 

Compiler Features

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 Cosmic Compilers.

 

S12X Processor Core
The Cosmic S12X compiler generates highly efficient code for the Freescale S12X family of microcontrollers including the MC9S12XDP512 and compatible.

Integrated XGATE Module support
Cosmic offers an optional XGATE C compiler add-on to provide integrated and optimized S12X and XGATE C language projects.

HC12 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.

ANSI 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).

Reentrant and Recursive
All S12X, HCS12, and HC12 code is fully reentrant and recursive using standard ANSI stack frame conventions.

Bank Switching
Automate

 

Moveable Code Feature
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.

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. Including an argument passing mechanism.

IEEE-754 Floating Point
Supports IEEE single floating point formats and includes ANSI libraries (with Source code).

C Support for Zero Page
Compiler source extensions provide efficient use of the S12X/HCS12/HC12 direct addressing mode.

d source level support for Code bank switching (Paging) using PPAGE. S12X compiler supports Data bank switching.

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.

Host Independent Formats
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.

 

IEEE-695 and ELF/DWARF Debug Support
The Cosmic compiler suite supports the IEEE and ELF DWARF standard debug formats used by most emulators and logic analyzers.

Flexible Compiler Interface
Cosmic 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 Choice!!

In-Circuit Emulator Compatibility
Cosmic's S12X compiler is compatible with emulators and BDM debuggers from Cosmic Software (ZAP BDM), I-Systems, Lauterbach, NOHAU, Noral and P&E Micros.

OS Compatibility
Cosmic S12X/HC12/HCS12 compiler is compatible with most CPU12 operating systems and real-time kernels including specific ports from CMX, MicroC/OS-II and OSEK vendors.

Graphical Programming Environments (UML)
Cosmic HC12/HCS12 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.

 

ZAP Debugger

 

Cosmic's ZAP S12X/XGATE debugger is a full featured C and Assembly language debugger for embedded applications using Freescale's S12X and XGATE. ZAP S12X/XGATE provides integrated debugging support for both processors. ZAP is available in two target versions for Freescale's S12X family including ZAP S12X/XGATE SIM and ZAP S12X/XGATE BDM. ZAP S12X / XGATE common features include:

Integrated S12X and XGATE Debugging
Provides integrated displays and execution controls for both S12X and XGATE processors

ANSI C Debugging
offers easy access to any C object including Enums, Bit Fields, Structs, Floats, Strings etc.

Expandable Structure and Array displays
view complex data using expandable tree displays on structures, unions and arrays.

Assembly Source Debugging
Debug mixed C and assembly applications at the C or Assembly source level including coordinated source and disassembly displays.

Nonintrusive "Optimizer On" Debugging
ZAP does not modify or augment the user code in any way. The code used by ZAP is the same optimized code that will be used in the final product. All debug symbols are stored in a separate section on the host (e.g. PC). Debug symbols are never stored on the target.

Automated Testing
In addition to the graphical interface, ZAP offers a robust command and scripting language which can be used to create automated test scripts including:
Record and Playback - Save a debugging session and play it back later
Multiple File Simulated I/O - Interactively open, read and write to multiple input and output files on the host system.

Source Browsing
Browse and set breakpoints in any source windows.

On-line Help
Includes Using ZAP, C Language Syntax and C library Functions to provide a complete debugging environment on the host.

OS Support plug-in
ZAP S12X can also be used with an optional Cosmic OSEK interface plug in to add OSEK kernel awareness debugging features to both ZAP S12X SIM and ZAP S12X BDM.

ZAP S12X / XGATE BDM

Cosmic's ZAP S12X/XGATE BDM debugger provides a complete and portable FLASH programming and real-time debugging environment for any S12X target system. ZAP S12X BDM includes all standard ZAP functionality and the following additional features:

 

BDM Interface Cables
ZAP S12X supports Background Debug Mode cables from P&E Microcomputer Systems. Including:
LPT BDM Multilink (Parallel port)
USB BDM Multilink

Integrated XGATE module support
ZAP S12X includes full support for programming and debugging the S12X's on-chip XGATE module including source, register and monitor displays along with separate single stepping and breakpoint controls.

Real-time debugging
ZAP S12X BDM provides a real-time target debugging environment using the S12X on-chip Background Debug Mode protocol and hardware breakpoint module. ZAP debugs single chip applications directly in Flash in real-time. No remapping or reprogramming required.

Flash Programming
ZAP S12X BDM includes FLASH and byte EEPORM programming support for members of the S12X family of microcontrollers including the MC9S12XDP512 and all compatible S12X devices with 128K, 256K or 512K on-chip Flash and/or 1K, 2K and 4K of Byte write EEPROM. . Please contact Cosmic Software for the latest target list or to request an addition. (For HC12 and HCS12 programming support info.)

Automatic Clock Detection
ZAP BDM connects through a PC parallel or USB port and automatically determines the target clock speed for connection and allows continued debugging even through PLL bus speed changes.

Flash Security
ZAP S12X BDM supports the S12X family's FLASH security feature.

Multiple Execution Modes
ZAP S12X BDM offers 3 execution modes
BGND mode - ZAP will uses a BGND instruction swap for standard breakpoints. This allows an unlimited number of breakpoints when debugging from RAM.
HDBK mode - The default breakpoint mechanism will use the on-chip Hardware breakpoint module if available.
ISTEP mode - This mode uses the BDM instruction step to execute between breakpoints.

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 in both paged and unpaged memory.

ZAP S12X / XGATE Simulator

Cosmic provides a simulator for virtually all the architectures supported. ZAP S12X simulator features include:

S12X and XGATE MCU Cycle Counter
ZAP accurately counts MCU cycles and XGATE module cycles to provide valuable timing information.

Interrupt Simulation
ZAP provides a configurable mechanism to simulate MCU interrupts.

Graphical Performance Analysis
Displays code coverage and timing information on a file by file or function by function basis.

Code Coverage
Generate reports for code executed or not executed.

Chronographs
Displays a time-line of function calls to track program execution.