advertisement
phyCORE-MPC5200B-IO Introduction
Workbench that can now support C/C++ development with a number of views and wizards, along with advanced editing and debugging support.
Due to its complexity, the CDT is broken down into several components, which take the form of separate plug-ins. Each component operates as an autonomous project, with its own set of committers, bug categories, and mailing lists. However, all plug-ins are required for the CDT to work properly. Here is a list of the plug-ins/components:
•
Primary CDT plug-in is the “framework” for the CDT plug-ins.
•
CDT Feature Eclipse is the CDT Feature Component.
•
CDT Core provides Core Model, CDOM, and Core Components.
•
CDT UI is the Core UI, views, editors, and wizards.
•
CDT Launch provides the launch mechanism for external tools such as the compiler and debugger.
•
CDT Debug Core provides debugging functions.
•
CDT Debug UI provides the user interface for the CDT debugging editors, views, and wizards.
•
CDT Debug MI is the application connector for MI-compatible debuggers.
The GNU Cross Development Tool Chain
Cross development in general refers to the overall software development process that produces a single application or a complete system running on a platform that is different from the development platform. This is an important concept when the target system doesn’t have a native set of compilation tools, or when the host system is faster and has greater resources.
The platform where the actual development takes place is called the host
platform.
The platform where the final application is tested and run is
© 2009 PHYTEC Messtechnik GmbH L-679e_6
5
phyCORE-MPC5200B-IO Quick Start Instructions called the target platform. In this Quick Start we are using an x86-based
Linux as the host platform. As the target platform we are using the
PowerPC architecture with an MPC5200B-IO CPU.
Building a program for a CPU architecture different from the one used on the machine where the compilation is done is accomplished using a cross compiler tool chain and cross-compiled libraries. In this Quick Start we are using the GNU C/C++ cross development tool chain.
6
© 2009 PHYTEC Messtechnik GmbH L-679e_6
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 5 Introduction
- 5 Rapid Development Kit Documentation
- 5 Professional Support Packages Available
- 6 Overview of this Quick Start Manual
- 7 Conventions Used in this Quick Start Manual
- 8 System Requirements
- 8 Software Development Tool Chains
- 8 Eclipse
- 9 The GNU Cross Development Tool Chain
- 11 Getting Started
- 11 Requirements of the Host Platform
- 12 Configuring the Host Platform
- 12 Installing Software Packages
- 18 Set Up Network Card Configuration
- 19 Disabling the Firewall
- 20 Set Up TFTP Server
- 22 Linux-MPC5200B-IO-Kit Setup
- 23 Starting the Setup
- 31 Advanced Configuration Information
- 32 Connecting the Host with the Target
- 36 Copying an Example to the Target
- 37 Copying a Program to the Target
- 38 Using Telnet to Execute a Program on the Target
- 39 Using SSH to Execute a Program on the Target
- 42 Advanced Information
- 42 Copying a Program to the Target with the Command Line
- 42 Executing a Program on the Target
- 42 Executing a Program directly on the Target using SSH
- 44 Getting More Involved
- 44 Configuring and Compiling the Kernel
- 48 Writing the Kernel into the Target’s Flash
- 51 Opening an Existing Project
- 51 Copying the HelloWorld Project
- 52 Starting Eclipse and Importing the Example Project
- 56 Creating a New Project
- 66 Changing the Demo Application
- 67 Executing the Program on the Target using Microcom
- 68 Starting a Program out of Eclipse on the Target
- 77 Debugging an Example Project
- 77 Starting the GDB Server on the Target
- 79 Configuring and Starting the Debugger in Eclipse
- 84 Setting a Breakpoint
- 84 Stepping and Watching Variable Contents
- 86 Changing Variable Values
- 88 Using the Memory Monitor
- 91 Further Information
- 92 Summary