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.
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.
68HC12/HCS12 Specific features include:
HC12 and HCS12 Cores
The Cosmic 68HC12 / HCS12 compiler generates highly efficient code for both the 68HC12 and the next generation HCS12 families of microcontrollers. Including: MC9S12A256B, MC9S12H256, MC9S12DG256B, MC9S12H128, MC9S12DJ64, MC9S12DJ256B, MC9S12DT256B, MC9S12DG128B, MC9S12DJ128B,MC9S12C32, 68HC912D60A, 68HC812A4, 68HC912D60, 68HC912BC32, 68HC12D60, 68HC912BD32, 68HC912DG128, 68HC912DT128A, 68HC12BE32, 68HC912DG128A, 68HC12BC32, 68HC912B32, MC9S12DT128B, MC9S12DP256B, MC9S12DB128B, MC9S12A128B, MC9S12D64, MC9S12A64, MC9S12C32, MC9S12D512
ANSI and ISO C Compiler
The Cosmic 68HC12 and HCS12 compiler follows ANSI and ISO rules and conventions. All code and libraries are optimized specifically for the 68HC12 and HCS12 processor cores.
Reentrant and Recursive
All code is fully reentrant and recursive using standard ANSI stack frame conventions.
Automated source level support for 68HC12 and HCS12 Code bank switching (Paging) using PPAGE. Data bank switching is also supported using DPAGE and EPAGE with HC12A4.
Moveable Code Feature
Moveable code feature is designed to make RAM based code like bootloaders 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.
The compiler provides three convenient methods for adding assembly code inside a C program. Includes an argument passing mechanism.
IEEE-754 Floating Point
Supports IEEE single floating point formats with full ANSI libraries (Source code included).
C Support for Zero Page
Compiler source extensions provide efficient use of the 68HC12 direct addressing mode.
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 many popular emulators and logic analyzers.
In-Circuit Emulator Compatibility
Cosmic's 68HC12 compiler is compatible with emulators and BDM debuggers from Hitex, I-Systems, Lauterbach, NOHAU, Noral and P&E Micros.
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 HC12/HCS12 compiler is compatible with most HC12 operating systems and real-time kernels including specific ports from CMX, MicroC/OS-II and OSEK vendors.
OSEK/VDX is an Automotive consortium aiming at an industry standard for an open-ended architecture for distributed control units in vehicles. OSEK is an abbreviation for a German term which translates to "Open systems and the corresponding interfaces for automotive electronics". VDX is an abbreviation for Vehicle Distributed eXecutive. Cosmic HC12/HCS12 compiler is OSEK/VDX Certified with operating systems from 3SOFT, LiveDevices Limited , Freescale and Vector Informatik.
Graphical Programming Environments
Cosmic HC12/HCS12 Compiler is fully compatible with I-Logix's Rhapsody in MicroC graphical programming environment. Rhapsody in MicroC 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. Cosmic ZAP debugger plug-ins are available to integrate the development, debugging and execution environments. Debug and execute code directly from the graphical model.
Cosmic HC12/HCS12 compiler has been integrated and tested with Vector Software's VectorCAST for 68HC12. VectorCast is an Automated Module Test System that automates unit/component level testing of safety and mission critical software applications written in C. This state-of-the-art automation includes the tasks of building complete test harnesses, test cases and execution reports. This eliminates the need to manually generate test code to isolate individual software components.