<< Chapter < Page Chapter >> Page >

Introduction to CCE IDE

The introductory overview in the use of CCE will continue with a practical example, addressing some of its main features. Let us begin by building a project. This project will be configured with respect to the hardware, i.e., the MSP430 family device.

Launching the workbench

The term “Workbench” refers to the integrated development environment of all tools necessary for the development and management of projects. When CCE is started, it asks the user where they want to locate the work directory (workspace).

After choosing the location where the workspace will be stored, it opens by default in the project construction perspective. The concept associated with a perspective is important for the correct understanding of CCE operation. A perspective provides that for a given task there is an organization of windows most appropriate to its implementation. Changing perspective involves reformulating the workspace for a new Windows configuration that promotes the development of particular task. There are two major perspectives: C/C++ for editing, management and compilation of projects, and Debug for debugging the applications. The working perspective is selected in the upper right hand corner of the application.

By default, the windows included in the C/C++ perspective are: C/C++ Projects (to manage the projects); Editor (to edit files); Outline (to view data); Console (to send messages); Problems (identifies problems found in the project). The icons associated with the various tasks that can be performed in this perspective are shown together in Table 1 .

Button Description Button Description
Open a new perspective Save the active editor contents
Save the contents of all editors Save editor contents under a new name or location
Opens the search dialog Print editor contents
Open a resource creation wizard (New) Open a file creation wizard
Open a folder creation wizard Open a project creation wizard
Open the import wizard Open the export wizard
Run incremental build (Build All) Run a program
Debug a program Run an external tool
Cut selection to clipboard Copy selection to clipboard
Paste selection from clipboard Undo most recent edit
Redo most recent undone edit Navigate to next item in a list
Navigate to previous item in a list Navigate forwards
Navigate backwards Navigate up one level
Add bookmark or task Open a view's drop down menu
Close view or editor Pin editor to prevent automatic reuse
Filter tasks or properties Go to a task, problem, or bookmark in the editor
Restore default properties Show items as a tree
Refresh view contents Sort list in alphabetical order
Cancel a running operation Delete selected item or content
Last edit location Toggle Mark Occurrences
Assembly instruction only

By default, the windows included in the Debug perspective are: Debug (provides information concerning the debug process); Editor (to edit files); Variables/Expressions (to evaluate variables and expressions values during debug); Console (console to send messages); Registers/Breakpoints (to evaluate the contents of registers and to define code breakpoint); and Disassembly/Memory (to evaluate the assembly code and memory map occupation). The icons associated with the various tasks that can be performed in this perspective are shown together in Table 2 .

Icon Command Description
Create New Create a new project, folder, or file.
Save Save the content of the current editor. Disabled if the editor does not contain unsaved changes.
Print Prints the content of the current editor.
Build All Compiles all files for all projects in workbench.
Enable/Disable Breakpoints Enables or disables a breakpoint at the specified location.
Toggle Breakpoint Toggles a breakpoint at a specific address selected in the Edit window.
Change Build Configuration Lists available build configurations to choose.
New C/C++ Project Creates a new C/C++ project.
New C/C++ Source Folder Creates a source folder within the current project.
New C/C++ Source File Creates a source file within the current project.
New C/C++ Class Creates a C++ class within the current project.
Debug Active Project Debugs the current active project.
Launch TI Debugger Launches the TI specific debugger.
Debug Launches the Debug dialog box.
Run Launches the Run dialog box
External Tools Launches the External Tools dialog box
Open Type Brings up the Open Type selection dialog to open a type in the editor. The Open Type selection dialog shows all types existing in the workspace.
Search Launches the C/C++ Search dialog box
Select Working Sets Selects a working set from the list to be the active one. Working sets group elements for display in views or for operations on a set of elements.
Next Annotation Selects the next annotation in the resource that is currently active in the editor area. Supported in the Java editor.
Previous Annotation Selects the previous annotation in the resource that is currently active in the editor area. Supported in the Java editor.
Go to Last Edit Location Returns editor view to the last line edited, if the file that was last edited was closed it will be re-opened.
Back Navigates back through open files.
Forward Navigates forward through open files.

Request the MSP430 Teaching ROM Materials here (External Link)

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Teaching and classroom laboratories based on the “ez430” and "experimenter's board" msp430 microcontroller platforms and code composer essentials. OpenStax CNX. May 19, 2009 Download for free at http://cnx.org/content/col10706/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Teaching and classroom laboratories based on the “ez430” and "experimenter's board" msp430 microcontroller platforms and code composer essentials' conversation and receive update notifications?

Ask