Table of Contents
Introduction..........................................................................................................................................4
1. Application development using Eclipse IDE...............................................................................4
1.1. Eclipse IDE Installation.......................................................................................................4
1.2. Eclipse IDE Configuration for phyBOARD-RANA-AM335x............................................5
1.2.1. Host Setup....................................................................................................................5
For Linux:.....................................................................................................................5
For Windows:................................................................................................................5
1.2.2. Target Setup..................................................................................................................6
1.3. Creating a New Project in Eclipse.......................................................................................6
1.3.1. How to open eclipse.....................................................................................................7
For Linux:-.........................................................................................................................7
For windows:-....................................................................................................................7
1.3.2 Creating a New Project..................................................................................................9
1.3.3. Open new C source file..............................................................................................11
1.3.4. Write simple Hello Application..................................................................................12
1.3.5. Build the project.........................................................................................................14
1.4. Changing the Demo Application........................................................................................15
1.4.1. Open Target Board using Minicom............................................................................17
1.5. Remote System Access using Eclipse................................................................................17
For Windows :..................................................................................................................17
For Linux :.......................................................................................................................18
1.5.1. Create New Connection for Remote System login....................................................19
1.5.2. Set the Host Name and IP...........................................................................................19
1.5.3. Launch the Remote Terminal.....................................................................................23
1.6. Debugging an example project...........................................................................................24
1.6.1. Starting the GDB server on the target........................................................................24
1.6.2. Configuring and starting the debugger in Eclipse......................................................25
1.6.3. Setting a Breakpoint...................................................................................................28
1.6.4. Stepping and Watching Variable Contents.................................................................29
1.6.5. Stepping and Watching Variable Contents.................................................................31
1.6.6. Using the Memory Monitor........................................................................................32
PHYTEC Embedded Pvt. Ltd 2014
3