SWRA446 February   2015 CC1310 , CC1310 , CC2620 , CC2620 , CC2630 , CC2630 , CC2640 , CC2640 , CC2640R2F , CC2640R2F , CC2640R2F-Q1 , CC2640R2F-Q1 , CC2650 , CC2650 , CC2650MODA , CC2650MODA

 

  1.   Using GCC/GDB With SimpleLink CC26xx/CC13xx
    1.     Trademarks
    2. 1 Introduction
    3. 2 Prerequisites
      1. 2.1 Platforms
      2. 2.2 Hardware
      3. 2.3 Software
    4. 3 Hardware Setup
    5. 4 Software Installation Instructions
      1. 4.1 Java Runtime Environment
      2. 4.2 Eclipse IDE (Windows)
      3. 4.3 Eclipse IDE (Linux)
      4. 4.4 GNU Toolchain (Windows)
      5. 4.5 GNU Toolchain (Linux)
      6. 4.6 Build Tools for Windows
      7. 4.7 TI Emupack and GDB Server (Windows)
      8. 4.8 Flash Programmer (Windows)
      9. 4.9 Flash Programmer (Linux)
    6. 5 Build the Software Example
      1. 5.1 Import Example Project Into the IDE
      2. 5.2 Build the Software Example
    7. 6 Load Binary Image to Target
      1. 6.1 Configure Flash Programmer Tool (Windows)
      2. 6.2 Configure Flash Programmer Tool (Linux)
      3. 6.3 Load the Image to Target (Windows)
      4. 6.4 Load the Image to Target (Linux)
    8. 7 Debug the Software Example
      1. 7.1 Launch the GDB Server (Windows)
      2. 7.2 Launch the GDB Server (Linux)
      3. 7.3 Configure Eclipse Debugger
      4. 7.4 Running the Software Example From Debugger
    9. 8 References
  2. AMakefile
    1. A.1 Makedefs
    2. A.2 Makefile
  3. BLinker and Startup Files
    1. B.1 Linker File
    2. B.2 Startup Files

Eclipse IDE (Windows)

Follow these instructions to install Eclipse and CDT on a Windows platform.

  1. Download Eclipse from http://eclipse.org/downloads/index.php.
  2. Unzip the downloaded package.
  3. The Eclipse IDE can now be started by running the eclipse.exe file. If you are using Windows 7, make sure that Eclipse is run as administrator to allow for the new installations. Eclipse will ask for a folder to use for workspace location when it is started. If Eclipse reports that it cannot find the Java Runtime Environment, make sure that the installation path is added to your environment variables. This is done by going to Control Panel → System and Security → System → Advanced system settings. Append the path of the bin folder in the JRE installation to the PATH variable.
  4. Verify the installed versions of the package under Help → About Eclipse SDK.
  5. Verify that you use the correct version of the Java Runtime Environment. The version can be found under Window → Preferences → Java → Installed JREs.
  6. The following instructions describe how to install the CDT plugins:

  7. Navigate to Help → Install New Software (see Figure 1).
  8. eclipse_install_new_swra446.gifFigure 1. Eclipse - Install New Software (Windows)
  9. Type http://download.eclipse.org/tools/cdt/releases/8.5/ (or the address of the software repository for another version of CDT) in the field called 'Work with:'.
  10. Select both ‘CDT Main Features’ and ‘CDT Optional Features’ to install (see Figure 2).
  11. installing_CDT_swra446.gifFigure 2. Installing CDT
  12. Click ‘Next’ twice and accept the licence agreements. Click ‘Finish’ to install the CDT package.
  13. When finished, click Yes to restart Eclipse.
  14. Verify that the CDT components are correctly installed. Navigate to Help → About Eclipse SDK and click ‘Installation Details’. Make sure that the C/C++ Development Platform and the C/C++ GDB Hardware Debugging are both installed (see Figure 3).
  15. installation_details_swra446.gifFigure 3. Installation Details