Controller Continuum. for Microcontrollers V6.3. Quick Start

Similar documents
CodeWarrior Development Studio for Freescale 68HC12/HCS12/HCS12X/XGATE Microcontrollers Quick Start SYSTEM REQUIREMENTS Hardware Operating System 200

for ColdFire Architectures V7.2 Quick Start

Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start

for Freescale MPC55xx/MPC56xx Microcontrollers V2.10 Quick Start

for StarCore DSP Architectures Quick Start for the Windows Edition

CodeWarrior Development Studio for StarCore DSP SC3900FP Architectures Quick Start for the Windows Edition

CodeWarrior Development Studio for Power Architecture Processors Version 10.x Quick Start

CodeWarrior Development Studio for etpu v10.x Quick Start SYSTEM REQUIREMENTS

CodeWarrior Development Studio

Getting Started with the Microcontroller Student Learning Kit (MCUSLK) Using the MC9S12C32 MCU Application Module (CSM-12C32)

Getting Started with the Student Learning Kit Application Module Using the MC9S12DT256 Microcontroller Application Module

CodeWarrior Development Tools mwclearcase Plug-in User s Guide

Component Development Environment Installation Guide

NOVPEK NetLeap User Guide

Figure 1. Power Barrel Connector Requirements

Model-Based Design Toolbox

CodeWarrior Kernel-Aware Debug API

2005: 0.5 PQ-MDS-PCIEXP

CodeWarrior Development Studio for Microcontrollers V10.x Getting Started Guide

Lab Tutorial for TWR-S08MM128-KIT TOWER SYSTEM LAB MC9S08MM128. Electrocardiogram (EKG) with Freescale USB stack

Electrode Graphing Tool IIC Driver Errata Microcontroller Division

Model Based Development Toolbox MagniV for S12ZVC Family of Processors

ColdFire Convert 1.0 Users Manual by: Ernest Holloway

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM MC9S08MM128. The industry s most complete solution for portable medical applications

USB Bootloader GUI User s Guide

Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME)

Processor Expert Software Microcontroller Driver Suite. Device Initialization User Guide

Upgrade the Solution With No Changes 2 Upgrade the Solution With No Changes If a Codebase does not contain updates to its properties, it is possible t

NovTech User Guide Chameleon96

Getting Started with the Microcontroller Student Learning Kit Project Board Using the MC9S12C32 Microcontroller Application Module

MC56F825x/MC56F824x (2M53V) Chip Errata

Software Defined Radio API Release Notes

Converting Earlier Versions of CodeWarrior for StarCore DSPs Projects to Version

Using the Project Board LCD Display at 3.3 volts

Programming and Evaluation Tool for Serial EEPROMs

SDR API Linux Installation

PQ-MDS-QOC3 Module. HW Getting Started Guide. Contents. About This Document. Required Reading. Definitions, Acronyms, and Abbreviations

PCB Layout Guidelines for the MC1321x

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

Apollo2 EVB Quick Start Guide

MPC8349E-mITX-GP Board Errata

MC33696MODxxx Kit. 1 Overview. Freescale Semiconductor Quick Start Guide. Document Number: MC33696MODUG Rev. 0, 05/2007

Design Recommendations to Implement Compatibility Between the MC13783VK and the MC13783VK5

56F8300 BLDC Motor Control Application

KIT33972AEWEVBE Evaluation Board

Symphony SoundBite: Quick Start with Symphony Studio. Installation and Configuration

Keil uvision 4 Kinetis Support for Freescale MQX RTOS Release Notes

M68HC705E24PGMR PROGRAMMER USER'S MANUAL

PAS08QF80 User s Manual

M68CPA08QF Programming Adapter. User s Manual. Freescale Semiconductor, I. User s Manual. M68CPA08QF324448UM/D Version 1.

PAS08QF5264 User s Manual

M68CPA08W1628T20. Programming Adapter. User s Manual. Freescale Semiconductor, I. User s Manual. M68CPA08W1628T20UM/D Version 1.

MPC7410 RISC Microprocessor Hardware Specifications Addendum for the MPC7410TxxnnnLE Series

Using IIC to Read ADC Values on MC9S08QG8

MPC5200(b) ATA MDMA, UDMA Functionality BestComm Setup Recommendations

Device Errata MPC860ADS Application Development System Board Versions ENG, PILOT, REV A

Mechanical Differences Between the 196-pin MAP-BGA and 196-pin PBGA Packages

Mask Set Errata. Introduction. MCU Device Mask Set Identification. MCU Device Date Codes. MCU Device Part Number Prefixes MSE08AZ32_0J66D 12/2002

Integrating FreeMASTER-Time Debugging Tool with CodeWarrior for Microcontrollers v10.x Project

Technical support for MCUez development tools is available through your regional. For More Information On This Product, Go to:

SGTL5000 I 2 S DSP Mode

PQ-MDS-PIB. HW Getting Started Guide 12,13. January 2006: Rev Check kit contents

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

56F805. BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers

M68HC705E6PGMR PROGRAMMER USER'S MANUAL

EchoRemote Evaluation Software for Windows

Using the CAU and mmcau in ColdFire, ColdFire+ and Kinetis

Vision Toolbox for MATLAB

Adding a run control interface into an existing CodeWarrior for MCU v10.x project

16-bit MCU: S12XHY256 Automotive Cluster Demo by: Jose M. Cisneros Steven McLaughlin Applications Engineer Microcontroller Solutions Group, Scotland

Utilizing Extra FC Credits for PCI Express Inbound Posted Memory Write Transactions in PowerQUICC III Devices

Differences Between the DSP56301, DSP56311, and DSP56321

Using the Multi-Axis g-select Evaluation Boards

HC912D60A / HC912Dx128A 0.5µ Microcontrollers Mask sets 2K38K, 1L02H/2L02H/3L02H & K91D, 0L05H/1L05H/2L05H

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

MTIM Driver for the MC9S08GW64

Introduction to LIN 2.0 Connectivity Using Volcano LTP

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Suite56 Command Converter Server User s Guide

MSC8144AMC-S Getting Started Guide

56F805. Digital Power Factor Correction using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers. freescale.

CodeWarrior Development Studio for Power Architecture Processors V10.X FAQ Guide

Introduction to the 16-bit Tower Boards Using the MC9S12GN32

Using the ColdFire+ Family Enhanced EEPROM Functionality Melissa Hunter Derrick Klotz

However, if an event comes in when the new value is being written to the pulse accumulator counter, that event could be missed. One solution to this p

Using the PowerQUICC II Auto-Load Feature

The USB Debug Adapter package contains the following items: USB Debug Adapter (USB to Debug Interface) with attached 7 Ribbon Cable

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

KIT34901EFEVB Evaluation Board

1 Introduction. 2 Problem statement. Freescale Semiconductor Engineering Bulletin. Document Number: EB727 Rev. 0, 01/2010

MPR121 Jitter and False Touch Detection

DEMO9S08AC60E. User s Guide. Freescale Semiconductor User s Guide. DEMO9S08AC60EUG Rev. 0.1, 11/2007

Functional Differences Between the DSP56307 and DSP56L307

MPR083 Proximity Evaluation Kit User s Guide

Programming the Keyboard Interrupt Module (KBI) on HC(S)08 MCUs

etpu General Function Set (Set 1) David Paterson MCD Applications Engineer

VortiQa Enterprise Quick Start Guide

i.mx31 PDK Power Measurement with GUI

Introduction to the S12G Family EEPROM Including a Comparison between the S08DZ, S12XE, and S12P Families

MCF5216 Device Errata

Transcription:

Controller Continuum for Microcontrollers V6.3 Quick Start

CodeWarrior Development Studio for Microcontrollers V6.x Quick Start SYSTEM REQUIREMENTS Hardware Operating System Disk Space PC with 1 GHz Intel Pentium compatible processor 512 MB of RAM (1 GB recommended) CD-ROM drive Depending on host-target connection: Parallel Port, 9-pin Serial Port, or USB Port Microsoft Windows XP or Microsoft Windows Vista Operating Systems 32-bit (Home Premium Edition and Business Edition) 2 GB total 400MB on Windows system disk This Quick Start explains how to install the CodeWarrior Development Studio for Microcontrollers V6.x software, and how to use the IDE to create, build, and debug a project. Section A: Installing CodeWarrior Software You must install the CodeWarrior software on the equipment on which you intend to use the software. 1. Insert CodeWarrior Development Studio CD into CD-ROM drive CW Auto Install begins If Auto Install does not start, run launch.exe, which is located in the root directory of the CD. The CodeWarrior software may be part of a DVD included with your kit. In this case, click Install CodeWarrior Development Studio for Microcontrollers, follow the on-screen instructions, and skip to step "Check for updates". 1

2. Follow setup program's on-screen instructions Special Edition: The Special Edition license is automatically installed with your product and you do not need to register it. This license allows you to develop projects with unlimited assembly code, up to 32KB of C code for HC(S)08/RS08 derivatives and up to 64KB of C code for ColdFire V1 derivatives. Evaluation Edition: The Evaluation license is automatically installed with your product and you do not need to register it. This license allows you to develop projects as Professional Edition within the 30-day evaluation period. After 30 days, the license works as Special Edition license (free permanent, but feature limited) which supports unlimited assembly code, up to 32KB of C code for HC(S)08/RS08 derivatives and up to 64KB of C code for ColdFire V1 derivatives. Section B: Creating and Building a Project 1. Create a project a. Select Start > Programs > Freescale CodeWarrior >CW for Microcontrollers V6.x > CodeWarrior IDE IDE starts and displays startup dialog box. Startup Dialog Box 2

b. Select Create New Project the Microcontrollers New Project Device and Connection dialog box appears. This section of the quick start demonstrates using the New Project Wizard. We use an MC68HC908GZ60 target as an example. c. Expand HC08 and GZ Family and select MC68HC908GZ60 derivative. If your MCU is missing from the list, download a service pack for that device at http://www.freescale.com/codewarrior/ downloads. Device and Connection Dialog Box d. Select Full Chip Simulation as your default connection. e. Click Next the Project Parameters dialog box appears. Project Parameters Dialog Box 3

f. In Project name text box, the IDE supplies a default project name. Enter a project name of your choice. The IDE automatically creates a folder with the same name in specified location. The IDE automatically adds.mcp extension when it creates project. g. In Location text box enter location to store project, click Set to browse to folder location h. Select C as language to be supported by project. You can click Finish to accept defaults for remaining options. i. Click Next the Add Additional Files dialog box appears. This dialog box lets you browse folders and add or remove files to or from the project. Add Additional Files Dialog Box j. Click Next the Processor Expert dialog box appears. This dialog box let you specify whether you want your project configured to use Device Initialization or Processor Expert. 4

Processor Expert Dialog Box k. Select the None option button. l. Click Next the C/C++ Options dialog box appears. This dialog box allows you to specify C/C++ Options. C/C++ Options Dialog Box m. Select ANSI startup code as code, the New Project Wizard will place in your project as startup code. n. Select Small as memory model to use. o. Select None for floating point format to support. p. Click Finish the IDE creates your project according to your specifications; Project window appears, docked at left side of main window. 5

Project Window To undock project window, double-click the double gray lines. To re-dock window, right click in title tab and select Docked. 2. Select connection For this example, we specified Full Chip Simulation (FCS). a. To change MCU and connection, select Project > Change MCU Connection. b. Make sure Full Chip Simulation is selected in drop-down list. 3. Edit source code a. Double click main.c in Sources folder the Editor window opens displaying contents of file. main.c in Editor Window 6

b. Make changes to contents of main.c file, if desired. c. From the IDE main menu bar, select File > Save the IDE saves changes. 4. Add files if appropriate a. In the project window, select a folder. b. From IDE main menu bar, select Project > Add Files. The Select files to add dialog box appears. c. Navigate to the directory that contains file you want to add. d. Select the filename of file you want to add to project. e. Click Open the Project Messages window appear indicating access path has been added to target, if the path is new to the project. f. In the project window, filename of the added file appears under the selected folder. 5. Build project a. From IDE main menu bar, select Project > Make the IDE builds (assembles, compiles, and links) project; Error & Warnings window opens showing any error messages and warning messages Section C: Debugging Your Application 1. Start debugger a. Click on project window title bar to ensures that window is active project b. From main menu bar, select Project > Make. c. From main menu bar, select Project > Debug the True-Time Simulator & Real-Time Debugger window opens. 7

True-Time Simulator & Real-Time Debugger Window The Source and Assembly panes display the main.c program and code. 2. Set breakpoint a. Point at a C statement in Source window and right-click the Source context menu appears. b. Select Set Breakpoint a permanent breakpoint mark is set. 3. Run application a. From the True-Time Simulator & Real-Time Debugger window, select Run the Run menu appears. b. Select Start/Continue or click on Start/Continue icon the Program executes till the first breakpoint; Command pane displays program status 8

Debugger Simulator Command Pane 4. Click the Start/Continue icon the simulator resumes program execution. 5. Click the Halt icon the Simulator stops program execution. 6. From the True-Time Simulator & Real-Time Debugger window toolbar, select File > Exit to exit the debugger. 7. From IDE main Window toolbar, select File > Exit to exit the CodeWarrior IDE. Congratulations! You have successfully created, built, and run an HC08 application with the CodeWarrior for Microcontrollers V6.x software! 9

Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. CodeWarrior is a trademark or registered trademark of Freescale Semiconductor, Inc. in the United States and/or other countries. PROCESSOR EXPERT and EMBEDDED BEANS are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Copyright 2009 Freescale Semiconductor, Inc. All rights reserved. Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. Typical parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including Typicals, must be validated for each customer application by customer's technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semiconductor product could create a situation where personal injury or death may occur. Should Buyer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part. How to Contact Us Corporate Headquarters World Wide Web Technical Support Freescale Semiconductor, Inc. 6501 William Cannon Drive West Austin, Texas 78735 U.S.A. http://www.freescale.com/codewarrior http://www.freescale.com/support Revised: 24 September 2009 10

926-20997 Rev G