Summary of the content on the page No. 1
TMS320DM357 DVEVM v2.05
Getting Started Guide
Literature Number: SPRUGH0
December 2008
Printed on Recycled Paper
Summary of the content on the page No. 2
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI's terms and conditions of sale supplied at the t
Summary of the content on the page No. 3
EVALUATION BOARD/KIT IMPORTANT NOTICE Texas Instruments (TI) provides the enclosed product(s) under the following conditions: This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT, DEMON- STRATION, OR EVALUATION PURPOSES ONLY and is not considered by TI to be a finished end-product fit for general consumer use. Persons handling the product(s) must have electronics training and observe good engineering practice standards. As such, the goods being provided are not intended to b
Summary of the content on the page No. 4
FCC Warning This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT, DEMON- STRATION, OR EVALUATION PURPOSES ONLY and is not considered by TI to be a finished end-product fit for general consumer use. It generates, uses, and can radiate radio frequency energy and has not been tested for compliance with the limits of computing devices pursuant to part 15 of FCC rules, which are designed to provide reasonable protection against radio frequency interference. Operation of this equi
Summary of the content on the page No. 5
This is a draft version printed from file: pref.fm on 12/15/08 Preface About This Guide The DVEVM (Digital Video Evaluation Module) is an evaluation platform that showcases the DaVinci architecture and lets users evaluate the power and performance of DaVinci as a Multimedia engine. This guide gives you overview information about the board and the software provided with the board. It is intended to be used as an introductory document for the DVEVM. Other documents provide more in-depth informati
Summary of the content on the page No. 6
Trademarks Trademarks The Texas Instruments logo and Texas Instruments are registered trademarks of Texas Instruments. Trademarks of Texas Instruments include: TI, DaVinci, the DaVinci logo, XDS, Code Composer, Code Composer Studio, Probe Point, Code Explorer, DSP/BIOS, RTDX, Online DSP Lab, DaVinci, TMS320, TMS320C54x, TMS320C55x, TMS320C62x, TMS320C64x, TMS320C67x, TMS320C5000, and TMS320C6000. MS-DOS, Windows, and Windows NT are trademarks of Microsoft Corporation. UNIX is a registered trade
Summary of the content on the page No. 7
This is a draft version printed from file: davinci_gsgTOC.fm on 12/15/08 Contents 1 DVEVM Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1 This chapter introduces the DVEVM (Digital Video Evaluation Module). 1.1 What’s in this Kit? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2 1.2 What’s on the Board? . . . . . . . . . . . . . . . . . . . . . . . . .
Summary of the content on the page No. 8
Contents 4.4 Setting Up the Build/Development Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12 4.4.1 Writing a Simple Program and Running it on the EVM . . . . . . . . . . . . . . . . 4-12 4.5 Building a New Linux Kernel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13 4.6 Rebuilding the DVEVM Software for the Target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-14 4.7 Building with DSPLink . . . . . . . . . . .
Summary of the content on the page No. 9
Chapter 1 DVEVM Overview This chapter introduces the DVEVM (Digital Video Evaluation Module). Topic Page 1.1 What’s in this Kit? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2 1.2 What’s on the Board? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3 1.3 What’s Next? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–4 1-1
Summary of the content on the page No. 10
What’s in this Kit? 1.1 What’s in this Kit? Your TMS230DM357 DVEVM kit contains the following hardware items. Section 2.1, Setting Up the Hardware tells how to connect these components. ❏ EVM Board This board contains a DaVinci TMS320DM357 Digital Media System-on-Chip. ❏ Universal Power Supply. Both U.S. and European power are supported. ❏ Cables. Serial and Ethernet cables are included to allow for host development. ❏ IR Remote Control (Phillips). This universal remote control is included to pr
Summary of the content on the page No. 11
What’s on the Board? 1.2 What’s on the Board? The EVM comes loaded with peripherals your multimedia applications may need to make use of. The following block diagram shows the major hardware components. IR PWR TI JTAG MSP430 SW User LEDs ARM JTAG JTAG SD/ I2C MMC S1 Storage GPIO DC1 (EMIF) 3V NAND BAT MSP430 Boot CPLD NAND DC6 I2C I2C EMIF GPIO Serial Media CPLD 3.3V Board Supply Voltage PGM DDR DC7 TMS320 1.8V I/O Voltage DDR DM357 DDR 1.2V CPU Core Voltage Video Ports EMAC DC5 (VIDEO OUT) DC
Summary of the content on the page No. 12
What’s Next? 1.3 What’s Next? To get started evaluating the DVEVM kit and developing applications for the DM357, begin by using this Getting Started guide. It will step you through connecting the hardware, testing the software, and beginning to develop applications. When you are ready for more information about DaVinci Technology and the DM357 architecture, see the following: ❏ Spectrum Digital website: http://support.spectrumdigital.com/boards/evmdm357 ❏ TI DaVinci Software Updates: http://www.
Summary of the content on the page No. 13
Chapter 2 EVM Hardware Setup This chapter tells you how to set up the EVM hardware. Topic Page 2.1 Setting Up the Hardware. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–2 2.2 Connecting to a Console Window . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–6 2-1
Summary of the content on the page No. 14
Setting Up the Hardware 2.1 Setting Up the Hardware To set up the hardware provided with the DVEVM kit, use the steps that follow. You may skip steps if you do not need to access a particular peripheral. For example, if you do not need to use the serial cable, skip that step. For reference, the numbers in the following photo of the DM357 EVM target board correspond to the steps in the procedure. 8 8 1 1 2 2 6 5 7 6 5 7 3 3 4 4 Important: The EVM board is sensitive to static discharges. Use a gro
Summary of the content on the page No. 15
Setting Up the Hardware 1) On the S3 mini-dip switch, verify that positions 1 through 4 are configured to boot from on-board NAND as in the following figure, where the black rectangle is the switch location. 1 2 3 4 5 6 7 8 9 10 Also on the S3 mini-dip switch, verify that position 10 selects the correct video format—NTSC or PAL. The following diagram shows the switch in the NTSC setting. 2) Connect an audio speaker to Stereo Line Out (P5) and an audio source to Stereo Line In (P3). Audio In (P3)
Summary of the content on the page No. 16
Setting Up the Hardware 3) Connect your video display to the composite video-out RCA connector (J8). Composite Video Out (J8) 4) Connect a video source (such as a camera or DVD player) to the composite video-in RCA connector (J12). Then power on your video input and output devices. Composite Video In (J12) 2-4
Summary of the content on the page No. 17
Setting Up the Hardware 5) (Optional) If you plan to use the UART port for a console window, connect the provided RS-232 null modem cable to the EVM UART port (P6) and to a COM port on your host Linux workstation. 10/100 UART (P6) Power (J14) Ethernet (P2) 6) (Optional) If you will be using an Ethernet connection, connect the provided Ethernet cable to the Ethernet port (P2) on the EVM board and to an Ethernet network port. Note: If you do not connect the board’s Ethernet controller to a compu
Summary of the content on the page No. 18
Connecting to a Console Window 9) You should see the initial screen of the demo software on your video display. Use the IR remote to run the software as described in Chapter 3. 2.2 Connecting to a Console Window You can open a console window that allows you to watch and interrupt EVM boot messages by following these steps: 1) Connect a serial cable between the serial port on the EVM and the serial port (for example, COM1) on a PC. 2) Run a terminal session (such as Minicom on Linux or HyperTermi
Summary of the content on the page No. 19
Chapter 3 Running the Demonstration Software This chapter explains how to run the software demos provided with the DVEVM kit. Topic Page 3.1 Default Boot Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–2 3.2 Starting the Standalone Demos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–2 3.3 Running the Standalone Demos . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–5 3.4 Running the Demos from the Command Line . . . . . . . . . . . . . .
Summary of the content on the page No. 20
Default Boot Configuration 3.1 Default Boot Configuration Out of the box, the EVM boots from flash and starts the demos automatically after a few seconds when you power up the board. It does not require an NFS mount or a TFTP server to run the standard demos. Note: The default U-Boot bootargs definition sets "ip=off", which disables the Ethernet connection. The out-of-the-box boot parameters are listed in Section A.4.1. The following are alternate ways you may want to boot the board: ❏ TFTP boo