P&E Tools Cosmic Software MetaGeek WSN

Cosmic 68HC08 and HCS08 Cross Development Tools

Cosmic's toolchain for the 68HC08/HCS08 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 68HC08/HCS08 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, XP and Vista.
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.


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.

68HC08/HCS08 specific features include:

  • HC08 and HCS08 Cores

  • The Cosmic 68HC08 / HCS08 compiler generates highly efficient code for both the 68HC08 and the next generation HCS08 families of microcontrollers.
  • Paging Support for Code and Const Objects

  • The Cosmic HC08 / HCS08 compiler supports code and const paging using the HCS08's on-chip paging mechanism to address memory beyond the 64K of 16-bit memory space. This includes support for the 128K internal Flash available on the HCS08QE128, HCS08DZ128 and HCS08DV128.
  • ANSI and ISO C Compiler

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

  • All code is fully reentrant and recursive using standard ANSI stack frame conventions.
  • C Support for Zero Page

  • Compiler source extensions provide efficient use of the 68HC08 / HCS08 direct addressing mode and single byte pointers
  • 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 single 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.
  • 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.
  • 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 68HC08 / HCS08 compiler is compatible with emulators from Freescale, I-System and Lauterbach.
  • 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 HC08 / HCS08 compiler is compatible with most HC08 / HCS08 operating systems and real-time kernels including specific ports from CMX, MicroC/OS-II and OSEK vendors.
  • OSEK/VDX Certified

  • 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 acronym for Vehicle Distributed eXecutive. Cosmic HC08 / HCS08 compiler is OSEK/VDX Certified with operating systems from 3SOFT, and LiveDevices Limited.

ZAP Debugger

ZAP is a full featured source-level debugger available for Windows and Motif. ZAP's intuitive graphical interface is uniform for all targets and execution environments. Cosmic's ZAP debugger is available in several versions for the HC08 and HCS08 depending on your hardware development environment.

  • ZAP SIM Debugger with Simulator (HC08 and HCS08)

  • ZAP BDM debugger interface for P&E BDM Multilinlk cable (HCS08)

  • ZAP MON08 Multilink debugger for P&E MON08 Multilink and serial MON08 (HC08)

  • ZAP MON08 debugger/flash programmer using the HC08's on-chip monitor (HC08)

Click here for general information about the ZAP debugger.

ZAP HCS08 BDM specific features include:

  • BDM Interface Cables

  • ZAP S08 BDM supports Background Debug Mode cables from P&E Microcomputer Systems.
    USB BDM Multilink, Multilink Universal and Multilink Universal FX.
    Includes Multilink firmware update support
  • Paging support

  • ZAP HCS08 BDM supports paged code and const objects.
  • Real-time debugging

  • ZAP HCS08 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.
  • Flash Programming

  • ZAP HCS08 BDM supports most HCS08 on-chip FLASH and Byte EEPROM.
  • 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 6812 BDM supports programming and debugging with the HCS08 FLASH security feature.
  • Hardware Breakpoint

  • ZAP fully utilizes the on-chip hardware breakpoints for complex code and data breakpoints.
  • Real-Time C Trace

  • ZAP HCS08 BDM includes a real-time C and Assembly trace, complex triggers and profiling features using the HCS08’s debug module.
  • Real-Time Data Monitors/watch

  • ZAP HCS08 BDM allows you to monitor and modify any data objects or memory locations while the processor is running in real-time.