AM335X StarterWare Environment Setup

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

TIBanner.png

StarterWare Under Construction


Contents

Introduction

This chapter details the settings required for IDE/tools supported by StarterWare. This chapter tries to cover some typical steps to be followed while starting to build and/or load and execute libraries/applications packaged inside StarterWare.


TMS470 from CCS project

  This section explains how to import a CCS project which is created earlier and how to build it (TMS470vX.X.X is the ARM compiler used in CCS).

Importing a CCS Project from the StarterWare Release package

Importing CCS Project.jpg

Browsing a project.jpg

Building the CCS Project

Building an Application.jpg

GCC from Command Line in Linux/Cygwin

Exporting LIB_PATH

                       ~/StarterWare$ export LIB_PATH=/opt/toolchain/CodeSourcery-arm-2009q1-161

Building An Application

1. Build/Clean all example applications for TI AM335x EVM:

                       ~/StarterWare/build/armv7a/gcc/am335x/evmAM335x$ make
~/StarterWare/build/armv7a/gcc/am335x/evmAM335x$ make clean+

2. Build/Clean UART example application:

                       ~/StarterWare/build/armv7a/gcc/am335x/evmAM335x/uart$ make
~/StarterWare/build/armv7a/gcc/am335x/evmAM335x/uart$ make clean+

Building The Bootloader

For building bootloader, the boot mode can be specified. If no boot mode is specified, default will be MMCSD. Other boot modes are SPI, NAND and UART.

Building the Bootloader for NAND boot mode:

                       ~/StarterWare/build/armv7a/gcc/am335x/evmAM335x/bootloader$ make BOOT=NAND

Debugging on EVM AM335x using CCSv5

CCSv5 can be used to connect to the target (EVM), load executable binaries and debug.

To connect CCS to the target, one needs to have a target configuration file corresponding to the Emulator and the Device (SoC) that will be used. Launching this file is a prerequisite step to be carried out. This will help to load an executable onto the Target, execute it and debug the code.

Creating the Target Configuration, if it does not already exist.

EVM AM335x - Emulator and Device.jpg

EVM AM335x GEL File Path.jpg

Launching the Target Configuration

Connecting to the Target

Loading an executable

Debugging on BeagleBone board using CCSv5

CCSv5 can also be used to load and run ELF executable (.out) on BeagleBone board. Similar to EVM AM335x, connecting CCS to BeagleBone board also requires that the respective Target Configuration File be present and is launched. The steps are mentioned below.

Creating the Target Configuration, if it does not already exist.

BeagleBone-Emulator and Device.jpg

BeagleBone GEL File Path.jpg

Launching the Target Configuration

Connecting to the Target

Loading an executable

IAR Embedded Workbench 6.XX Projects

This section explains, steps to build a StarterWare IAR Embedded Workbench IDE Project. IAR IDE is supported only on windows.

ProjectBuild01.JPG

IAR Project 1.JPG

IAR 2.JPG

IAR build.JPG

IAR WorkSpace 4.JPG

IAR Target 5.JPG

IAR Debugger.JPG 

     http://software-dl.ti.com/dsps/dsps_public_sw/am_bu/starterware/02_00_00_07/index_FDS.html

IAR Download 7.JPG

 

E2e.jpg For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article AM335X StarterWare Environment Setup here.
Hyperlink blue.png Links
ARM Microcontroller MCU ARM Processor Digital Media Processor Digital Signal Processing Microcontroller MCU Multi Core Processor
Ultra Low Power DSP 8 bit Microcontroller MCU 16 bit Microcontroller MCU 32 bit Microcontroller MCU

Leave a Comment

Comments

1. under beaglebone, the two graphics on target configuration have "beaglebone.gel" and "AM335X.gel". They both should be "AM335x_beaglebone.gel". I would fix, but don't know just how to get the right graphics.

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox