Software Development Tools

CodeWarrior™ Development Studio mobileGT™ Processor Edition

When building complex embedded devices, manufacturer when creating or supporting our CodeWarrior development studio contains comprehensive development tools that high-quality products. all of the tools needed to complete a major enhance developer productivity are a crucial embedded development project: CodeWarrior development studio is a element to project success. Selecting an complete IDE designed for each stage of the > Project Manager: Handles top-level file established software partner who combines management for the software developer, development process – from board bring-up the advantage of being the original determines build order and coordinates through embedded application development. with plug-ins to provide additional development tools provider for the State-of-the-art debugging technology, the services (e.g., version-control). mobileGT™ alliance, and also the creator of simplicity of an intuitive development > Source-Level Debugger: Provides a the award-winning CodeWarrior™ integrated environment and robust run-control bring high-performance graphical source-level development environment (IDE), enables debugger equipped with the latest hardware board bring-up and /C++ embedded developers to meet the pressures features to shorten hardware bring-up embedded application development to a new and application development time. of shorter project life cycles. Engineering level. In addition, developers remain Supports DWARF (Debug With managers gain comfort knowing productive by using a consistent development Arbitrary Records Format) and STABS. is a Freescale™ company, permitting us to environment across all supported > Source Browser: Permits user to leverage our unique access to the silicon navigate code quickly for both object- workstations and personal computers. oriented and procedural languages. > Build System: Generates relocatable object code and an executable image from the source and assembly code. > CodeWarrior C/C++ suite: Includes the industry-leading C/C++ CodeWarrior compiler, standard template (STL) and a variety of other tools. > Integrated Text Editor: Enables the creation and manipulation of source code and other textual files. Completely integrated with other IDE functions. > Search Engine: Locates a specific text string; provides file-comparison and file- differencing functionality. CodeWarrior Development Studio mobileGT Processor Edition

New Features for version 8 > Editor enhancements for greater > Supports position independent code (PIC) > Faster, more intuitive flash programming developer productivity and position independent data (PID) supporting the latest devices > Superior compiler optimization > File I/O for bare board applications (no OS) > Integrated hardware diagnostics for technology generates fast, compact, > Proven performance with industry leading board-level testing high-quality code RTOSs > Agilent Logic Analyzer interface within > Compatibility with the latest ANSI C++ the IDE specs (ISO/IEC 14882:1998(E) C++ Supported Hosts > Windows® XP/2000/Windows NT® 4.0 + > Cache visibility for the MPC5200 standard) and the ANSI C spec (X3.159-1989) Service Pack 5 and above > Enhanced command window permits more complex scripting capabilities > Complete control of code and data Supported Targets memory allocation > MPC823e, MGT5100, MPC5200 > Upgraded breakpoint support increases ease of use > Options to pack or byte-swap structures Supported Connections to match existing data types > Ethernet TAP, BDI 2000, USB TAP and more > Built-in software profiler for hot-spot analysis

CodeWarrior Project Manager Seamless Integration with Ethernet TAP • Trace Collection Off - Stops collecting For new users, a Project Wizard takes the The CodeWarrior debugger is fully integrated trace data for the Trace window developer step-by-step through a series of with the Ethernet TAP run-control device, > Watchpoints: Halt program execution when questions to create a project that is ready for resulting in optimized run control, faster a specific location in memory changes value. After setting a watchpoint in memory, you development. The graphical user interface downloads and more productive developers. can halt program execution when that point (GUI) enables the user to easily configure a Full-Featured Debugging in memory changes value or when the project by selecting options covering memory location is accessed. The CodeWarrior debugger provides a rich set everything from compiler optimization and > Single-Stepping: The CodeWarrior of debugging features designed to help the debugging level, to symbolic output format debugger supports high-level and low-level developer quickly find and repair software language support for Step Into, Step Over (DWARF1, DWARF2, STABS) and target type defects, including: and Step Out. (executable or library). Example templates, > Breakpoints: Hardware and software > Tooltips: Data and icon tooltips enable the called stationery, are provided as a starting breakpoints are easily set or removed in developer to view crucial information easily. place for the application and include a linker source code, assembly or mixed-mode views. Data Tooltips display a quick, one-time view command file, target initialization files and of a variable. Icon Tooltips display an items > Eventpoints: Used to perform a task when function when the cursor is placed over it. project files — making it easy to get your program execution arrives at a specific line > Simple Module and Function Browsing: The project up and running. of source code or when an associated conditional expression evaluates to true. Set tight integration between the symbol Enhanced CodeWarrior Debugger an eventpoint to perform a task (i.e., run a browser and the debugger enables access to an internal table of all modules, global Metrowerks CodeWarrior debugger brings script, play a sound or collect trace data), to enhance your debugging or testing variables and functions in a given debug C/C++ source-level debugging to a new level. processes. context. The CodeWarrior debugger assembles a wide • Log Point - Logs a string to a file and > Display Stack Trace: The “Call Stack” view array of high-powered components and records messages to the Log window provides an easy display of all functions features into a powerful GUI to enable projects active in the calling chain and enables the • Pause Point - Pauses execution to refresh developer to follow the progress of a to be completed on time and under budget. debugger data – great for watching a program through its hierarchical call variable change over time structure. Windows-based Workspace Environment > Watch View: for monitoring and updating The CodeWarrior debugger’s user-configurable • Script Point - Runs a script or application data in a separate window. workspace allows developers to focus on • Skip Point - Skips execution of a line of source code > Memory View: Memory view is the fastest way complex debugging tasks. Each workspace to display and modify the contents of target contains just the set of views needed for the • Sound Point - Plays a sound when memory. Quickly find a value in memory, task at hand. If it is a source view, cache view triggered compare memory regions or upload and download memory to a file using this view. or logic analyzer interface, the developer views • Trace Collection On - Starts collecting what he wants, when he wants it. trace data for the Trace window CodeWarrior Development Studio mobileGT Processor Edition

> Register view: The register view provides > Mixed Language Debugging: The > Profile Window: Improve the performance of extensive information on CPU and peripheral CodeWarrior debugger supports mixed your application by using the Profile window registers, as well as user-defined custom language debugging in C, C++ and to examine profile data that collected from registers. The registers displayed can also by automatically executing code. include bit-level details for an English- analyzing the file in view and adjusting the > Command-Line Window: Use the command- language equivalent of register contents. expression evaluation and data display line interface together with various scripting > Cache View: Use the Cache window along accordingly. engines, such as the Microsoft® ® with the Metrowerks Ethernet TAP run- > Target Connection Wizard: The Connection script engine, ™ script engine, TCL, control device, to view cache information Wizard simplifies and automates the task of Python and Perl to automate testing, for the MPC5200 processor. defining new connection definitions based on standardize data-logging or uncover that hardware and communication parameters. hard to find problem.

> Start Trace Based on Specified Address > Start Trace on Address Range > Trace All in Address Range > Breakpoint on Trigger > Trigger Tracing on Breakpoint

Board Bring-Up Board bring-up is easier using the CodeWarrior debugger by providing complete control over all board settings, including initial register values and memory configuration. The CodeWarrior debugger also includes a comprehensive set of hardware diagnostics and robust flash programming algorithms supporting an industry-leading flash devices. Hardware Diagnostics Flash Programming CodeWarrior development studio comes with diagnostics that enable Program on-board flash devices from within the same graphical user the developer to help determine if the hardware is functional. interface used to troubleshoot the application. Over 150 leading flash These tests include: devices are supported out-of-the-box. > Memory Read/Write: Performs diagnostic tests by writing and Logic Analyzer reading memory through the emulator interface The most complex embedded systems problems require a powerful > Scope Loop: Repeated memory reads and writes through the interface to troubleshoot low-level hardware components. Utilize the emulator interface. CodeWarrior debugger in concert with a logic analyzer to quickly and > Memory Tests: The Memory Tests component lets you perform three easily understand complex signals on an embedded hardware platform. different tests on the hardware: > Walking ones Supporting the Agilent logic analysis systems, Metrowerks has > Address seamlessly integrated Logic Analyzer communications into the > Bus noise CodeWarrior debugger. Including: > Trace On/Off Specify any combination of the tests and the number of passes to perform them. Save a log file to memory or view data in the log > Trace Everything window after all tests are complete. > Trace History CodeWarrior Development Studio mobileGT Processor Edition

> Board support routines for bare board coloring quickly and easily, the CodeWarrior applications (no OS) text editor provides a single, consistent editor > Proven performance with industry-leading interface for all host and target development RTOSs combinations. Assembler – Full-featured macro assembler Search Engine invoked automatically by the project manager Industry observers estimate that software or as a stand-alone assembler for generating developers spend nearly half their time object modules. searching for basic information buried in Linker – Provides precise control over the application code. As applications grow in CodeWarrior III Compiler allocation, placement and alignment of code complexity, the time required finding, The CodeWarrior III compiler, combines and data in memory. analyzing and modifying code increases as a industry-proven optimization technology with proportion of total engineering effort. Fast, the versatility and control needed to fully Libraries – The Metrowerks Standard semantic code navigation makes it possible exploit today’s complex PowerPC ISA CPUs. Libraries is included: to find specific code structures among Fast, tight, correct code – that’s what the > Complete C++ STL hundreds of directories and files quickly and CodeWarrior III compiler is all about. > Complete, re-entrant C libraries compliant easily. Seamless integration between the with ANSI/ISO, POSIX and SVID Proven Optimization Technology standards CodeWarrior search engine and the text A large number of highly refined, global, local, > Multi-threading editor also increases user productivity by CPU-specific and application-specific > Full complement of math libraries, including reflecting all code changes immediately in the (profile-driven) optimization techniques IEEE-754 appendix functions browser. No recompilation necessary. enable the programmer to fine-tune the > Efficient floating-point libraries for fast Plug-in Facility compiler’s output to match the application’s execution of calculations The plug-in facility of the CodeWarrior requirements. Programmers can select Profiler – profiling options contained in the development studio lets you extend the IDE to various optimizations to balance execution compiler instrument application code, which include new features or to upgrade/replace speed with code size while intelligent when executed save profile information that existing features. Users and third parties can defaults can generate optimal code with no can be viewed by the profiler utility. This develop a plug-in to create a new interface or user interaction. profile data can also be fed back functionality into the IDE. Plug-ins include Advanced C/C++ compiler – Designed for automatically to the compiler for additional kernel awareness for OSEK and other highly embedded development support. Key code optimization based on execution paths. operating systems, as well as standard plug-ins features include: CodeWarrior Text Editor for many third party applications (i.e., > Compatibility with the latest ANSI C++ CodeWarrior development studio includes a ClearCase, Slick Edit, PC-LINT and more). specs (ISO/IEC 14882:1998E) and the full-featured, user-configurable, windowed ANSI C spec (X3.159-1989) Minimum System Requirements: text editor with syntax coloring, auto- > 400 Mhz ® Pentium® class processor > Standards conformance (ANSI and EABI) indenting and more. Quickly identifying for maximum tool interoperability > XP/2000/Windows NT language keywords and constructs, 4.0 > Complete control of code and data memory allocation integrating powerful search capabilities that > 128 MB RAM can find values within multiple files and being > Options to pack or byte-swap structures to > 300 MB disk space match existing data types highly user-configurable by permitting a > CD-ROM drive for installation > Supports position independent code (PIC) developer to change the key bindings, font and data (PID) type, font size, color scheme and syntax

Learn More: For more information about Freescale products, please visit www.freescale.com/codewarrior

FREESCALE and the FREESCALE logo are trademarks of , Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2006. ALL RIGHTS RESERVED. 950-00136 REV B