ccs getting started guide

Upload: kayamkha

Post on 06-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/3/2019 Ccs Getting Started Guide

    1/96

    C o d e C o m p o s e r S t u d i o D e v e l o p m e n t T o o l s v 3 . 1

    G e t t i n g S t a r t e d G u i d e

    L i t e r a t u r e N u m b e r : S P R U 5 0 9 F

    M a y 2 0 0 5

  • 8/3/2019 Ccs Getting Started Guide

    2/96

    IMPORTANT NOTICE

    Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications,

    enhancements, improvements, and other changes to its products and services at any time and to discontinue

    any product or service without notice. Customers should obtain the latest relevant information before placing

    orders and should verify that such information is current and complete. All products are sold subject to TIs terms

    and conditions of sale supplied at the time of order acknowledgment.

    TI warrants performance of its hardware products to the specifications applicable at the time of sale in

    accordance with TIs standard warranty. Testing and other quality control techniques are used to the extent TI

    deems necessary to support this warranty. Except where mandated by government requirements, testing of all

    parameters of each product is not necessarily performed.

    TI assumes no liability for applications assistance or customer product design. Customers are responsible for

    their products and applications using TI components. To minimize the risks associated with customer products

    and applications, customers should provide adequate design and operating safeguards.

    TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right,

    copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process

    in which TI products or services are used. Information published by TI regarding third-party products or services

    does not constitute a license from TI to use such products or services or a warranty or endorsement thereof.Use of such information may require a license from a third party under the patents or other intellectual property

    of the third party, or a license from TI under the patents or other intellectual property of TI.

    Reproduction of information in TI data books or data sheets is permissible only if reproduction is without

    alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction

    of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for

    such altered documentation.

    Resale of TI products or services with statements different from or beyond the parameters stated by TI for that

    product or service voids all express and any implied warranties for the associated TI product or service and

    is an unfair and deceptive business practice. TI is not responsible or liable for any such statements.

    Following are URLs where you can obtain information on other Texas Instruments products and application

    solutions:

    Products Applications

    Amplifiers amplifier.ti.com Audio www.ti.com/audio

    Data Converters dataconverter.ti.com Automotive www.ti.com/automotive

    DSP dsp.ti.com Broadband www.ti.com/broadband

    Interface interface.ti.com Digital Control www.ti.com/digitalcontrol

    Logic logic.ti.com Military www.ti.com/military

    Power Mgmt power.ti.com Optical Networking www.ti.com/opticalnetwork

    Microcontrollers microcontroller.ti.com Security www.ti.com/security

    Telephony www.ti.com/telephony

    Video & Imaging www.ti.com/video

    Wireless www.ti.com/wireless

    Mailing Address: Texas Instruments

    Post Office Box 655303 Dallas, Texas 75265

    Copyright 2005, Texas Instruments Incorporated

    http://amplifier.ti.com/http://www.ti.com/audiohttp://dataconverter.ti.com/http://www.ti.com/automotivehttp://dsp.ti.com/http://www.ti.com/broadbandhttp://interface.ti.com/http://www.ti.com/digitalcontrolhttp://logic.ti.com/http://www.ti.com/militaryhttp://power.ti.com/http://www.ti.com/opticalnetworkhttp://microcontroller.ti.com/http://www.ti.com/securityhttp://www.ti.com/telephonyhttp://www.ti.com/videohttp://www.ti.com/wirelesshttp://www.ti.com/wirelesshttp://www.ti.com/videohttp://www.ti.com/telephonyhttp://www.ti.com/securityhttp://www.ti.com/opticalnetworkhttp://www.ti.com/militaryhttp://www.ti.com/digitalcontrolhttp://www.ti.com/broadbandhttp://www.ti.com/automotivehttp://www.ti.com/audiohttp://microcontroller.ti.com/http://power.ti.com/http://logic.ti.com/http://interface.ti.com/http://dsp.ti.com/http://dataconverter.ti.com/http://amplifier.ti.com/
  • 8/3/2019 Ccs Getting Started Guide

    3/96

    C o n t e n t s

    P r e f a c e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 I n t r o d u c t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1

    1 . 1 W e l c o m e t o t h e W o r l d o f e X p r e s s D S P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 21 . 2 D e v e l o p m e n t F l o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3

    2 G e t t i n g S t a r t e d Q u i c k l y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 52 . 1 L a u n c h i n g t h e C o d e C o m p o s e r S t u d i o D e v e l o p m e n t T o o l s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 6

    2 . 1 . 1 I m p o r t a n t I c o n s U s e d i n C o d e C o m p o s e r S t u d i o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 62 . 2 C r e a t i n g a N e w P r o j e c t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 62 . 3 B u i l d i n g Y o u r P r o g r a m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 72 . 4 L o a d i n g Y o u r P r o g r a m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 7

    2 . 5 B a s i c D e b u g g i n g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 72 . 5 . 1 G o t o M a i n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 72 . 5 . 2 U s i n g B r e a k p o i n t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 72 . 5 . 3 S o u r c e S t e p p i n g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 72 . 5 . 4 V i e w i n g V a r i a b l e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 82 . 5 . 5 O u t p u t W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 82 . 5 . 6 S y m b o l B r o w s e r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 8

    2 . 6 I n t r o d u c t i o n t o H e l p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 8

    3 T a r g e t a n d H o s t S e t u p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 93 . 1 S e t t i n g U p t h e T a r g e t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 0

    3 . 1 . 1 C o d e C o m p o s e r S t u d i o S e t u p U t i l i t y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 03 . 1 . 2 P a r a l l e l D e b u g M a n a g e r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 33 . 1 . 3 C o n n e c t / D i s c o n n e c t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 3

    3 . 2 H o s t I D E C u s t o m i z a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 43 . 2 . 1 D e f a u l t C o l o r s a n d F a u l t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 43 . 2 . 2 D e f a u l t K e y b o a r d S h o r t c u t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 43 . 2 . 3 O t h e r I D E C u s t o m i z a t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 5

    4 C o d e C r e a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 74 . 1 C o n f i g u r i n g P r o j e c t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 8

    4 . 1 . 1 C r e a t i n g a P r o j e c t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 84 . 1 . 2 P r o j e c t C o n f i g u r a t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 0

    4 . 1 . 3 P r o j e c t D e p e n d e n c i e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 14 . 1 . 4 M a k e f i l e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 24 . 1 . 5 S o u r c e C o n t r o l I n t e g r a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 3

    4 . 2 T e x t E d i t o r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 44 . 2 . 1 V i e w i n g a n d E d i t i n g C o d e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 44 . 2 . 2 C u s t o m i z i n g t h e C o d e W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 44 . 2 . 3 U s i n g t h e E d i t o r ' s T e x t P r o c e s s i n g F u n c t i o n a l i t y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 54 . 2 . 4 S e t t i n g A u t o - S a v e D e f a u l t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 64 . 2 . 5 A u t o c o m p l e t i o n , T o o l t i p s a n d V a r i a b l e W a t c h i n g ( C o d e S e n s e ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 7

    C o n t e n t s S P R U 5 0 9 F M a y 2 0 0 5 3

  • 8/3/2019 Ccs Getting Started Guide

    4/96

    4 . 2 . 6 U s i n g a n E x t e r n a l E d i t o r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 84 . 3 C o d e G e n e r a t i o n T o o l s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 8

    4 . 3 . 1 C o d e D e v e l o p m e n t F l o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 84 . 3 . 2 P r o j e c t B u i l d O p t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 84 . 3 . 3 C o m p i l e r O v e r v i e w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 0

    4 . 3 . 4 A s s e m b l y L a n g u a g e D e v e l o p m e n t T o o l s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 04 . 3 . 5 A s s e m b l e r O v e r v ie w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 04 . 3 . 6 L i n k e r O v e r v i e w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 14 . 3 . 7 C / C + + D e v e l o p m e n t T o o l s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1

    4 . 4 B u i l d i n g Y o u r C o d e C o m p o s e r S t u d i o P r o j e c t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 24 . 4 . 1 F r o m C o d e C o m p o s e r S t u d i o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 24 . 4 . 2 E x t e r n a l M a k e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 24 . 4 . 3 C o m m a n d L i n e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3

    4 . 5 A v a i l a b l e F o u n d a t i o n S o f t w a r e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 34 . 5 . 1 D S P / B I O S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 34 . 5 . 2 C h i p S u p p o r t L i b r a r y ( C S L ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 34 . 5 . 3 B o a r d S u p p o r t L i b r a r y ( B S L ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 44 . 5 . 4 D S P L i b r a r y ( D S P L I B ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 44 . 5 . 5 I m a g e / V i d e o P r o c e s s i n g L i b r a r y ( I M G L I B ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 54. 5 . 6 T M S 3 2 0 D S P A l g o r i t h m S t a n d a r d C o m p o n e n t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 64 . 5 . 7 R e f e r e n c e F r a m e w o r k s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 7

    4 . 6 A u t o m a t i o n ( f o r P r o j e c t M a n a g e m e n t ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 94 . 6 . 1 U s i n g G e n e r a l E x t e n s i o n L a n g u a g e ( G E L ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 94 . 6 . 2 S c r i p t i n g U t i l i t y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 0

    5 D e b u g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 15 . 1 S e t t i n g U p Y o u r E n v i r o n m e n t f o r D e b u g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2

    5 . 1 . 1 S e t t i n g C u s t o m D e b u g O p t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 25 . 1 . 2 S i m u l a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 45 . 1 . 3 M e m o r y M a p p i n g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 45 . 1 . 4 P i n C o n n e c t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 65 . 1 . 5 P o r t C o n n e c t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 75 . 1 . 6 P r o g r a m L o a d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 8

    5 . 2 B a s i c D e b u g g i n g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 95 . 2 . 1 R u n n i n g / S t e p p i n g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 05 . 2 . 2 B r e a k p o i n t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 15 . 2 . 3 P r o b e P o i n t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3

    5 . 2 . 4 W a t c h W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 55 . 2 . 5 M e m o r y W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 75 . 2 . 6 R e g i s t e r W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 85 . 2 . 7 D i s a s s e m b l y / M i x e d M o d e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 95 . 2 . 8 C a l l S t a c k . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 95 . 2 . 9 S y m b o l B r o w s e r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 05 . 2 . 1 0 C o m m a n d W i nd o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 0

    5 . 3 A d v a n c e d D e b u g g i n g F e a t u r e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 15 . 3 . 1 A d v a n c e d E v e n t T r i g g e r i n g ( A E T ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1

    C o n t e n t s 4 S P R U 5 0 9 F M a y 2 0 0 5

  • 8/3/2019 Ccs Getting Started Guide

    5/96

    5 . 4 R e a l - T i m e D e b u g g i n g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 35 . 4 . 1 R e a l - T i m e M o d e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 35 . 4 . 2 R u d e R e a l - T i m e M o d e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 45 . 4 . 3 R e a l - T i m e D a t a E x c h a n g e ( R T D X ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4

    5 . 5 A u t o m a t i o n ( f o r D e b u g ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 8

    5 . 5 . 1 U s i n g t h e G e n e r a l E x t e n s i o n L a n g u a g e ( G E L ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 85 . 5 . 2 S c r i p t i n g U t i l i t y f o r D e b u g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 8

    5 . 6 R e s e t O p t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 85 . 6 . 1 T a r g e t R e s e t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 85 . 6 . 2 E m u l a t o r R e s e t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 8

    6 A n a l y z e / T u n e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 96 . 1 A p p l i c a t i o n C o d e A n a l y s i s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 0

    6 . 1 . 1 D a t a V i s u a l i z a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 06 . 1 . 2 S i m u l a t o r A n a l y s is . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 16 . 1 . 3 E m u l a t o r A n a l y s i s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1

    6 . 1 . 4 D S P / B I O S R e a l - T i m e A n a l y s is ( R T A ) T o o l s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 26 . 1 . 5 C o d e C o v e r a g e a n d M u l t i - E v e n t P r o f i l e r T o o l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4

    6 . 2 A p p l i c a t i o n C o d e T u n i n g ( A C T ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 46 . 2 . 1 T u n i n g D a s h b o a r d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 46 . 2 . 2 C o m p i l e r C o n s u l t a n t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 76 . 2 . 3 C o d e S i z e T u n e ( C S T ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 76 . 2 . 4 C a c h e T u n e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 8

    7 A d d i t i o n a l T o o l s , H e l p , a n d T i p s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 17 . 1 C o m p o n e n t M a n a g e r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2

    7 . 1 . 1 O p e n i n g C o m p o n e n t M a n a g e r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 37 . 1 . 2 M u l t i p l e V e r s i o n s o f C o d e C o m p o s e r S t u d i o . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3

    7 . 2 U p d a t e A d v i s o r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 37 . 2 . 1 R e g i s t e r i n g U p d a t e A d v i s o r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 37 . 2 . 2 C h e c k i n g f o r T o o l U p d a t e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 37 . 2 . 3 A u t o m a t i c a l l y C h e c k i n g f o r T o o l U p d a t e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 47 . 2 . 4 U n i n s t a l l i n g t h e U p d a t e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4

    7 . 3 A d d i t i o n a l H e l p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 47 . 3 . 1 O n l i n e H e l p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 47 . 3 . 2 O n l i n e T u t o r i a l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4

    C o n t e n t s S P R U 5 0 9 F M a y 2 0 0 5 5

  • 8/3/2019 Ccs Getting Started Guide

    6/96

    L i s t o f F i g u r e s

    1 - 1 e X p r e s s D S P S o f t w a r e a n d D e v e l o p m e n t T o o l s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 21 - 2 S i m p l i f i e d C o d e C o m p o s e r S t u d i o D e v e l o p m e n t F l o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 32 - 1 I c o n s o n t h e C o d e C o m p o s e r S t u d i o T o o l b a r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 63 - 1 S t a n d a r d S e t u p C o n f i g u r a t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 0

    3 - 2 G E L F i l e C o n f i g u r a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 23 - 3 P a r a l l e l D e b u g M a n a g e r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 33 - 4 M o d i f y i n g K e y b o a r d S h o r t c u t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 44 - 1 P r o j e c t C r e a t i o n W i z a r d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 84 - 2 C o d e C o m p o s e r S t u d i o C o n t r o l W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 94 - 3 A d d F i l e s t o P r o j e c t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 94 - 4 C o n f i g u r a t i o n T o o l b a r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 04 - 5 A d d P r o j e c t C o n f i g u r a t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 14 - 6 P r o j e c t C o n f i g u r a t i o n D e p e n d e n c i e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 24 - 7 S o u r c e C o n t r o l I n t e g r a t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 34 - 8 E l e m e n t s i n t h e S o u r c e C o d e W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 44 - 9 U s i n g R e g u l a r E x p r e s s i o n s w i t h t h e T e x t E d i t o r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 64 - 1 0 S e l e c t i v e D i s p l a y . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 64 - 1 1 C o d e S e n s e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 74 - 1 2 C o d e D e v e l o p m e n t F l o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 84 - 1 3 B u i l d O p t i o n s D i a l o g B o x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 94 - 1 4 T M S 3 2 0 D S P A l g o r i t h m S t a n d a r d E l e m e n t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 64 - 1 5 R e f e r e n c e F r a m e w o r k E l e m e n t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 84 - 1 6 C u s t o m G E L F i l e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 05 - 1 D i s a s s e m b l y S t y l e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 45 - 2 M e m o r y M a p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 55 - 3 P i n C o n n e c t T o o l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 75 - 4 P o r t C o n n e c t T o o l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 75 - 5 P o r t A d d r e s s C o n n e c t i o n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 75 - 6 D a t a O f f s e t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 95 - 7 T o o l b a r I c o n s f o r R u n n i n g a n d D e b u g g i n g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 05 - 8 F i l e I / O D i a l o g. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 35 - 9 D a t a F i l e C o n t r o l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 45 - 1 0 A d d i n g Y o u r F i l e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 45 - 1 1 P r o b e P o i n t T a b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 45 - 1 2 W a t c h L o c a l s T a b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 55 - 1 3 S p e c i f y i n g a V a r i a b l e t o W a t c h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 65 - 1 4 W a t c h E l e m e n t V a l u e s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 65 - 1 5 M e m o r y W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 75 - 1 6 M e m o r y W i n d o w O p t i o n s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 75 - 1 7 R e g i s t e r W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 85 - 1 8 E d i t i n g a R e g i s t r y V a l u e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 8

    5 - 1 9 D i s a s s e m b l y W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 95 - 2 0 C a l l S t a c k W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 95 - 2 1 S y m b o l B r o w s e r W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 05 - 2 2 C o m m a n d W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 05 - 2 3 E v e n t A n a l y s i s W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 25 - 2 4 E v e n t S e q u e n c e r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 35 - 2 5 R T D X D a t a F l o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 55 - 2 6 R T D X D i a g n o s t i c s W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 65 - 2 7 R T D X C o n f i g u r a t i o n W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 65 - 2 8 R T D X C h a n n e l V i e w e r W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 66 - 1 S a m p l e G r a p h P r o p e r t i e s D i a l o g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 0

    L i s t o f F i g u r e s 6 S P R U 5 0 9 F M a y 2 0 0 5

  • 8/3/2019 Ccs Getting Started Guide

    7/96

    6 - 2 E x a m p l e G r a p h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 16 - 3 R e a l - T i m e C a p t u r e a n d A n a l y s i s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 26 - 4 D S P / B I O S R T A T o o l b a r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 26 - 5 T u n i n g D a s h b o a r d A d v i c e W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 56 - 6 G o a l s W i n d o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 66 - 7 C o d e S i z e T u n e A d v i c e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 8

    6 - 8 C a c h e T u n e T o o l . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 97 - 1 C o m p o n e n t M a n a g e r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 27 - 2 U p d a t e A d v i s o r W e b S e t t i n g s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 4

    L i s t o f F i g u r e s S P R U 5 0 9 F M a y 2 0 0 5 7

  • 8/3/2019 Ccs Getting Started Guide

    8/96

    L i s t o f T a b l e s

    4 - 1 C o d e W r i g h t T e x t E d i t o r : A Q u i c k R e f e r e n c e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 55 - 1 G E L F u n c t i o n s f o r M e m o r y M a p s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 6

    L i s t o f T a b l e s 8 S P R U 5 0 9 F M a y 2 0 0 5

  • 8/3/2019 Ccs Getting Started Guide

    9/96

    P r e f a c e S P R U 5 0 9 F M a y 2 0 0 5

    R e a d T h i s F i r s t

    A b o u t T h i s M a n u a l

    T o g e t s t a r t e d w i t h C o d e C o m p o s e r S t u d i o D e v e l o p m e n t T o o l s , r e v i e w t h e f i r s t t w o s e c t i o n s o f t h i sb o o k . T h e r e m a i n i n g s e c t i o n s c o n t a i n m o r e d e t a i l e d i n f o r m a t i o n o n s p e c i f i c p r o c e s s e s a n d t o o l s . T o d e t e r m i n e w h e t h e r y o u c a n u t i l i z e t h e s e f e a t u r e s , s e e t h e o n l i n e h e l p p r o v i d e d w i t h t h e C o d e C o m p o s e r S t u d i o i n s t a l l a t i o n .

    T r a d e m a r k s

    C o d e C o m p o s e r S t u d i o , C C S t u d i o , D S P / B I O S , P r o b e P o i n t ( s ) , R T D X , T M S 3 2 0 C 2 0 0 0 , T M S 3 2 0 C 6 0 0 0 , C 6 0 0 0 , T M S 3 2 0 C 6 2 x , T M S 3 2 0 C 6 4 x , T M S 3 2 0 C 6 7 x , C 6 2 x , C 6 4 x , C 6 7 x , T M S 3 2 0 C 5 0 0 0 , T M S 3 2 0 C 5 5 x , C 5 5 x , a n d C 5 4 x a r e t r a d e m a r k s o f T e x a s I n s t r u m e n t s I n c o r p o r a t e d . T h e T e x a s I n s t r u m e n t s l o g o a n d T e x a s I n s t r u m e n t s a r e r e g i s t e r e d t r a d e m a r k s o f T e x a s I n s t r u m e n t s I n c o r p o r a t e d .

    I n t e l , P e n t i u m a r e t r a d e m a r k s o f I n t e l C o r p o r a t i o n o r i t s s u b s i d i a r i e s i n t h e U n i t e d S t a t e s a n d o t h e r c o u n t r i e s .

    W i n d o w s a n d W i n d o w s N T a r e r e g i s t e r e d t r a d e m a r k s o f M i c r o s o f t C o r p o r a t i o n .

    A l l t r a d e m a r k s a r e t h e p r o p e r t y o f t h e i r r e s p e c t i v e o w n e r s .

    R e a d T h i s F i r s t S P R U 5 0 9 F M a y 2 0 0 5 9

  • 8/3/2019 Ccs Getting Started Guide

    10/96

    www.ti.com

    T r a d e m a r k s

    S P R U 5 0 9 F M a y 2 0 0 5 1 0 R e a d T h i s F i r s t

  • 8/3/2019 Ccs Getting Started Guide

    11/96

    C h a p t e r 1 S P R U 5 0 9 F M a y 2 0 0 5

    I n t r o d u c t i o n

    T h i s s e c t i o n i n t r o d u c e s T I s e X p r e s s D S P t e c h n o l o g y i n i t i a t i v e . I t a l s o i n c l u d e s a s i m p l i f i e d d e v e l o p m e n t f l o w f o r C o d e C o m p o s e r S t u d i o d e v e l o p m e n t t o o l s .

    T o p i c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P a g e

    1 . 1 W e l c o m e t o t h e W o r l d o f e X p r e s s D S P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2

    1 . 2 D e v e l o p m e n t F l o w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3

    I n t r o d u c t i o n 1 1S P R U 5 0 9 F M a y 2 0 0 5

  • 8/3/2019 Ccs Getting Started Guide

    12/96

    www.ti.com

    1 . 1 W e l c o m e t o t h e W o r l d o f e X p r e s s D S P

    Compliantplugin

    Compliantplugin

    Programbuild debug

    Programanalysis

    Realtime

    Code Composer StudioTM dev tools

    XDS560TM emulator

    Host computer

    RTDXTM

    JTAG

    Compliantalgorithm software

    Application

    TMS320TM DSP Algorithm Standard

    algorithmCompliant Compliant

    algorithm

    Signal processing libraries

    DriversDSP/BIOSTM

    Application/developer kits

    TMS320TM DSP

    Embedded emulationcomponents

    Reference Frameworks

    W e l c o m e t o t h e W o r l d o f e X p r e s s D S P

    T I h a s a v a r i e t y o f d e v e l o p m e n t t o o l s a v a i l a b l e t h a t e n a b l e q u i c k m o v e m e n t t h r o u g h t h e d i g i t a l s i g n a l p r o c e s s o r ( D S P ) b a s e d a p p l i c a t i o n d e s i g n p r o c e s s f r o m c o n c e p t , t o c o d e / b u i l d , t h r o u g h d e b u g a n a l y s i s , t u n i n g , a n d o n t o t e s t i n g . M a n y o f t h e t o o l s a r e p a r t o f T I s r e a l - t i m e e X p r e s s D S P s o f t w a r e a n d

    d e v e l o p m e n t t o o l s t r a t e g y , w h i c h i s v e r y h e l p f u l i n q u i c k l y g e t t i n g s t a r t e d a s w e l l a s s a v i n g v a l u a b l e t i m e i n t h e d e s i g n p r o c e s s . T I s r e a l - t i m e e X p r e s s D S P S o f t w a r e a n d D e v e l o p m e n t T o o l s t r a t e g y i n c l u d e s t h r e e c o m p o n e n t s t h a t a l l o w d e v e l o p e r s t o u s e t h e f u l l p o t e n t i a l o f T M S 3 2 0 D S P s :

    P o w e r f u l D S P - i n t e g r a t e d d e v e l o p m e n t t o o l s i n C o d e C o m p o s e r S t u d i o

    e X p r e s s D S P S o f t w a r e , i n c l u d i n g :

    S c a l a b l e , r e a l - t i m e s o f t w a r e f o u n d a t i o n : D S P / B I O S k e r n e l

    S t a n d a r d s f o r a p p l i c a t i o n i n t e r o p e r a b i l i t y a n d r e u s e : T M S 3 2 0 D S P A l g o r i t h m S t a n d a r d

    D e s i g n - r e a d y c o d e t h a t i s c o m m o n t o m a n y a p p l i c a t i o n s t o g e t y o u s t a r t e d q u i c k l y o n D S P d e s i g n : e X p r e s s D S P R e f e r e n c e F r a m e w o r k s

    A g r o w i n g b a s e o f T I D S P - b a s e d p r o d u c t s f r o m T I s D S P T h i r d P a r t y N e t w o r k , i n c l u d i n g e X p r e s s D S P - c o m p l i a n t p r o d u c t s t h a t c a n b e e a s i l y i n t e g r a t e d i n t o s y s t e m s

    F i g u r e 1 - 1 . e X p r e s s D S P S o f t w a r e a n d D e v e l o p m e n t T o o l s

    I n t r o d u c t i o n 1 2 S P R U 5 0 9 F M a y 2 0 0 5

  • 8/3/2019 Ccs Getting Started Guide

    13/96

    www.ti.com

    1 . 2 D e v e l o p m e n t F l o w

    Designconceptualplanning

    Code & buildcreate project,

    write source code,configuration file

    Syntax checking,

    logging, etc.probe points,

    Debug

    Analyze and Tune

    D e v e l o p m e n t F l o w

    T h e d e v e l o p m e n t f l o w o f m o s t D S P - b a s e d a p p l i c a t i o n s c o n s i s t s o f f o u r b a s i c p h a s e s : a p p l i c a t i o n d e s i g n ,c o d e c r e a t i o n , d e b u g , a n d a n a l y s i s / t u n i n g . T h i s u s e r s g u i d e w i l l p r o v i d e b a s i c p r o c e d u r e s a n d t e c h n i q u e s in p r o g r a m d e v e l o p m e n t f l o w u s i n g C o d e C o m p o s e r S t u d i o .

    F i g u r e 1 - 2 . S i m p l i f i e d C o d e C o m p o s e r S t u d i o D e v e l o p m e n t F l o w

    I n t r o d u c t i o n S P R U 5 0 9 F M a y 2 0 0 5 1 3

  • 8/3/2019 Ccs Getting Started Guide

    14/96

    www.ti.com

    D e v e l o p m e n t F l o w

    S P R U 5 0 9 F M a y 2 0 0 5 1 4 I n t r o d u c t i o n

  • 8/3/2019 Ccs Getting Started Guide

    15/96

    C h a p t e r 2 S P R U 5 0 9 F M a y 2 0 0 5

    G e t t i n g S t a r t e d Q u i c k l y

    T h i s s e c t i o n i n t r o d u c e s s o m e o f t h e b a s i c f e a t u r e s a n d f u n c t i o n a l i t i e s i n C o d e C o m p o s e r S t u d i o s o y o u c a n c r e a t e a n d b u i l d s i m p l e p r o j e c t s . E x p e r i e n c e d u s e r s c a n p r o c e e d t o t h e f o l l o w i n g s e c t i o n s f o r m o r e i n - d e p t h e x p l a n a t i o n s o f C o d e C o m p o s e r S t u d i o s v a r i o u s f e a t u r e s .

    T o p i c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P a g e

    2 . 1 L a u n c h i n g t h e C o d e C o m p o s e r S t u d i o D e v e l o p m e n t T o o l s . . . . . . . . . . . . 1 62 . 2 C r e a t i n g a N e w P r o j e c t . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 62 . 3 B u i l d i n g Y o u r P r o g r a m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 72 . 4 L o a d i n g Y o u r P r o g r a m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 72 . 5 B a s i c D e b u g g i n g . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 72 . 6 I n t r o d u c t i o n t o H e l p . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 8

    G e t t i n g S t a r t e d Q u i c k l y 1 5S P R U 5 0 9 F M a y 2 0 0 5

  • 8/3/2019 Ccs Getting Started Guide

    16/96

    www.ti.com

    2 . 1 L a u n c h i n g t h e C o d e C o m p o s e r S t u d i o D e v e l o p m e n t T o o l s

    2 . 1 . 1 I m p o r t a n t I c o n s U s e d i n C o d e C o m p o s e r S t u d i o

    Launches Code Composer Studio

    Rebuilds the project

    Builds the project incrementally

    Halts execution

    Toggles breakpoint

    Runs project

    Single steps project

    Step out

    Step over

    2 . 2 C r e a t i n g a N e w P r o j e c t

    L a u n c h i n g t h e C o d e C o m p o s e r S t u d i o D e v e l o p m e n t T o o l s

    T o l a u n c h C o d e C o m p o s e r S t u d i o I D E f o r t h e f i r s t t i m e , c l i c k t h e i c o n ( s h o w n b e l o w ) o n y o u r d e s k t o p . A s i m u l a t o r i s a u t o m a t i c a l l y c o n f i g u r e d b y d e f a u l t . T o c o n f i g u r e C o d e C o m p o s e r S t u d i o f o r a s p e c i f i c t a r g e t , s e e C h a p t e r 3 f o r m o r e i n f o r m a t i o n .

    T h e s e i c o n s w i l l b e r e f e r r e d t o t h r o u g h o u t t h i s m a n u a l .

    F i g u r e 2 - 1 . I c o n s o n t h e C o d e C o m p o s e r S t u d i o T o o l b a r

    T o c r e a t e a w o r k i n g p r o j e c t , f o l l o w t h e s e s t e p s :

    1 . I f y o u i n s t a l l e d C o d e C o m p o s e r S t u d i o i n C : \ C C S t u d i o _ v 3 . 1 , c r e a t e a f o l d e r c a l l e d p r a c t i c e i n t h e C : \ C C S t u d i o _ v 3 . 1 \ m y p r o j e c t s f o l d e r .

    2 . C o p y t h e c o n t e n t s o f C : \ C C S t u d i o _ v 3 . 1 \ t u t o r i a l \ t a r g e t \ c o n s u l t a n t f o l d e r t o t h i s n e w f o l d e r . T a r g e t r e f e r s t o t h e c u r r e n t c o n f i g u r a t i o n o f C o d e C o m p o s e r S t u d i o . T h e r e i s n o d e f a u l t c o n f i g u r a t i o n , y o u m u s t s e t a c o n f i g u r a t i o n b e f o r e s t a r t i n g C o d e C o m p o s e r S t u d i o . S e e C h a p t e r 3 f o r m o r e a b o u t C o d e C o m p o s e r S t u d i o c o n f i g u r a t i o n s .

    3 . F r o m t h e P r o j e c t m e n u , c h o o s e N e w .

    4 . I n t h e P r o j e c t N a m e f i e l d , t y p e t h e p r o j e c t n a m e ( p r a c t i c e ) .

    5 . I n t h e L o c a t i o n f i e l d , t y p e o r b r o w s e t o t h e f o l d e r y o u c r e a t e d i n s t e p 1 .

    6 . B y d e f a u l t , P r o j e c t T y p e i s s e t a s E x e c u t a b l e ( . o u t ) a n d T a r g e t i s s e t a s t h e c u r r e n t c o n f i g u r a t i o n o f C o d e C o m p o s e r S t u d i o .

    7 . C l i c k F i n i s h . C o d e C o m p o s e r S t u d i o c r e a t e s a p r o j e c t f i l e c a l l e d p r a c t i c e . p j t . T h i s f i l e s t o r e s y o u r p r o j e c t s e t t i n g s a n d r e f e r e n c e s t h e v a r i o u s f i l e s u s e d b y y o u r p r o j e c t .

    8 . A d d f i l e s t o t h e p r o j e c t b y c h o o s i n g A d d F i l e s t o P r o j e c t f r o m t h e P r o j e c t m e n u . Y o u c a n a l s o r i g h t - c l i c k t h e p r o j e c t i n t h e P r o j e c t V i e w w i n d o w o n t h e l e f t a n d t h e n s e l e c t A d d F i l e s t o P r o j e c t .

    G e t t i n g S t a r t e d Q u i c k l y 1 6 S P R U 5 0 9 F M a y 2 0 0 5

  • 8/3/2019 Ccs Getting Started Guide

    17/96

    www.ti.com

    2 . 3 B u i l d i n g Y o u r P r o g r a m

    2 . 4 L o a d i n g Y o u r P r o g r a m

    2 . 5 B a s i c D e b u g g i n g

    2 . 5 . 1 G o t o M a i n

    2 . 5 . 2 U s i n g B r e a k p o i n t s

    2 . 5 . 3 S o u r c e S t e p p i n g

    B u i l d i n g Y o u r P r o g r a m

    9 . A d d m a i n . c , D o L o o p . c , a n d l n k . c m d ( t h i s i s a l i n k e r c o m m a n d f i l e t h a t m a p s s e c t i o n s t o m e m o r y ) f r o m t h e f o l d e r y o u c r e a t e d . B r o w s e t o t h e C : \ C C S t u d i o _ v 3 . 1 \ c 6 0 0 0 \ c g t o o l s \ l i b \ d i r e c t o r y a n d a d d t h e r t s . l i b f il e f o r y o u r c o n f i g u r e d t a r g e t .

    1 0 . Y o u d o n o t n e e d t o m a n u a l l y a d d a n y i n c l u d e f i l e s t o y o u r p r o j e c t , b e c a u s e t h e p r o g r a m f i n d s t h e m a u t o m a t i c a l l y w h e n i t s c a n s f o r d e p e n d e n c i e s a s p a r t o f t h e b u i l d p r o c e s s . A f t e r y o u b u i l d y o u r p r o j e c t , t h e i n c l u d e f i l e s a p p e a r i n t h e P r o j e c t V i e w .

    N o w t h a t y o u h a v e c r e a t e d a f u n c t i o n a l p r o g r a m , y o u c a n b u i l d i t . U s e t h e B u i l d A l l f u n c t i o n t h e f i r s t t i m e y o u b u i l d t h e p r o j e c t . A n o u t p u t w i n d o w w i l l s h o w t h e b u i l d p r o c e s s a n d s t a t u s . W h e n t h e b u i l d i s f i n i s h e d , t h e o u t p u t w i n d o w w i l l d i s p l a y B u i l d c o m p l e t e 0 e r r o r s , 0 w a r n i n g s .

    T h e R e b u i l d A l l c o m m a n d i s m a i n l y u s e d t o r e b u i l d t h e p r o j e c t w h e n t h e p r o j e c t o p t i o n s o r a n y f i l e s i n t h e p r o j e c t h a v e c h a n g e d . F o r f u r t h e r i n f o r m a t i o n , s e e S e c t i o n 2 . 3 .

    A f t e r t h e p r o g r a m h a s b e e n b u i l t s u c c e s s f u l l y , l o a d t h e p r o g r a m b y g o i n g t o F i l eL o a d P r o g r a m . B y d e f a u l t , C o d e C o m p o s e r S t u d i o I D E w i l l c r e a t e a s u b d i r e c t o r y c a l l e d D e b u g w i t h i n y o u r p r o j e c t d i r e c t o r y

    a n d s t o r e t h e . o u t f i l e i n i t . S e l e c t p r a c t i c e . o u t a n d c l i c k O p e n t o l o a d t h e p r o g r a m .

    N o t e :

    R e m e m b e r t o r e l o a d t h e p r o g r a m b y c h o o s i n g F i l e R e l o a d P r o g r a m i f y o u r e b u i l d t h e p r o j e c t a f t e r m