Getting Started Guide for C6747

From Texas Instruments Wiki
Jump to: navigation, search

Purpose

The purpose of this Getting Started Guide is to walk you through setting up C6747 Starter Kit (SK) and installing the C6747 Starter Kit software. You should proceed through this guide in the order given for best results. By the end of this Getting Started Guide you will have the C6747 Starter Kit and your host system properly configured. You should also bookmark the C674x Category page since new articles will continue to appear here.

EVM Overview

Welcome!

Your new C6747 Starter Kit is a low-cost development platform designed to speed the development of high-precision applications based on TI's C674x processors.

NOTE: The C6743, C6745, C6747 and OMAP-L137 all share the same Starter Kit which contains an OMAP-L137 processor (TI Orderable as TMDXOSKL137BET). Note that the OMAP-L137 and C6747 are the same device except the C6747 does not include the ARM9 core. C6743, C6745 and C6747 are largely similar as well with the C6743 and C6745 having a reduced peripheral set. You can find the differences for these parts on the respective product folders. If you are developing for the ARM9 side (OMAP-L137) please go the the Getting Started Guide for OMAP-L137

Please also see the TMDSOSKL137 product folder for information on the kit.

What's in this Kit?

The contents of the starter kit (SK) include:

  • OMAP-L137/TMS320C6747 EVM with 4MB Serial Flash and 64MB SDRAM
  • Code Composer Studio™ IDE (limited to use on the starter kit)
  • Demo version of MontaVista Pro 5.0 tools (for OMAP-L137 ARM development)
  • USB cable
  • Universal power supply
  • AC power cords
  • Readme First Document

What's on the Board?

Hardware

The C6747 SK is a standalone development platform that enables users to evaluate and develop applications for the C674x processors. The following block diagram shows the major hardware components.

Diagram provided courtesy of Spectrum Digital Inc.

For more information about the EVM hardware, see the Spectrum Digital OMAP-L137 EVM website

Software

The C6747 Starter Kit does not come with any software on the board itself.

Hardware Setup

  • Setup the EVM in "emulation debug" mode by setting SW2 switch as follows:

For revisions A and B:

Pin # 7 2 1 0 3
Position 1 1 1 1 1

For all revisions after B:

Pin # 7 2 1 0 3
Position 1 1 1 1 0
  • Connect the USB cable provided in the kit to the on-board emulation USB port on the board (EMBED USB). Connect the other end to a computer with CCS installed.
  • Connect the power cable to the EVM power jack on the board. To be ESD safe, plug in the other end of the power cable only after you have connected the power cord to the board.

Installing the SDK Software

Before we begin

To begin developing applications, you need to install the EVM development environment. This section outlines the steps required to load the EVM software onto the development host.

To download the most current software, please follow the steps on this page.

After following the steps on this page one time, you can go directly to myRegistered Software to download the current software.

Installing the Software

List of files


You will need to install each of the following files (or equivalent versions):
  • OMAPL137_dsp_setupwin32_1_00_00_11.exe: This is an installer for PC workstations and will install the Starter Kit software for OMAP-L137 DSP-based software development.
  • C674x_dsp_setupwin32_1_00_00_11.exe: This is an installer for PC workstations and will install the contents of installing OMAPL137_dsp_setupwin32_1_00_00_11.exe for the DSP side only.
  • bios_setupwin32_5_33_05.exe: This the installers for PC workstations and will install the DSP/BIOS software.
  • setupwin32_ndk-2_0_0_0.exe: This is an installer for PC workstations and will install the evaluation version of the Network Development Kit (NDK) software running on C6747/5 DSP.
  • TI_CGT_C6000_6.1.9_setup.exe: This is the installers for PC workstations and will install the TI code generation tool. It is needed for users to who do not have the up-to-date code generation tool. If using the CCS that comes with the Starter Kit you do not need to install this because it already comes with Code Generation Tools 6.1.5.
  • xdctools_setupwin32_3_10_05_61.exe: This is the installers for PC workstations and will install the XDC tool. XDC tool is needed to build various software including Codec Engine, Framework Components etc
NOTE: We strongly suggest installing the software below to the default installation paths. Deviating from the default paths may cause problems with building and is not covered in this guide.

Installing CCS and Tools


  1. Using the CCS that comes with the Starter Kit

    Start off by installing Code Composer Studio (CCS) to your host machine. The C6747 Starter Kit comes with a CCS Installation CD which works only with this Starter Kit.

    For the CCS version that comes with the Starter kit, you need to install the file bios_setupwin32_5_33_05.exe.
    After Installing, open CCS, go to the menu Help -> About. Click on Component Manager. The component manager screen will open. Expand the Target Content (DSP/BIOS) list. Expand the lists for TMS320C64XX and TMS320C67XX and select Texas Instruments DSP/BIOS 5.33.05 on both lists. Go to the menu, File -> Save to save the configuration. Restart CCS for the changes to take effect.

  2. Using the Full CCS version

    If you already have a full version of CCS installed you will need to download at least CCS Service Release 12.This can be obtained through the CCS Update Advisor (Help->Update Advisor->Check for Updates). If you want to know what Service Release you have, please see this page

    You also need to install the Target Content (drivers, GEL files) from the CD that comes with the Starter Kit. You can also look for updated Target Content from the Spectrum Digital Support site.

    To know if you need to install the Code Generation Tools (TI_CGT_C6000_6.1.9_setup.exe file) and DSP/BIOS (bios_setupwin32_5_33_05.exe file), open CCS, go to the menu Help -> About. Make sure that you have Code Generation Tools 6.1.5 or above and BIOS 5.33.03 or above. If you do not have the required versions, install the correspondent file (TI_CGT_C6000_6.1.9_setup.exeand/or bios_setupwin32_5_33_05.exe).

    After Installing DSP/BIOS 5.33.05 (if you did not already have it), open CCS, go to the menu Help -> About. Click on Component Manager. The component manager screen will open. Expand the Target Content (DSP/BIOS) list. Expand the lists for TMS320C64XX and TMS320C67XX and select Texas Instruments DSP/BIOS 5.33.05 on both lists. Go to the menu, File -> Save to save the configuration. Restart CCS for the changes to take effect.

    After Installing Code Generation Tools 6.1.9 (if you did not already have it), open CCS, go to the menu Help -> About. Click on Component Manager. The component manager screen will open. Expand the Build Tools list. Expand the lists for TMS320C64XX and TMS320C67XX and select Texas Instruments C6000 Code Generation Tools <6.1.9> on both lists. Go to the menu, File -> Save to save the configuration. Restart CCS for the changes to take effect.

Installing PSP (Platform Support Package)


Install the file OMAPL137_dsp_setupwin32_1_00_00_11.exe if you are going to use ARM + DSP, and C674x_dsp_setupwin32_1_00_00_10.exe if you are going to use the DSP side only.
Once you have installed the C674x_dsp_setupwin32_1_00_00_11.exe or OMAPL137_dsp_setupwin32_1_00_00_11.exe you must also install the BIOSPSP_01_20_00_Setup.exe in the base install directory (C:\C674x_dsp_1_00_00_11 or C:\OMAPL137_dsp_1_00_00_11 by default). This file will install the DSP/BIOS device drivers for the C6747/5 (the default directory is C:\Program Files\Texas Instruments\pspdrivers_01_20_00_10). To get the stand alone version of the BIOSPSP go to this page (you will need a ti.com ID).

Installing XDC tools


Install the file xdctools_setupwin32_3_10_05_61.exe.

Installing NDK


If you want to work with networking, install the file setupwin32_ndk-2_0_0_0.exe.

Installing DSP/BIOS USB Driver


If you want to work with USB, install the file BIOSUSB_01_00_00_Setup.exe. For the latest stand alone version please see this page.

Getting the latest RTFS (real-time file system for DSP/BIOS)


The RTFS version 1.00 (located at C:\C674x_dsp_1_00_00_10\rtfs_1_00) had a bug that was corrected for the version 1.00.01. To get the latest RTFS, please go to this page. You will need a ti.com ID to login.

Connecting CCS to the board

In order to connect to the board:

  • Power-up the EVM and connect the on-board emulation to the PC using the supplied USB cable.
    • If you have never connected to the Starter Kit through the on-board emulation (USB cable) and Windows opens the Find New Hardware Wizard, see here.
  • Start CCS:
    • If you installed the Target Content from the CD or if you are using the DSK's version of CCS you should have an EVMC6747 CCStudio v3.3 icon on your desktop to select
    • OR Start CCS Setup and select EVMC6747 to your System Configuration
    • CCS screen will open
    • On the menu click on Debug -> Connect

Loading Example Software

There are PSP examples located in the PSP Installation directory (by default C:\Program Files\Texas Instruments\pspdrivers_01_20_00). You can find these examples in the \packages\ti\pspiom\examples\evm6747 directory.

Each example project comes pre-built and can be loaded to the DSP's memory through File->Load Program inside CCS. For example, select File->Load Program and choose the audioSample.out file found in the \audio\bin\Debug directory from the examples base path. Once the file is loaded select Debug->Run

If you attach an audio source (such as an MP3 player or your PC) to the Line In audio jack (P3) and headphones to the Headphone audio jack (P5) you should hear the audio passing through the system.

Building a project

In order to re-build an example, open CCS (Code Composer Studio) and go to the menu and select Project -> Open…. Browse to the project location and select the project file (.pjt).

For example, for the C6747 audio project, the default path is: C:\Program Files\Texas Instruments\pspdrivers_01_20_00\packages\ti\pspiom\examples\evm6747\audio\build

After opening the project, go to the menu and select Project -> Build


Do not forget to read the documents at:

C:\Program Files\Texas Instruments\pspdrivers_01_20_00\docs\C6747\

There you can find the document C6747_BIOSPSP_Userguide.pdf. Look at item 4 of the top of page 11 of this document where it is mentioned about adding the environmental variable EDMA3LLD_BIOS5_INSTALLDIR. To add the environmental variable, go to Control Panel, System, choose the Advanced tab. Click on Environment Variables at the bottom of the tab. At System variables, click on New, and add the EDMA3LLD_BIOS5_INSTALLDIR variable with the value C:/C674x_dsp_1_00_00_11/edma3_lld_01_07_00_01 or C:/OMAPL137_dsp_1_00_00_11/edma3_lld_01_07_00_01 (or equivalent path in your computer). Click ok.

If you do not add this environmental variable you might get a Compilation failure.

For the audio example, you might want to see C6747 Audio Example cache configuration.

Additional Procedures

Flashing the Board

The Flashing the C6747 article explains how to generate an AIS image, flash the board, and run the examples from SPI Flash.

Additional Information

  • C674x Simulator support is added in Service Release 12 (available via Update Advisor)
  • For DSP Library functions please see C674x DSPLIB