8-/16-bit Microcontrollers CodeWarrior™ Development Studio for Freescale™ HCS12(X) Microcontrollers Overview The comprehensive, highly visual CodeWarrior™ Development Studio for Freescale™ HCS12(X) Microcontrollers enables engineers to build control or automotive body controllers, the CodeWarrior environment provides you everything you need to exploit the capabilities of the HCS12 and HCS12X/XGATE architectures. and deploy HCS12 or HCS12X/XGATE systems quickly and easily. This The award-winning CodeWarrior IDE goes well beyond basic code tool suite provides the capabilities required by every engineer in the generation and debugging, streamlining applications design from the development cycle: from board bring-up to firmware development to moment you open the box. It features an intuitive, state-of-the-art final application development. With a common project-based project manager and build system, a highly optimized compiler, a development environment reuse becomes a natural by-product as each graphical, source-level debugger, integrated profiling capabilities, a team builds on the work already completed by the previous team. cycle-accurate, instruction-set simulator and more. Whether the application is targeted at consumer white goods, industrial Features • Sophisticated project manager • Build system with optimizing C/C++/cC++/EC++ compilers for HCS12 CPU, HCS12X CPU and XGATE module • Macro-assembler (absolute and relocatable) supporting HCS12 CPU, HCS12X CPU and XGATE module • Linker support for HCS12 CPU code, HCS12X CPU code, or HCS12X CPU and XGATE module code • Graphical, source-level debugger support for HCS12 CPU or HCS12X CPU and XGATE module concurrently • Flash programming support • Cycle-accurate simulator with code coverage, and profile analysis • Data visualization and I/O stimulation • C source code encryption support • Processor Expert® and Bean Wizard from Unis Why develop applications with CodeWarrior tools? designed to take full advantage of the HCS12 and HCS12X/XGATE architectures, with more than 60-advanced optimization strategies Get to Market Fast specifically designed to boost performance and reduce code size. So, Speed your time-to-market by creating, compiling, linking, assembling you can extract maximum performance from lower cost silicon and and debugging within a single, integrated development environment. reduce your overall product cost. Use our tightly-integrated tools to speed your development time or plug in familiar third-party editors, compilers and debuggers. Skip the endless debug cycles at the end of a project and the frantic search through the silicon documentation to find the single bit that is set incorrectly, causing your application to crash. Just define the functionality you need for your application and Processor Expert within CodeWarrior Studio generates tested, optimized C-code tuned for your application and the particular 68HC(S)12 derivative you have chosen. Maximize Performance/Minimize Silicon Cost Develop Software Ahead of Hardware Start software development immediately. The cycle-accurate simulator in CodeWarrior Development Studio provides the most powerful tool short of actual hardware. Long before hardware is available you can detect and repair design and requirement errors with the simulator and integrated data visualization, code coverage and profile analysis. These tools provide you with clear, meaningful insight into your program’s run-time behavior. Armed with this data, you can tailor your application for optimum performance and reliability. Create the most highly optimized code in the market with our industry leading ANSI C/C++ and compact C++ compilers. These compilers are Build System Processor Expert from UNIS Processor Expert is a rapid application design tool (RAD) that combines easy-touse component-based application creation with an expert knowledge system. CPU, on-chip peripherals, external peripherals and software functionality are encapsulated into components called Embedded Beans. You can tailor each component’s Processor Expert also makes porting a Develop applications with the smallest code breeze. Simply select the new MCU and size and fastest execution time. Processor Expert maps the software and peripheral components that describe your application’s functionality to the C++ compilers, which support EC++ guide- you have to do is resolve any problems lines for embedded C++ development and flagged by Processor Expert and you’re generate ELF/DWARF files for execution and finished. debugging • More than 60 optimization strategies functionality to fit your application requirements by modifying the • An intuitive, graphical user interface component’s properties, methods and tightly integrated with CodeWarrior events. When you build the project, tools • Ready-to-use, tested hardware and highly optimized C-code and places the software components with complete files into your CodeWarrior project. documentation Endless troubleshooting cycles are a • Industry-leading ANSI C/C++ and compact resources available on the new MCU. All Processor Expert Features Include Processor Expert automatically generates Features Include • Hardware independence and inheri- • Compiler optimization menu that allows you to easily define the optimization level with sliders for code density, execution speed, complexity, compilation time and information • Macro assembler • Linker dead-strips unused code Graphical Source-Level Debugger The CodeWarrior IDE includes a state-of-the-art thing of the past! Processor Expert’s tance, which make your applications source-level debugger with a wide array of knowledge base only provides valid portable sophisticated features that help you choices and immediately flags potential resource conflicts, allowing you to resolve the problems during the initial design phase. • A knowledge base that is constantly checking CPU-dependent settings troubleshoot and repair your application faster. The debugger provides the power you need • Automatic C-code generator with the simplicity of a Windows®-based point- • Bean Wizard, which allows you to and-click environment for fast and easy encapsulate your own software IP and execution. build a library of reusable components • Graphical display of complex data structures and expressions to speed run-time analysis • Fast, flexible and comprehensive run-control capabilities for complete target control • Precise breakpoints help solve sophisticated problems CodeWarrior Development Studio provides the capabilities required by every engineer in the development cycle: from board bring-up to firmware development to final application development. Feature Benefit Special Edition Standard Edition Professional Edition Yes Yes Yes Up to 32 files* No* Unlimited Yes Unlimited Yes IDE Project Wizard Gets you up and programming fast. Program Manager Eliminates confusing and often complex make files with visual preference panels. > Projects > Sub Projects Build Tools Macro Assembler For specific optimizations only you can provide. HCS12(X): ASM - Unlimited XGATE: ASM - Unlimited HCS12(X): ASM - Unlimited XGATE: ASM - Unlimited HCS12(X): ASM - Unlimited Optimizing Compiler Reduces code size and maximizes the capabilities of the microcontroller to achieve top performance. HCS12(X): C - 32K HCS12(X): C++ - 1K XGATE: C - 512 bytes XGATE: C++ - 512 bytes HCS12(X): C - Unlimited HCS12(X): C++ - 1K XGATE: C - Unlimited XGATE: C++ - 512 bytes XGATE: ASM - Unlimited HCS12(X): C - Unlimited HCS12(X): C++ - Unlimited XGATE: C - Unlimited XGATE: C++ - Unlimited Libmaker Allows reuse and maintenance of code through libraries. Yes Yes Debug Tools HCS12(X): ASM - Unlimited HCS12(X): ASM - Unlimited HCS12(X): C - Unlimited HCS12(X): C - Unlimited HCS12(X): C++ - Unlimited HCS12(X): C++ - 1K XGATE: ASM - Unlimited XGATE: ASM - Unlimited XGATE: C - Unlimited XGATE: C - Unlimited XGATE: C++ - Unlimited XGATE: C++ - 512 bytes Source-Level Debugger Speeds debug cycles by viewing the source code as it executes. HCS12(X): ASM - Unlimited HCS12(X): C - 32K HCS12(X): C++ - 1K XGATE: ASM - Unlimited XGATE: C - 512 bytes XGATE: C++ - 512 bytes Flash Programming Fully integrated flash programming improves the build-debug cycle because it automates your downloads. Yes Yes Yes Simulator Reduces costs and eliminates possible hardware issues during development. Yes Yes Yes Data Visualization and I/O Stimulation Let’s you see how your program effects peripherals and responds to outside input. 1 components/ 3 elements Unlimited Unlimited Decoder Allows you create listings of ELF files. Yes Yes OSEK Awareness Ready to work with OSEK, for RTOS-aware debug capabilities. Yes Session Record and Play Automates repetitive debug cycles during program validation. Yes Advanced Tools Processor Expert > Basic Beans > Software Beans > Advanced Beans Abstracts the hardware layer and generates optimized, microcontroller-specific code tailored to your application, so you can concentrate on design. Yes Yes Yes Yes Yes Yes Bean Wizard Allows you to create reusable software components, which can be easily retargeted to any Freescale Hybrid, HC(S)08 or HCS12(X) microcontroller. Yes Profile Analysis and Code Coverage Gives you visibility into your running program to allow fine tuning and better quality metrics. Yes PC-Lint Plug-In Ensures compliance with MISRA and other code quality and style guidelines. Yes * Program Manager limitation removed when 64K compiler installed Specifications Board Support • IDE Version: 5.7 • Freescale MC68HC9S12DP256 Evaluation Board • Host Platforms: Windows 98 SE/2000/XP • Elektronik-Laden HCS12 T-Board • Language support: Assembly, C/C++, cC++, EC++ • Future Electronics 9S12 Badge Board • Build tools output formats: ELF/DWARF 2.0, Hiware, Freescale S- • Axiom CML125-DP256 Board ® Record, Intel hex, binary ® • Axiom MC9S12XDT512 Demo Board Support Policy • SofTec MC9S12XDP512 Evaluation Board • Online help and documentation • M68EVB912C32 • 12-month maintenance contract • M68EVB912DP256 • Additional 12-month maintenance contracts available • Technological Arts HCS12 Boards • Free 30-day evaluation license available • inDART-HCS12 Series Starter kits • PK-HCS12 Series Starter kits System Requirements • 200 MHz Intel Pentium® II processor or AMD-K6® class processor, Host Connections • Microsoft Windows® 98 SE (Second Edition)/2000/XP • USB Multilink 12 • 128 MB of RAM, and CD-ROM drive • Cyclone Pro • Depending on host-target connection: parallel port, 9-pin serial port • SofTec BDM12 • Abatron BDI1000® (Professional Edition only) or USB port Device Support • MC9S12X families: A, D, DG, DP, DT • MC9S12 families: A, B, C, D, DB, DG, DJ, DP, DT, E, GC, H, KG, KT, NE, T and U • MC68HC812: A4 • MC68HC912 families: B, D, DG, DT Part Numbers Products CodeWarrior for HC12, Special Edition (also includes CodeWarrior for HC08, Special Edition) Part# CWX-HXX-SE CodeWarrior for HC12, Standard Edition CWS-H12-STDED-CX CodeWarrior for HC12, Professional Edition CWS-H12-PROED-CX Upgrades HC12 64K C Compiler Upgrade HC12 C++/cC++/EC++ Compiler Only Edition CWS-H12-C64K-CX CWS-HC12-CC-CX HC12 Upgrade to Standard Edition CWS-H12-STDED-UX HC12 Upgrade to Professional Edition CWS-H12-PROED-UX Add-On Options for Standard Edition Learn More: HC12 Enhanced Compiler Option CWX-H12-ENHNC-KX XGATE Tools Option CWX-H12-XGATE-KX For current information about Freescale products and documentation, please visit www.freescale.com. Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2007 950-00088 REV E You can also find more information about Fast Track, Freescale’s online support services center, at www.freescale.com/fasttrack.