NXP Semiconductors i.MX31 Quick Start Manual

i.MX31 3-Stack
Development Kit
Quick Start Guide
for Linux
Information in this document is provided solely to enable system and software implementers to use Freescale Semicon-
How to Reach Us:
Home Page:
www.freescale.com
E-mail:
support@freescale.com
USA/Europe or Locations Not Listed:
Freescale Semiconductor Technical Information Center, CH370 1300 N. Alma School Road Chandler, Arizona 85224 +1-800-521-6274 or +1-480-768-2130 support@freescale.com
Europe, Middle East, and Africa:
Freescale Halbleiter Deutschland GmbH Technical Information Center Schatzbogen 7 81829 Muenchen, Germany +44 1296 380 456 (English) +46 8 52200080 (English) +49 89 92103 559 (German) +33 1 69 35 48 48 (French) support@freescale.com
Japan:
Freescale Semiconductor Japan Ltd. Headquarters ARCO Tower 15F 1-8-1, Shimo-Meguro, Meguro-ku, Tokyo 153-0064, Japan 0120 191014 or +81 3 5437 9125 support.japan@freescale.com
Asia/Pacific:
Freescale Semiconductor Hong Kong Ltd. Technical Information Center 2 Dai King Street Tai Po Industrial Estate Tai Po, N.T., Hong Kong +800 2666 8080 support.asia@freescale.com
For Literature Requests Only:
Freescale Semiconductor Literature Distribution Center P.O. Box 5405 Denver, Colorado 80217 1-800-521-6274 or 303-675-2140 Fax: 303-675-2150 LDCForFreescaleSemiconductor@hibbertgroup.com
Freescale Semiconductor reserves the right to make changes without further notice to any products herein. Freescale Semiconductor makes no warranty, representation or guarantee regarding the suitability of its products for any partic ­ular purpose, nor does Freescale Semiconductor assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental dam­ages. “Typical” parameters that may be provided in Freescale Semiconductor data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typ­icals”, must be validated for each customer application by customer’s technical experts. Freescale Semiconductor does not convey any license under its patent rights nor the rights of others. Freescale Semiconductor products are not de­signed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Freescale Semi­conductor product could create a situation where personal injury or death may occur. Should Bu yer purchase or use Freescale Semiconductor products for any such unintended or unauthorized application, Buyer shall indemnify and hold Freescale Semiconductor and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Freescale Semiconductor was negligent regarding the design or manufacture of the part.
Federal Communications Commission Radio Frequency Interference Statement
This device complies with Part 15 of the FCC rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference and (2) this device must accept any interference received, including interference that might cause undesired operation. Changes or modifications to this equipment not expressly approved by Freescale could void the user’s authority to operate the equipment.
Freescale™ and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners.
© Freescale Semiconductor, Inc. 2007. All rights reserved.
1 About the Boards 3
About the 3-Stack Platform System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
CPU Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Debug Board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
Personality Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
2 Getting Started 13
Unpack the Kit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
CD-ROM Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Provide a Development PC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
3 Build the Platform 17
Build a Development Platform: Assemble 3 Boards . . . . . . . . . . . . . . . . . . . . .17
Connect Personality Board to Debug Board . . . . . . . . . . . . . . . . . . . . . . . . .18
Connect CPU Board to Debug Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Connect Development Platform to PC; Run Preloaded Image. . . . . . . . . . . 20
Build a Demo Platform: Assemble 2 Boards . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Connect CPU Board to Personality Board . . . . . . . . . . . . . . . . . . . . . . . . . .22
Connect Power Supply; Run Preloaded Demo . . . . . . . . . . . . . . . . . . . . . . .23
4 Using the Linux Demo Image 25
Linux Menus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Multimedia Applications Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Connectivity Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 5
Settings Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
Downloading Multimedia to the 3-Stack Board . . . . . . . . . . . . . . . . . . . . . . . . .26
Using an SD Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
Using a USB Mass Storage Application. . . . . . . . . . . . . . . . . . . . . . . . . . . .29
i.MX31 3-Stack Quick Start Guide for Linux
1
Running the Video, Audio, and Picture Applications. . . . . . . . . . . . . . . . . . . . .29
Running the Video Application. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
Running the Audio Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
Running the Picture Viewer Application. . . . . . . . . . . . . . . . . . . . . . . . . . . .30
Running the Camera Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Running the FM Radio Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Supported Codecs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
Ready to Begin Your Development?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
i.MX31 3-Stack Quick Start Guide for Linux
2
About the Boards
This chapter provides detailed information about the three boards (CPU, Debug, Personality) and identifies the locations of the connectors and switches.
Table 1.1 Chapter Summary
Board See
3-Stack Platform “About the 3-Stack Platform System” on page 3
CPU “CPU Board” on page 6
Debug “Debug Board” on page 7
Personality “Personality Board” on page 10
About the 3-Stack Platform System
1
Freescale introduces the 3-Stack Platform System, which you use to develop multimedia and connectivity applications using the i.M31 Applications Processor and the MC13783 Audio and Power Management device.
The 3-Stack Platform System decreases the time between first development and final product release by providing you (as the system designer) with a near-to-final product design, which you can use as a development platform for software and hardware.
There are two Board Support Packages (BSP) for the 3-Stack Platform System, with one BSP for WinCE and one BSP for Linux operating systems. These BSPs contain drivers optimized for multimedia operations using the i.MX31 and MC13783 devices.
Freescale's 3-Stack Platform System consists of three small boards: CPU, Debug, and Personality.
• A CPU board contains the i.MX31 CPU, memories and the MC13783 Power Management IC (PMIC).
• A Debug board provides the debug interfaces (like JTAG), and also has a CPLD that implements an external Ethernet and serial controller for debug purposes.
• The Personality board implements the functionality of the 3-Stack board system, and contains hardware for WiFi connectivity, FM receiver, and so on. The Personality board can be modified to meet your specific requirements without the need to modify the other two boards (CPU, Debug). The Personality board was designed to support common multimedia applications, and has a 2.8-inch VGA display, image sensor
i.MX31 3-Stack Quick Start Guide for Linux
3
About the Boards
About the 3-Stack Platform System
camera, WiFi 802.11g/b, FM receiver, SD Card connector, USB OTG, USB Host,
2.4 QVGA smart display panel connector, ATA connector and TV-Out connector. As the 3-Stack Platform continues to evolve, more Personality boards will be created to meet new multimedia requirements.
Table 1.2
describes the 3-Stack Platform features in detail.
Table 1.2 3-Stack Platform Features
Item Description
All boards • Near to final product form-factor demonstration
CPU board • i.MX31 ARM-11 Applications Processor
Personality board • Peripheral components
Debug board • Two RS-232 interfaces
modules and working platforms.
• Solid reference schematics that closely resemble final products to aid customers' designs.
• MC13783 Atlas power management chip
• 256 MB of NAND Flash Memory
• 128 MB of 32 bit DDR SDRAM memory
• 37.914 mm x 67.517 mm
• Interface connectors
• 71.428 mm x 129.462 mm
• 10/100 Base-T Ethernet connector
• Current measure connectors
• 71.400 mm x 174.900 mm
Expansion Headers • Utilizing reliable high density connector to interface
Battery Support • +4.2 V 2400mAh Battery power supply and Battery
LCD Display • 2.8 inch TFTLCD display panel with touch panel and
Smart LCD Connector • 2.4 inch QVGA smart display panel connector
Camera Interface • Image sensor camera connector
Selectable Clock Sources
Debug Port • RealView-ICE debug support
i.MX31 3-Stack Quick Start Guide for Linux
4
between boards, 3 board assembly for software development and 2-board assembly (without debug board) for demonstration
Charging Function
LED backlight
• Two selectable system clock sources: 32.768 KHz and 26 Mhz
Table 1.2 3-Stack Platform Features
Item Description
About the Boards
About the 3-Stack Platform System
Video and Audio Stereo
GPS Connector • One connector to outboard GPS module
FM Receiver
TV Out • TV decoder that supports 8-bit color, NTSC and PAL
PC Card Expansion • SD card connectors, with card sense
Keypad • Onboard keypad and keypad connector
Network Support • WiFi 802.11g/b and BT2.0 + EDR Combo Module
USB • One USB OTG high-speed transceiver with mini-
ATA Support ATA5 controller with
• Stereo microphone jack, headphone and video jack, stereo and mono (ear piece) speaker terminals
formats
onboard
• One Ethernet jack connector (for application/debug)
USB connector
• One USB high-speed host transceiver, with standard USB host connector
• One 44-position dual row 2 mm header for small form-factor disk drivers
• One 40-pin ZIF connector for Toshiba HDD
Accelerometer • Onboard accelerometer with sensitivity in three
separate axes (X, Y, Z)
Serial Port Two RS-232 interfaces with DB-9 connectors
• One RS-232 interface is driven by a UART channel internal to the MX31, and it supports DCE with optional full modem controls
• The other RS-232 interface is DTE with optional full modem controls
Cables • 5.0V/2.4A universal power supply kit
• RS-232 standard serial cable
• High Speed USB cables with mini-AB connectors for OTG
• High speed cable with standard A-to-mini-B connectors
• Mini-USB adaptor
• Ethernet cables (2) with RJ45-8 connectors
i.MX31 3-Stack Quick Start Guide for Linux
5
About the Boards
J1 Board-to-Board Connector
CPU Board
Top
Bottom
CPU Board
Item Description
Table 1.2 3-Stack Platform Features
Software • Sample Windows® embedded CE binary image
Application Development Tools
CPU Board
from Freescale
• Windows embedded CE BSP available from Freescale
• ATK software
• Platform Builder 5.0/6.0
• Visual Studio 2005
6
You use the J1 board-to-board connector (500 pins) to connect the CPU board to either of the other two boards:
• Connect the CPU board to a Personality board, for running demos (no Debug board is needed).
• Connect the CPU board to a Debug board, (and connect the Personality board to the Debug board) for developing software. The Personality board plugs into the other side of the Debug board.
i.MX31 3-Stack Quick Start Guide for Linux
Figure 1.1 CPU Board
To Personality Board
Connector CN74
Current Measure J3
MX31 JTAG CN1
SW5–SW10 See Table 1.5
3.3V LED D9
Power-On S4
DC Power LED D11
DC Power J2
Ethernet J1
UART CON4
female
UART CON3
male
Debug CPLD
JTAG CN2
Personality
CPLD JTAG
CN3
CPLD Test
Debug Reset S2
CPLD Test
Power S1
System Reset
CPLD LEDs D1–D8
SW4 See Table 1.4
Debug Board
TOP
Bottom
P1
P2
Resettable Fuse F1
To CPU Board Connector
About the Boards
Debug Board
Debug Board
Figure 1.2 Debug Board
i.MX31 3-Stack Quick Start Guide for Linux
7
About the Boards
Debug Board
Type Physical Feature
Switches • S1: Power button
Connectors • J1:10/100 Base-T Ethernet RJ45 connector
Table 1.3 Debug Board Physical Features
• S2: Debug board reset button
• S3: System reset switch
• S4: Power-on switch
• SW4: Enable switch
• J2: 5.0V DC power connector
• J3: Current measure connector
• J4: 500-pin connector to CPU board
• P1: WEIM Address measure connector
• P2: WEIM Data measure connector
• CN1: i.MX31 JTAG connector
• CN2: Debug board CPLD JTAG connector
• CN3: Personality board CPLD JTAG connector (Reserved)
• CN74: 500-pin connector to Personality board
• CON4: UART (DCE) DB9 female connector
LEDs • D1–D8: LEDs for CPLD debug
• D9: LED for debug board 3.3V power
• D11:LED for DC power supply
Buttons • BT1, BT2: Test buttons for CPLD
Fuse • F1: Resettable Fuse
i.MX31 3-Stack Quick Start Guide for Linux
8
About the Boards
Debug Board
Table 1.4 Debug Board SW4 Switch
Switch Setting Effect
SW4-1 UART Port Select ON Selects serial port UART (DCE) CON4
SW4-8 Power Enable ON Power is supplied to all three boards.
OFF Power is only supplied to the Debug
board.
Table 1.5 Boot Mode Setting (SW5–SW10)
Boot Mode Device
UART/USB bootloader
8-bit NAND Flash (2KB page) Ext
SW5 Boot4
SW6
X0 0 0 0 0
X1 0 0 0 0
Boot3 SW7
SW8 SW9 SW10
i.MX31 3-Stack Quick Start Guide for Linux
9
Loading...
+ 25 hidden pages