Software ZAP Debugger for S12X and
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
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
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
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.
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
/ XGATE Simulator
- ZAP BDM supports Background Debug Mode cables from P&E Microcomputer Systems. Including:
Multilink Universal, Multilink FX and USB BDM Multilink (discontinued)
Includes Multilink firmware update support
- Integrated XGATE
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
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
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
BDM connects through a PC
parallel or USB port and
the target clock speed for
connection and allows continued
debugging even through PLL
bus speed changes.
S12X BDM supports the S12X
family's FLASH security feature.
S12X BDM offers 3 execution
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.
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.
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.
Displays a time-line of function calls to track program execution.
Cosmic Products quick Links