P&E Tools Cosmic Software MetaGeek WSN

Cosmic 68HC16 Cross Development Tools

Cosmic's toolchain for the 68HC16 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 Freescale 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 68HC16 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 Windows 2000 and XP.
Click here for more information about IDEA.

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

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.

68HC16 specific features include:
  • 68HC16 Family

  • The Cosmic 68HC16 compiler generates highly efficient code for the entire 68HC16 family of microcontrollers.
  • ANSI and ISO C Compiler

  • The Cosmic 68HC16 compiler follows ANSI and ISO rules and conventions. All code and libraries are optimized specifically for the 68HC16 processor cores.
  • Reentrant and Recursive

  • All code is fully reentrant and recursive using standard ANSI stack frame conventions.
  • 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.
  • Address 1 MByte

  • Choose from 4 memory models for efficient use of up to 1 Mbyte of code and data with the 68HC16.
  • 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.
  • IEEE-754 Floating Point

  • Supports IEEE 32 bit single and 64 bit double precision floating point formats with full ANSI libraries (Source code included).
  • 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 many popular emulators and logic analyzers.
  • In-Circuit Emulator Compatibility

  • Cosmic's 68HC16 compiler is compatible with emulators and BDM debuggers from Hitex, I-Systems, Lauterbach and NOHAU.
  • 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!!
  • OS Compatibility

  • Cosmic HC16 compiler is compatible with most HC16 operating systems and real-time kernels including specific ports from CMX and MicroC/OS-II.

ZAP Debugger

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 HC16. (1) ZAP SIM Debugger with included processor Simulator, (2) ZAP BDM debugger - uses the HC16 on-chip background debug mode.
Click here for general information about the ZAP debugger.

ZAP 6816 BDM specific features include:

  • BDM Interface Cables

  • ZAP 6816 BDM debugger works with P&E Microcomputer Systems' CABEL16 BDM interface Cable. Cable16 adhere to Freescale's standard BDM specification. ZAP can be use with any HC16 target system.
  • Real-time debugging

  • ZAP 6816 BDM provides a low cost real-time target debugging environment using the on-chip Background Debug Mode protocol.
  • Multiple Execution Modes

  • ZAP BDM offers 2 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.
    ISTEP mode - This mode uses the BDM instruction step to execute between breakpoints.