ZAP Cross Debuggers for Motorola Microcontrollers

Similar documents
ZAP Cross Debuggers for STMicroelectronics Microcontrollers

COSMIC s C cross compiler, cx6808 for the Motorola 68HC08 family of microcontrollers, incorporates over

Development Tools. 8-Bit Development Tools. Development Tools. AVR Development Tools

CROSSWARE 7 V8051NT Virtual Workshop for Windows. q Significantly reduces software development timescales

_ V Renesas R8C In-Circuit Emulation. Contents. Technical Notes

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their

NEW CEIBO DEBUGGER. Menus and Commands

ECE3120: Computer Systems Hardware & Software Development Tools

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

Laboratory: Introduction to Mechatronics. Instructor TA: Edgar Martinez Soberanes Lab 2. PIC and Programming

DS-XA In-Circuit Emulator

Renesas 78K/78K0R/RL78 Family In-Circuit Emulation

TRACE32 Debugger Getting Started... ICD Tutorial About the Tutorial... 2

MPLAB SIM. MPLAB IDE Software Simulation Engine Microchip Technology Incorporated MPLAB SIM Software Simulation Engine

_ V Intel 8085 Family In-Circuit Emulation. Contents. Technical Notes

DS-251 In-Circuit Emulator

Fredrick M. Cady. Assembly and С Programming forthefreescalehcs12 Microcontroller. шт.

Barracuda I and II Chips (I mask is OK36N and II mask is OK79X) PC9S12DP256

CEIBO FE-5131A Development System

New Laboratory Tools and Techniques for Embedded Microcontrollers

Session 1520 EXPERIENCE OF TEACHING THE PIC MICROCONTROLLERS

IAR C-SPY Hardware Debugger Systems User Guide

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers

Using the KD30 Debugger

EUROScope lite 16FX Reference Manual

Product Brief M68340EVS EVALUATION SYSTEM

SKP16C26 Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

Trace Getting Started V8.02

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

Changing the Embedded World TM. Module 3: Getting Started Debugging

ST6-SW SOFTWARE DEVELOPMENT TOOLS FOR ST6 MCU FAMILY

Microcontroller Systems. ELET 3232 Topic 11: General Memory Interfacing

Programming in the MAXQ environment

CEIBO FE-W7 Development System

TRACE32 Getting Started... ICD In-Circuit Debugger Getting Started... ICD Introduction... 1

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

Parts List. Nohau In-Circuit Emulators. EMUL51-PC For the 80C51MX Family. By ICE Technology Tel Tel Fax

DoCD IP Core. DCD on Chip Debug System v. 6.02

M16C/62P QSK QSK62P Plus Tutorial 1. Software Development Process using HEW4


HI-WAVE. ICD Target Interface. Copyright 1998 HIWARE HI-WAVE

EB-51 Low-Cost Emulator

Microcontrollers. Microcontroller

1. Attempt any three of the following: 15

Unit I. Introduction Microcontrollers and Embedded processors Overview of the 8051 Inside the 8051 Addressing Modes

_ V1.3. Motorola 68HC11 AE/AS POD rev. F. POD Hardware Reference

Tools Basics. Getting Started with Renesas Development Tools R8C/3LX Family

embos Real-Time Operating System embos plug-in for IAR C-Spy Debugger Document: UM01025 Software Version: 3.1 Revision: 0 Date: May 3, 2018

Freescale Semiconductor, Inc.

embos Real-Time Operating System embos plug-in for IAR C-Spy Debugger Document: UM01025 Software Version: 3.0 Revision: 0 Date: September 18, 2017

Project Debugging with MDK-ARM

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

Chapter 7 Central Processor Unit (S08CPUV2)

MCUez MMDS or MMEVS for HC05/08 ezstart GUIDE

History of the Microprocessor. ECE/CS 5780/6780: Embedded System Design. Microcontrollers. First Microprocessors. MC9S12C32 Block Diagram

Total Development Solution for the 8051

_ V ST STM8 Family On-Chip Emulation. Contents. Technical Notes

Sophisticated Debugging Features for Motorola s HCS12 Family are available on Nohau s Full-Featured Emulator By: Doron Fael Nohau

CEIBO FE-51RD2 Development System

AN1752 APPLICATION NOTE

)8-,768'HY.LW 2YHUYLHZ. )XMLWVX0LNURHOHNWURQLN*PE+ Am Siebenstein Dreieich-Buchschlag, Germany

IAR Embedded Workbench

MB95260H/MB95270H. MB95280H Series. MB95260H Series/MB95270H Series/

This chapter introduces how to use the emulator of TOPICE quickly.

AN1369 APPLICATION NOTE

_ V1.1. Motorola 6809 B POD rev. C. POD Hardware Reference

CEIBO FE-5122 Development System

embos Real Time Operating System CPU & Compiler specifics for RENESAS M16C CPUs and HEW workbench Document Rev. 1

Getting Started with the HCS12 IDE

HI-WAVE. Serial Debug Interface SDI target. Copyright 1997 HIWARE HI-WAVE

CEIBO FE-5111 Development System

Based on a Single Chip Microcomputer to Realize Electronic Clock Design and Analysis

Section 1 AVR Studio User Guide

ToolStick-EK TOOLSTICK USER S GUIDE. 1. Kit Contents. 2. ToolStick Overview. Green and Red LEDs. C8051F321 provides USB debug interface.

COBOL-IT Developer Studio 2.0

CHALMERS Lindholmen 1. Compare (a) a sand hour glass, (b) a pocket mechanical watch (c) a wrist quartz watch and (d) the Big

Keil uvision development story (Adapted from (Valvano, 2014a))

L2 - C language for Embedded MCUs

HCS12 BDM Getting Started V4.3

Integrated Development Environment

Keil TM MDK-ARM Quick Start for. Holtek s HT32 Series Microcontrollers

Product Update. Errata to Z8 Encore! 8K Series Silicon. Z8 Encore! 8K Series Silicon with Date Codes 0402 and Later

IN-CIRCUIT DEBUG (ICD) USER GUIDE

Support for RISC-V. Lauterbach GmbH. Bob Kupyn Lauterbach Markus Goehrle - Lauterbach GmbH

In Circuit Emulators. In-Circuit Emulators.

Embest IDE Pro for ARM 2005

An Introduction to Komodo

Microprocessors/Microcontrollers

SOFTWARE RELEASE GUIDE FOR THE MOTOROLA "MCUez SDI FOR HC12" SOFTWARE APPLICATION PACKAGE

Chapter 12. Microcontroller Application Development Tools

Course Introduction. Purpose: Objectives: Content: 27 pages 4 questions. Learning Time: 20 minutes

Integrated Development Environment

Introduction to Programming

Dataman-S6 - User's Manual. Dataman-S6 Compact USB Programmer User's Manual

E8a Emulator Additional Document for User's Manual R0E00008AKCE00EP2

The 9S12 in Expanded Mode - Using MSI logic to build ports Huang Chapter 14

User Manual. LPC-StickView V3.0. for LPC-Stick (LPC2468) LPC2478-Stick LPC3250-Stick. Contents

Chapter 1. Microprocessor architecture ECE Dr. Mohamed Mahmoud.

indart -HCS08 In-Circuit Debugger/Programmer for Freescale HCS08 Family FLASH Devices User s Manual Rev. 2.0

Transcription:

ZAP Cross Debuggers for Motorola Microcontrollers ZAP is a family of full-featured C and assembly language source-level debuggers designed to give Motorola embedded microcontroller developers a consistent and productive debugging environment across multiple target processors. Key Features: Provides a Portable Debugging Environment, Debugger for Each Stage of Your Project, C and Assembler Source-level Debugging, ANSI C Debugging, Array and Structure Explorer, Debug Fully Optimized Code, Easy-to-use Graphical User Interface, Extensive Program Control & Analysis Features, Graphical Performance Analysis, Code and Data Coverage, C Level Trace, Robust Script language, Automated Testing, Real-Time BDM debugging, Hardware Breakpoint support, FLASH and EEPROM Programming, Debug from FLASH, ZAP Gives You a Portable Debugging Environment Across Projects If you now use or are looking to design-in different Motorola microcontrollers into your embedded projects, ZAP helps you standardize your debugging tools across projects by giving you a portable graphical user-interface which helps improve developer productivity, saves expensive retraining costs and reduces product time-to-market pressures. ZAP is available for most Motorola microcontroller families and across target debugging hardware, so you have the freedom to choose a development environment that meets your needs and budget. ZAP Addresses Your Debugging Needs At Each Stage of Your Project ZAP s multiple configurations are designed to address your debugging needs as your project moves from the design stage to final integration and test; ZAP configurations supported are: software simulation, target monitor, background debug mode, and in-circuit emulator. Each configuration gives you essentially the same user interface, thus vastly improving your productivity, but each addresses a different stage of your project. C and Assembler Source-level Debugging If your source code is written in C, you want to debug at the C level; if parts of your source code are written in assembly language you want to debug at the assembly language level. ZAP automatically supports both modes without any special options or settings, so you always see your original source code in the Source window. If you are debugging at the C level, you can activate a Disassembly window that shows you the corresponding assembly language code for each line of C source. ANSI C Debugging ZAP provides point and click access to any C object or construct including enums, bit fields, strings, doubles/floats, structures and stack frames. View objects and memory in various formats including character, binary, octal, hexadecimal, unsigned, ASCII and string formats. ZAP Debugs Fully Optimized C Code COSMIC C Compilers generate exactly the same code with and without the debug option, which means you can debug fully optimized C code and, once debugged using ZAP, your code is ready for PROM burning with no need to recompile. Several versions of ZAP even program FLASH and EEPROM directly. Debug information is never downloaded, FLASHED or PROMED into the target system. Page 1/6

Easy-to-use Graphical User-Interface ZAP is a full featured C and Assembly source level debugger interface available on PC for Windows 95/98/NT/2000 and XP. ZAP is an easy to use, intuitive debugging environment with a serious debugging engine incorporating over 15 years of embedded compiler and debugger technology. Zap includes all of the bells and whistles that desktop C programmers expect along with all of the low level features assembly language programmers need. ZAP s core technology along with it s look and feel are available for many different target processors and execution environments including Simulation, Monitor, Background Debug Mode and in-circuit emulation. ZAP Main Window The main ZAP window acts like a desktop containing all of the display windows as well as all of the setup menus and status information. This window includes an optional button bar to control execution and displays. All of the buttons, menus and configuration are the same for all ZAPs except for the Target menu, which contains any target specific options and features such as FLASH programming, Hardware breakpoints, emulator trace etc.. Source Window The Source window displays the source code for the loaded application and maintains the display during execution with the current Program counter. This window is color coded for C and Assembly keywords and optionally displays absolute addresses or code coverage information. You can double click on line numbers to set breakpoints, select variables for the monitor/watch window and single step the program. Page 2/6

Disassembly Window The Disassembly window reads from the target s memory to provide an accurate disassembly of the actual programmed code. Colored highlights in the disassembly window are aligned with the source window to show the assembly instruction(s) corresponding to the highlighted lines in the source window. This window is useful when single stepping at the assembly level or tweaking the performance of the code. You also can double click on the addresses to set breakpoints. Register Window This window displays the internal CPU registers and allows you to modify the values by double clicking. The Simulator version of ZAP also includes two cycle accurate MCU counters. One displays the total number of cycles executed since the last reset and the second displays the number of cycles from the last execution command. Command Window The optional Command window is used to load command scripts or type any individual commands. The command window is useful for monitoring individual structure and array members as well as creating automated debugging sessions Stack window The Stack window displays a list of the functions in the current stack frame in the order they were called. It also displays the value of each function s arguments. This display provides a convenient way to follow execution through nested and recursive function calls. Monitor/Watch window The Monitor window is a scrollable window, which displays the values of monitored data objects and expressions. This window is updated each time the execution environment halts execution. You can double click on any variable to change its display format or update its value. Supported formats include: address of, character, binary, octal, decimal, unsigned, hexadecimal and string. Depending on the hardware used, ZAP also supports Real-Time Monitors that allow you to monitor and update variables and memory while the program is executing. Data window The Data window displays a block of target memory in a variety of formats including: disassembly, byte, word, long, binary, octal, decimal, hexadecimal and ASCII. You can change R/W memory simply by clicking on the value and typing the new value over the old. Changes in memory contents are highlighted to make it easy to track memory modifications as your program executes. Fill Memory This option allows you to fill memory between addresses with a specific or random pattern. The fill pattern can be a byte, word or long. Upload Data The data window can also be used to upload data from target memory to a text file. The data can be formatted as a data dump, disassembly or uploaded and converted to S-Records. This is useful for extracting an existing application from a target system. Source Browsing The source browser lets you search through the application s source files and double click on any function or file name to open multiple windows to let you view any source file in your application. You can also set breakpoints in any source browser window without changing the main source window. ZAP Configurations ZAP configurations define the code execution engines that ZAP uses to execute your application code. In general, each configuration is a separate application that provides full C and assembly language debugging. However, in some cases certain features are absent due to limitations in the target execution engine. For each target microcontroller supported by COSMIC products, there are at least two separate ZAP packages: (1) a remote, real-time debugger and (2) a hosted, non real-time simulator/debugger. All ZAP configurations include the standard windows described previously as well as the following features: Simulated I/O The simulated I/O feature is a very powerful feature that allows your application to interact with multiple data files located on the host system. This is typically achieved via a command script using watch points at PORT addresses along with special fopen, fread and fwrite ZAP commands. Automated Testing ZAP offers a robust high level command and scripting language which can be used to load multiple command scripts with multiple applications and perform any combination of ZAP commands without any user interaction. Save Layouts and Sessions This feature allows you to save a debugging session and play it back later. The save layout command saves the size and location of any open ZAP display windows. The save session command saves the layout, loaded application, source path and any monitor and data windows with their contents. In addition, ZAP can optionally save the current layout on exit as the default for the next time ZAP is opened. Page 3/6

Simulator Configuration (ZAP SIM) This configuration of ZAP provides an integrated cycle accurate instruction set simulator as the execution engine. Simulation is useful in the initial stages of your design, before you have access to target hardware, because it gives you a convenient way to debug algorithms and data structures before moving onto the more complicated hardware and software integration phase. You can also profile the execution of your code with the built in cycle accurate instruction timer to help you tune your application. The simulator configuration of ZAP is available for all target microcontrollers with Cosmic compiler support. ZAP SIM includes all of the standard ZAP features as well as the following additional features:: C and Assembly trace (non-real time) step backwards and forward through a recorded trace complete with recorded monitor values and register values. Interrupt Simulation - Simulate interrupt using the cycle accurate timer as a trigger mechanism or trigger on execution of an address. Graphical Performance Analysis ZAP SIM includes a performance analysis feature that displays cycles of execution on a file by-file or function-by-function basis. Double click on a function name or file name to display the number of times the function was called and the total number of cycles executed for that function. Performance information may also be saved as a text report. Code Coverage ZAP SIM s Code coverage feature displays information on executed source lines and address information. Choose to show all coverage, only code executed or only code not executed. Optional text report are available. Code coverage information can also be displayed in each source browser window by selecting show from the title bar. Variable Usage Reports ZAP SIM also includes a variable usage report feature that details global variable usage for each variable. ZAP totals the number and type of access for each variable. It also details each access to include the address of the instruction accessing the variable, the type of access (read or write) and the line number in the source file that performed the access. Chronograms Displays a graphical function call time-line for your application s functions. The Chronology information complete with enter and exit cycle counts can be saved in a text report for future use. Page 4/6

Monitor (remote) Configuration This configuration provides a low-cost, real-time debugging solution for several Motorola evaluation boards or your own real target board. ZAP uses a very small monitor program (typically less than 750 bytes) to communicate to the evaluation board over a standard serial link. The monitor is downloaded into the target board's emulation RAM and acts as an execution slave to the debugger. ZAP s standard debugging feature set is provided. The monitor configuration comes preconfigured for Motorola 68HC11 EVS evaluation boards but as source code is provided it can be reconfigured for your own target board provided a debug serial port is available and application code can be debugged in RAM on the target. Background Debug Mode Configuration ZAP is available for Motorola s Background Debug Mode interface on the 68HC12, MC9S12, 68HC16 and 68300 processors. This version of ZAP interfaces from a PC parallel port directly to the target system using a BDM interface cable. ZAP 6816/68300 BDM ZAP for 68HC16 and 68300 uses P&E Microcomputer Systems CABLE_16/32 and ICD16/32 and the following 10 pin BDM interface. ZAP CABLE16/32 currently supports all of the HC16 and 683000 processors. This version includes all of the standard ZAP features and the following additional features: Real-time Debug: C and assembly Source level debugging of code executed from RAM with an unlimited number of software breakpoints. ZAP 6812 BDM ZAP for the HC12 and MCS912 supports P&E Microcomputer Systems CABLE12 and CABLE12HS via a 6 pin BDM target interface as shown below: ZAP CABLE12(HS) currently supports all of the HC12, HC912 and MCS912 processors. This version includes all of the standard ZAP features and the following additional processor specific features: FLASH and EEPROM programming - ZAP offers one step/one file downloads to FLASH, EEPROM and RAM. Real-Time Debug in Single Chip Mode Debug code stored in on-chip FLASH or EEPROM. Popular for in the field debugging and reprogramming finished systems. Bank Switching ZAP includes complete support for the efficient on-chip bank switching mechanism found in the HC912 and MCS912 processors. Hardware Breakpoints ZAP supports the on-chip hardware breakpoints. Use as transparent code breakpoints or set explicit data breakpoints. Unlimited software breakpoints are also available when debugging out of RAM. Real-time Memory monitor and modify any data objects and memory while the processor is running full speed. Multiple Execution Modes ZAP offers 3 execution modes for different target environments and chip modes. (1) Choose Hardware Breakpoint mode for real-time execution and debugging in single chip mode with program in on-chip FLASH and/or EEPROM. (2) Choose BGND mode for real-time execution and debugging with an unlimited number of software breakpoints. Code is executed in RAM. (3) Choose Single Step mode to set an unlimited number of breakpoints in single-chip mode. ZAP uses instruction steps for all execution in this mode. (not real-time) In-Circuit Emulator Configuration The ICE configuration of ZAP is often used in the latter stages of development to fine tune optimizations and track down hard to find bugs in complex, real-time embedded applications. The ZAP interface is currently available for the following in-circuit emulators: Motorola MMEVS/MMDS 68HC08 Motrola, MMEVS/MMDS 68HC05 This version provides additional features to fully support the Bus State Analyzer with C and Assembly source trace, complex event triggers and dual real-time memory support for viewing and updating data objects while the program is executing. ZAP MON08 ZAP MON08 is designed to work with the 68HC08 MON08 interface. This version supports FLASH programming, the onchip hardware breakpoint and security mechanism to provide a low cost real-time debugging solution directly on the target system. Page 5/6

For Sales Information please contact: Supporting Embedded Innovation since 1983 COSMIC Software USA COSMIC Software, Inc. 400 West Cummings Park, Suite 6000 Woburn, MA 01801-6512 USA Phone: (781) 932-2556 Fax: (781) 932-2557 Email: sales@cosmic-us.com web: www.cosmic-software.com COSMIC Software France 33 Rue Le Corbusier, Europarc Creteil 94035 Creteil Cedex France Phone: + 33 4399 5390 Fax: + 33 4399 1483 Email: sales@cosmic.cosmic.fr web: www.cosmic.fr COSMIC Software UK Oakwood House Wield Road, Medstead Alton, Hampshire GU34 5NJ, U.K. Phone: +44 (0)1420 563498 Fax: +44 (0)1420 561946 Email: sales@cosmic.co.uk COSMIC Software GmbH Rohrackerstr 68 D-70329 Stuttgart Germany Tel.+ 49 (0)711 4204062 Fax + 49 (0)711 4204068 Email: sales@cosmic-software.de web: www.cosmic-software.de Page 6/6