Cosmic UK Cosmic US Cosmic Germany Cosmic Italia Cosmic France


Home / Products / ZAP for NXP S12X/XGATE

Cosmic Software ZAP Debugger for S12X and XGATE


click to enlarge


NXP™ and the NXP logo are trademarks of NXP.

Cosmic's ZAP S12X/XGATE debugger is a full featured C and Assembly language debugger for embedded applications using NXP's S12X and XGATE. ZAP S12X/XGATE provides integrated debugging support for both processors. ZAP is available in two target versions for NXP'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.

Contact Cosmic