What's New in Code Composer Studio Development Tools V 3.3: Application Report
What's New in Code Composer Studio Development Tools V 3.3: Application Report
What's New in Code Composer Studio Development Tools V 3.3: Application Report
ABSTRACT
This application report highlights new features and functionality in the Code Composer
Studio™ (CCStudio) Integrated Development Environment (IDE) v. 3.3. Unlike 3.2
(which offers support for the DM644x and C64x+ device families), version 3.3 supports
multiple device families. Several of the new debug options from the 3.2 version are now
available for all platforms.
SPRAA07C – October 2006 What's New In Code Composer Studio Development Tools v 3.3 1
Submit Documentation Feedback
www.ti.com
Recommended:
• 2 GHz or higher Pentium-compatible CPU
• 512 MB of RAM
• 16-bit color
Supported Operating Systems:
• Windows 2000 Service Pack 4
• Windows XP Home Service Pack 1 & 2
• Windows XP Pro Service Pack 1 & 2
2 What's New In Code Composer Studio Development Tools v 3.3 SPRAA07C – October 2006
Submit Documentation Feedback
www.ti.com
SPRAA07C – October 2006 What's New In Code Composer Studio Development Tools v 3.3 3
Submit Documentation Feedback
www.ti.com
Figure 1. Property Manager for the Memory Window. Here, the drop-down menu indicates cache
boundaries with lines that you can add.
4 What's New In Code Composer Studio Development Tools v 3.3 SPRAA07C – October 2006
Submit Documentation Feedback
www.ti.com
Status Bar
New and recently revised debug windows use the Property Manager for configuration, including the
Memory Window, Breakpoint Manager and Cache Tag RAM Viewer. Often the Property Manager may
duplicate functionality already present in the debug window itself. However, the Property Manager allows
you to see all the configured properties for a particular window (or element of a window) at a single
glance. In the Breakpoint Manager Property Window, editing certain properties such as Action will cause
additional options to be displayed for further editing.
Highlighting individual elements within a debug window lets you configure specific instances or elements.
For example, in the Breakpoint Manager (Section 6), each row corresponds to a different breakpoint.
Highlighting one row in the Breakpoint Window reveals properties for that specific breakpoint in the
Property Manager. Highlighting a different row reveals those for a different breakpoint. To view the
property window, right-click anywhere in the Breakpoint Manager, Memory Window, or Cache Tag RAM
Viewer windows and select Properties from the context menu, or select View→Property Window.
4 Status Bar
New options were added to the status bar that is displayed at the bottom of the CCStudio application
window. In addition to the normal target connect messages, there is also a basic status indicator. The left
side of the status indicator shows if the target is running or not. The right side of the status indicator turns
yellow to indicate that the target was recently halted. This occurs when you manually halt the process, or
when CCStudio temporarily halts the target to carry out another internal process. The indicator will turn
grey after a few seconds.
The status bar will also show messages about the current options used by CCStudio:
• Process Mode (ARM processors only): The status bar displays the name of the current mode used by
the executed process. The options are:
– ARM – Indicates that the process is in the ARM mode.
– THUMB – Indicates that the process is in the Thumb mode.
• Endianness: The status bar denotes the Endianness sequencing method being used with either LE for
Little Endian or BE for Big Endian.
• Jazelle Indicator: The word JAVA is displayed in the status bar when Jazelle is enabled.
• MMU Indicator (ARM processors only): The status bar displays either MMU Off or MMU On to indicate
the status of the Memory Management Unit (MMU) mode. Note: This feature is available for ARM 9
and ARM 11 targets.
• Privileges (ARM processors only): The status bar indicates the privilege mode for the application by
displaying either USER mode or SUPERVISOR mode.
• Task Level Debugging Indicator: The status bar indicates the status of Task Level Debugging (TLD) by
displaying TLD when TLD has been enabled on the device. Note: TLD support is not available for all
operating systems.
• Descriptions: The center of the status bar displays text which describes the actions of individual menu
commands and toolbar items as you hold the mouse cursor over them, and the path of the active
source file window. The right area of the status bar shows the line and column position of the cursor
when viewing a source file.
• Profile Clock: The Profile Clock is displayed on the right side of the status bar, if it has been enabled.
See the Application Code Tuning Online Help for more information.
SPRAA07C – October 2006 What's New In Code Composer Studio Development Tools v 3.3 5
Submit Documentation Feedback
www.ti.com
Figure 2. Register Window. This two panel display puts registers into logical categories and custom
groups. Highlighting the category on the left lets you view (and edit) individual values on the right.
In addition, you can create custom groups of registers to view only the registers most likely to be of
interest for a project. To do this, right-click anywhere within the Register Window, select the Customize
Register Group item from the context menu, and create a custom group. After you create a group with
registers, the new custom group will appear in the Register Window's left panel. Clicking on the group's
name displays the associated registers.
Figure 3. Customizing Register Groups. Grouping individual registers in a custom group provides easy
access to the important registers in the Register Window.
6 What's New In Code Composer Studio Development Tools v 3.3 SPRAA07C – October 2006
Submit Documentation Feedback
www.ti.com
Figure 4. Breakpoint Manager. Note the icons on each breakpoint row: question mark (conditional
breakpoints), check boxes (enable/disable), blue triangle underneath the circle (non-halt action).
SPRAA07C – October 2006 What's New In Code Composer Studio Development Tools v 3.3 7
Submit Documentation Feedback
www.ti.com
Figure 5. Creating a Breakpoint Group. Create a custom group and then add breakpoints to it.
8 What's New In Code Composer Studio Development Tools v 3.3 SPRAA07C – October 2006
Submit Documentation Feedback
www.ti.com
SPRAA07C – October 2006 What's New In Code Composer Studio Development Tools v 3.3 9
Submit Documentation Feedback
www.ti.com
Figure 6. Memory Window. Different colors identify different kinds of cache. The L-shaped lines are
cache line boundaries.
Figure 7. Cache Tag RAM Viewer. You can highlight individual columns to group or arrange Cache Tag
RAM by a certain criteria.
10 What's New In Code Composer Studio Development Tools v 3.3 SPRAA07C – October 2006
Submit Documentation Feedback
www.ti.com
Figure 8. Cache Conflict Indicators. The tooltip indicates that the symbol on address 0x80004380 has
changed, indicating a cache conflict.
SPRAA07C – October 2006 What's New In Code Composer Studio Development Tools v 3.3 11
Submit Documentation Feedback
www.ti.com
Figure 9. Exception Reporting Tool. This tool lets you select exceptions you wish to be reported to the
Output Window. It comes with preconfigured reports.
If the tool reports an exception, the CPU will halt and display a message in the output window. At that
point, you can view this information and decide whether to terminate the application (and reset the CPU)
or let an exception handler deal with it and continue. Having access to these exception reports increases
flexibility and potentially saves development time.
12 What's New In Code Composer Studio Development Tools v 3.3 SPRAA07C – October 2006
Submit Documentation Feedback
www.ti.com
While programming, you may find that the algorithm has a larger interrupt latency than quoted. If so, you
may not discover it until late in the development life cycle, and it may require a delay to correct.
Characterization of the interrupt latency of the code is needed so that you can determine the real time
latencies in the application. The application consists of multiple components that cannot be individually
designed. The Interrupt Latency Detection (ILD) feature on the C6000 simulator provides you with a
deterministic measure of the worst-case interrupt latency of the code. As a result, you can quote the
interrupt latency of the code for a given set of test vectors.
To use the ILD feature, you must first load the ILD GEL file:
1. Launch CCStudio.
2. From the File menu, choose Load GEL.
3. Browse to the GEL file InterruptLatencyDetector.gel, in the directory C:\CCStudio_v3.3\cc\gel.
4. Click OK to load the GEL file.
This should add the following options to your GEL menu under GEL Interrupt Latency Detector:
StartProfile, SetThreshold, and StopProfile. To begin profiling, you need to build and load your application,
and create a Start Profile Point and End Profile Point for the .c file for your application. Then set the
threshold latency by selecting Interrupt Latency Detector→SetThreshold from the GEL menu. Run the
application until the Start Profile Point, then start profiling by selecting GEL→Interrupt Latency
Detection→StartProfile. Run the application until the End Profile Point. Stop profiling by selecting
GEL→Interrupt Latency Detection→StopProfile. Exit CCStudio, as the profile log is complete only upon
exiting the simulator.
After running, the tool outputs an Interrupt profile log as an XML file with the following entries,
corresponding to the intervals where the interrupts are disabled by the architecture:
• Start and end profile point
• Start and end CPU cycle
The XML file only captures the first 500 entries. It is generated in the same path and same name as the
loaded COFF file for the application. For example, if the application to be profiled is
c:\Apps\test\debug\app.out, the interrupt profile log is available in c:\Apps\test\debug\app.xml after profiling
the application for interrupt latency. For a multi-core simulator, multiple XML files are generated, one per
core. The file name has the core index to distinguish the files.
SPRAA07C – October 2006 What's New In Code Composer Studio Development Tools v 3.3 13
Submit Documentation Feedback
www.ti.com
Figure 10. Software Pipelining Loop (SPLOOP) in the Disassembly Window. The SPLOOP begins at the
breakpoint (depicted as a red circle). When loops are executing in parallel, multiple cursor arrows will
appear to move.
14 What's New In Code Composer Studio Development Tools v 3.3 SPRAA07C – October 2006
Submit Documentation Feedback
www.ti.com
16 IDE Changes
Note that support for CodeSizeTune, Peripheral Context Display (PCD), and the CSL graphic user
interface has been removed in this version of CCStudio. For more information about CSL or to find out if
CSL is supported by your device, check your device product folder on www.ti.com, or contact the Product
Information Center (http://www-k.ext.ti.com/sc/technical-support/product-information-centers.htm).
Also, the OMAP System DMA and Interrupt Controller registers have been moved from the Tools menu to
the View→Registers menu option for OMAP processors.
SPRAA07C – October 2006 What's New In Code Composer Studio Development Tools v 3.3 15
Submit Documentation Feedback
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 TI’s 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 TI’s 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
Low Power Wireless www.ti.com/lpw Telephony www.ti.com/telephony
Video & Imaging www.ti.com/video
Wireless www.ti.com/wireless