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

Similar documents
for StarCore DSP 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

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

for ColdFire Architectures V7.2 Quick Start

Controller Continuum. for Microcontrollers V6.3. Quick Start

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

for Freescale MPC55xx/MPC56xx Microcontrollers V2.10 Quick Start

CodeWarrior Development Studio

Component Development Environment Installation Guide

Converting Earlier Versions of CodeWarrior for StarCore DSPs Projects to Version

NOVPEK NetLeap User Guide

CodeWarrior Development Tools mwclearcase Plug-in User s Guide

CodeWarrior Development Studio for StarCore 3900FP DSP v SP3 Release Notes

Model-Based Design Toolbox

CodeWarrior Kernel-Aware Debug API

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

Using an External GCC Toolchain with CodeWarrior for Power Architecture

CodeWarrior Development Studio for Microcontrollers V10.x Getting Started Guide

Model Based Development Toolbox MagniV for S12ZVC Family of Processors

2005: 0.5 PQ-MDS-PCIEXP

NovTech User Guide Chameleon96

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

Processor Expert Software Microcontroller Driver Suite. Device Initialization User Guide

Electrode Graphing Tool IIC Driver Errata Microcontroller Division

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

Figure 1. Power Barrel Connector Requirements

Component Development Environment Getting Started Guide

Contents 2. Contents

USB Bootloader GUI User s Guide

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

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

SDR API Linux Installation

MPC7410 RISC Microprocessor Hardware Specifications Addendum for the MPC7410TxxnnnLE Series

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

MC56F825x/MC56F824x (2M53V) Chip Errata

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

Building U-Boot in CodeWarrior ARMv8

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

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

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

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

Asymmetric C++ Multicore Application for StarCore DSPs

Debugging Multicore StarCore DSP Applications with Eclipse

ColdFire Convert 1.0 Users Manual by: Ernest Holloway

SGTL5000 I 2 S DSP Mode

56F8300 BLDC Motor Control Application

PCB Layout Guidelines for the MC1321x

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

Software Defined Radio API Release Notes

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

Keil uvision 4 Kinetis Support for Freescale MQX RTOS Release Notes

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

Programming and Evaluation Tool for Serial EEPROMs

Vision Toolbox for MATLAB

Design Recommendations to Implement Compatibility Between the MC13783VK and the MC13783VK5

Figure 1. Simplicity Studio

MPC8349E-mITX-GP Board Errata

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

Apollo2 EVB Quick Start Guide

Processor Expert Software for i.mx Processors Version 1.0

Collecting Linux Trace without using CodeWarrior

Using the PowerQUICC II Auto-Load Feature

MTIM Driver for the MC9S08GW64

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

F&S Introduction to Eclipse

MPR121 Jitter and False Touch Detection

PowerQUICC HDLC Support and Example Code

Using the Project Board LCD Display at 3.3 volts

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

Suite56 Command Converter Server User s Guide

Getting Started with Freescale MQX RTOS for Kinetis SDK and Kinetis Design Studio IDE

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

Non-Windows Work Flow

AIOP Task Aware Debug

Using an I 2 C EEPROM During MSC8157 Initialization

CodeWarrior U-Boot Debugging

CodeWarrior Development Studio for Advanced Packet Processing v10.2

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

MPR083 Proximity Evaluation Kit User s Guide

etpu Automotive Function Set (Set 2)

CodeWarrior Development Studio for Advanced Packet Processing v10.3.1

Migrating from the MPC852T to the MPC875

PAS08QF80 User s Manual

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

MSC8144AMC-S Getting Started Guide

EchoRemote Evaluation Software for Windows

CodeWarrior Development Studio for Power Architecture Processors Getting Started Guide

Functional Differences Between the DSP56307 and DSP56L307

KIT33972AEWEVBE Evaluation Board

VortiQa Enterprise Quick Start Guide

PAS08QF5264 User s Manual

Pad Configuration and GPIO Driver for MPC5500 Martin Kaspar, EMEAGTM, Roznov Daniel McKenna, MSG Applications, East Kilbride

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

This document explains how to install the RSL10 EDK software, connect the hardware, and points you to more information to start using this product.

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

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

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

Use of PGA on MC56F800x Interaction of PDB, PGA and ADC

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

Transcription:

CodeWarrior Development Studio for StarCore DSP SC3900FP Architectures Quick Start for the Windows Edition SYSTEM REQUIREMENTS Hardware Operating System Disk Space Intel Pentium 4 processor, 2 GHz or faster, Intel Xeon, Intel Core, AMD Athlon 64, AMD Opteron, or later 2 GB RAM CD-ROM drive for CD installation Microsoft Mouse compliant pointing device Internet connectivity for web downloads and update access Microsoft Windows 7 (32/64-bit) Home Premium, Professional, Ultimate Operating System or Windows Server 2012 R2 2 GB, additional space required during installation This Quick Start explains how to install the CodeWarrior software on a Windows PC. Also, the document explains how to use this software to create, build, and debug a simple StarCore DSP project. In the procedures that follow, advanced users can use numbered steps. Novices may use the more detailed instructions provided by substeps. 1

Section A: Installing Software CodeWarrior Eclipse usage on a Microsoft Windows system: Administrator rights are required to install CodeWarrior software on Microsoft Windows 7 systems, since the installer copies files into the System folder. The default CodeWarrior installation folder is C:\Freescale\CW_SC_3900FP_v10.x.x. To protect against malware, Windows 7 do not allow normal processes to change files in the Program Files folder; therefore, you must have administrator rights to install and run CodeWarrior software from this location. If you will be running CodeWarrior software with a non-administrative user account, then you need to install CodeWarrior software in another folder (e.g., C:\Users\Freescale). In addition, your project workspace must be created in a folder to which you have full access rights. 1. Install the CodeWarrior software If you are installing from a CD, insert the Development Studio for StarCore CD into the CD-ROM drive auto install begins, proceed directly to substep b. a. Run the installer the install wizard appears. b. Follow the wizard s on-screen instructions to install the CodeWarrior software. When installation completes, the InstallShield Wizard Completed page appears. c. Check the Display Documentation box. d. Click Finish. The wizard closes. A browser starts and displays the Documentation page. This page contains tabs that group the CodeWarrior documentation into categories. 2

Documentation Page 2. Browse the CodeWarrior documentation. a. Click any tab in the Documentation page. A page appears that lists and briefly describes each document in the chosen category. b. To read a document listed in the selected page, click the document s link. c. When finished, exit the browser. You have successfully installed CodeWarrior Development Studio for StarCore DSPs. For licensing and activation of your CodeWarrior Development Studio for Freescale StarCore DSP Architectures, refer to the CodeWarrior Development Suite Quick Start. Save the license file, license.dat to the installation root folder, the default is CWInstallDir\SC, where CWInstallDir is the path to your CodeWarrior installation. 3

Section B: Creating, Building, and Debugging a Project 1. Launch the CodeWarrior IDE a. Select Start > Programs > Freescale CodeWarrior > CW for StarCore < number> > CodeWarrior, where number is the version number of your product. The Workspace Launcher dialog box appears. Workspace Launcher Dialog Box b. If you wish to change the location of your project's Workspace, click Browse to select a new path. The Select Workspace Directory dialog box appears. Select Workspace Directory Dialog Box c. Select the required folder or click Make New Folder to create a new folder for storing your projects. d. Click OK. The Select Workspace Directory dialog box closes. 4

e. Click OK to store the project at the specified location. CodeWarrior launches and displays the Welcome page. Welcome Page The Welcome page is displayed when CodeWarrior is run for the first time. You can always return to this page by selecting Help > Welcome from the CodeWarrior IDE menu bar. 2. Create a new project a. From CodeWarrior IDE menu bar, select File > New > CodeWarrior Bareboard Project Wizard. The CodeWarrior Bareboard Project Wizard dialog box appears. b. In the Project name field, type B4860ISSDemo. 5

Create a CodeWarrior Bareboard Project Page c. Click Next. The Processor page appears. d. Expand the Qonverge Family tree control and select B4860. e. Select the Application option from the Project Output group. 6

Processor Page f. Click Next. The Debug Target Settings page appears. g. Select the Simulator option, from Debugger Connection Types group, to include simulator launch configurations in your project. h. Select B4860ISS, from the Board drop-down list. i. Select the launch configurations, that you want to include in your project and the corresponding remote system configuration using Connection dropdown list. 7

Debug Target Settings Page j. Click Next. The Build Settings page appears. k. Select the programming language for this project. The language option selected on this page also sets up the default compiler/linker options for the toolchain. l. Select a toolchain from the Toolchain group. m. Select a Hardware or Software option from the Floating Point dropdown list. n. Check the Fused multiply and accumulate checkbox to enable fused multiply and add generation option. The option is only applicable if hardware floating point support is enabled on the SC3900FP compiler. For more details about exceptions to hardware and software floating point support, refer the StarCore C/C++ Compiler User Guide. 8

Build Settings Page o. Click Finish. The newly created project appears in the CodeWarrior Projects view. CodeWarrior Projects View 3. Build the program 9

a. Select the project in the CodeWarrior Projects view. b. Select Project > Build Project to build the project. Alternatively, rightclick on the project in the CodeWarrior Projects view and select Build Project from the context menu that appears. The IDE compiles the project's source code files and links resulting object code into an ELF-format executable file. B4860 ISS simulator is supported on both Linux 64-bit and Windows operating system. To debug the project on a Linux PC, you need to launch the simulator remotely. Follow the instructions given in Step 4, to launch the simulator on a Linux PC. 4. Launch simulator on a Linux PC a. Copy and extract the contents of the sc_swsim_linux64.tgz archive to a Linux PC (64-bit). The sc_swsim_linux64.tgz archive is available in the CWInstallDir\SC\bin\linux64 folder, where CWInstallDir is the path to your CodeWarrior installation. b. Navigate to the sc_swsim_linux64/linux64 folder. c. Start ccssim2 in a terminal window../ccssim2 -port 41475 For more information about the optional flags supported by ccssim2, refer to the StarCore Simulator User Guide. 5. Debug the program a. From the CodeWarrior IDE menu bar, select Run > Debug Configurations. The Debug Configurations dialog box appears. b. From the left pane of this dialog box, expand the CodeWarrior group and select B4860ISSDemo_Debug_B4860_Download_core00. The Main page appears in the right pane. c. Select a remote system from the Connection dropdown list. 10

Debug Configurations Dialog Box d. Click Debug. The Debug perspective appears and the execution halts at the first statement of main(). Debug Perspective Marker Bar 11

e. Click on the thread in the Debug view. The program counter icon statement to be executed. on the marker bar points to the next f. In the Debug view, click Step Over. The debugger executes the current statement and halts at next statement. 6. Set breakpoint and execute program to breakpoint. a. In the editor area, scroll to a line of command statement, for example: if (prod!=prod_ref) b. Double-click on the marker bar next to the statement. The breakpoint indicator (blue dot) appears next to the statement. c. In the Debug view, click Resume. The debugger executes all statements up to but not including the breakpoint statement. 7. Control program a. In the Debug view, click Step Over. The debugger executes the breakpoint statement and halts at the next statement. b. In the Debug view, click Resume. The program outputs to the Console window at the bottom. c. In the Debug view, click Terminate. The debug session ends. 8. Close the Console window a. Select File > Exit. The CodeWarrior IDE window closes. Congratulations! You have created, built, and debugged a StarCore DSP Simulator project using CodeWarrior! 12

Freescale, the Freescale logo, CodeWarrior, PowerQUICC, QorIQ, Qorivva, StarCore are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. QorIQ Qonverge, QUICC Engine are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. The Power Architecture and Power.org word marks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org. 2009 2015 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: 23 November 2015