3StackQS_WinCE.book Page 1 Sunday, September 28, 2008 1:58 PM i.MX31 PDK 1.4 Windows Embedded CE 6.0/ Windows CE 5.
3StackQS_WinCE.book Page 2 Sunday, September 28, 2008 1:58 PM Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document. Freescale Semiconductor reserves the right to make changes without further notice to any products herein.
StackQS_WinCE.book Page 1 Sunday, September 28, 2008 1:58 PM 1 About the Boards 3 About the 3-Stack Platform System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 CPU Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Debug Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Personality Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3StackQS_WinCE.book Page 2 Sunday, September 28, 2008 1:58 PM i.
3StackQS_WinCE.book Page 3 Sunday, September 28, 2008 1:58 PM 1 About the Boards This chapter provides detailed information about the three boards (CPU, Debug, Personality) and the locations of the connectors and switches for each. CAUTION Your PDK arrives housed in a plastic device enclosure, which under normal circumstances you should not remove.
3StackQS_WinCE.book Page 4 Sunday, September 28, 2008 1:58 PM About the Boards About the 3-Stack Platform System common multimedia applications, and has a 2.8-inch VGA display, image sensor camera, Wi-Fi CERTIFIED™ IEEE 802.11™ b/g standards, 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.
3StackQS_WinCE.book Page 5 Sunday, September 28, 2008 1:58 PM About the Boards About the 3-Stack Platform System Table 1.
3StackQS_WinCE.book Page 6 Sunday, September 28, 2008 1:58 PM About the Boards About the 3-Stack Platform System Table 1.1 3-Stack Platform Features Details Cables • 5.0V/2.
3StackQS_WinCE.book Page 7 Sunday, September 28, 2008 1:58 PM About the Boards CPU Board CPU Board CPU Board Top Bottom J1 Board-to-Board Connector Figure 1.1 CPU Board 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.
3StackQS_WinCE.book Page 8 Sunday, September 28, 2008 1:58 PM About the Boards Debug Board DC Power LED D11 Power-On S4 Resettable Fuse F1 3.3V LED D9 SW5–SW10 See Table 1.5 CPLD LEDs D1– MX31 JTAG CN1 SW4 See Table 1.
3StackQS_WinCE.book Page 9 Sunday, September 28, 2008 1:58 PM About the Boards Debug Board Table 1.2 Debug Board Physical Features Type Switches Physical Feature • S1: Power button • S2: Debug board reset button • S3: System reset switch • S4: Power-on switch • SW4: Enable switch Connectors • J1:10/100 Base-T Ethernet RJ45 connector • J2: 5.
3StackQS_WinCE.book Page 10 Sunday, September 28, 2008 1:58 PM About the Boards Debug Board Table 1.3 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.
3StackQS_WinCE.
3StackQS_WinCE.book Page 12 Sunday, September 28, 2008 1:58 PM About the Boards Personality Board Table 1.5 Personality Board Physical Features Type Connectors Physical Feature • CN12: 44-position dual row, 2 mm header for HDD • CN13: GPS module connector • CN14: 2.
3StackQS_WinCE.book Page 13 Sunday, September 28, 2008 1:58 PM 2 Getting Started Unpack the Kit The 3-Stack Platform System is shipped with the items listed in Table 2.1. Table 2.1 Contents Type Boards Items • CPU board • Debug board • Personality board Cables • RS-232 serial cable • Ethernet straight cable • High-speed USB cables with mini AB connectors for OTG • High-speed cable with standard A to mini B connectors • Mini-USB adaptor • Jack to RCA audio/video cable Power Supply • 5.0V/2.
3StackQS_WinCE.book Page 14 Sunday, September 28, 2008 1:58 PM Getting Started Unpack the Kit CD-ROM RS-232 Figure 2.1 PDK Kit Contents A to Mini-B Mini-AB USB Cable USB OTG Ethernet Straight Cable A to Mini B USB Cable Universal Power Supply CPU Board Debug Board Personality Board Jack to RCA Audio/Video Cable i.MX31 PDK 1.
3StackQS_WinCE.book Page 15 Sunday, September 28, 2008 1:58 PM Getting Started CD-ROM Contents CD-ROM Contents Table 2.3.identifies the items on the CD-ROM set. Table 2.2 Development PC Requirements Type Requirement Product Documentation • i.MX31 PDK Product Brief • Bill of Materials, Schematics, and Gerber files for CPU Board, Personality Board, and Debug Board • i.MX31 Demo Image Readme for Windows CE 5.0 and Windows Embedded CE 6.0 • i.MX Platform Hardware User’s Guide • i.
3StackQS_WinCE.book Page 16 Sunday, September 28, 2008 1:58 PM Getting Started Provide a Development PC Provide a Development PC To develop applications using the 3-Stack development kit, get a PC with the requirements listed in Table 2.3. Table 2.3 Development PC Requirements Type Requirement Operating System • Windows XP Professional with Service Pack 1 or Windows 2000 Professional with Service Pack 4 Network • Internet access Software Tools • Microsoft .NET Framework, version 1.
3StackQS_WinCE.book Page 17 Sunday, September 28, 2008 1:58 PM 3 Build the Platform This chapter explains how to connect the three types of 3-Stack boards (Debug, Personality, CPU) together, to make either a development platform (Personality board + CPU board + Debug board), or a demonstration platform (Personality board + CPU board); and how to connect the 3-Stack platform to your PC. See Figure 3.1.
3StackQS_WinCE.book Page 18 Sunday, September 28, 2008 1:58 PM Build the Platform Build a Development Platform: Assemble Three Boards Connect Personality Board to Debug Board The Personality board connects to the Debug board using a 500-pin connector. The connector is keyed to avoid misconnection, so there is only one way to connect these boards. Connect the Personality board to the Debug board. The maximum allowable angle for mating and unmating boards is 10 degrees. See Figure 3.2.
3StackQS_WinCE.book Page 19 Sunday, September 28, 2008 1:58 PM Build the Platform Build a Development Platform: Assemble Three Boards Connect CPU Board to Debug Board After connecting the Personality board to the Debug board, now connect the CPU board to the underside of the Debug board. Personality Board Debug Board CPU Board 1 Flip over Personality/ Debug assembly 2 Align boards CPU Board 3 Connect CPU board to underside of Debug board Personality Board Debug Board CPU Board Figure 3.
3StackQS_WinCE.book Page 20 Sunday, September 28, 2008 1:58 PM Build the Platform Build a Development Platform: Assemble Three Boards Connect Development Platform to PC; Run Preloaded Image 2 Set Bootstrap switches (SW5–SW10) to NAND boot 5 S4 J2 Regulated +5V DC Supply 3 DC power 4 Female RS-232 cable Configure serial console application. 6 COM port 1 Set SW4 Figure 3.4 Connecting the Platform to your PC To connect the 3-Stack platform to your host PC: 1.
3StackQS_WinCE.book Page 21 Sunday, September 28, 2008 1:58 PM Build the Platform Build a Demo Platform: Assemble Two Boards 3. Connect the regulated 5V power supply to the appropriate power adapter. Plug the power adapter into an electrical outlet and the 5V line connector into the J2 (5V POWER JACK) connector on the Debug board. See Figure 3-5. 4. Start a serial console application on your host PC with the following configuration Table 3.
3StackQS_WinCE.book Page 22 Sunday, September 28, 2008 1:58 PM Build the Platform Build a Demo Platform: Assemble Two Boards Connect CPU Board to Personality Board Connect the CPU board to the Personality board. The connector is keyed to avoid misconnections, so that there is only one way to connect the CPU board to the Personality board.
3StackQS_WinCE.book Page 23 Sunday, September 28, 2008 1:58 PM Build the Platform Build a Demo Platform: Assemble Two Boards Connect Power Supply; Run Preloaded Demo CPU/Personality Board Regulated +5V DC Supply 1 DC power J12 power jack is on the underside of the Personality board 2 Figure 3.6 Connect Personality Board to Power Supply 1. Connect the regulated 5V power supply to the appropriate power adapter. Plug the 5V line into the J12 (5V POWER JACK) connector on the Personality board.
3StackQS_WinCE.book Page 24 Sunday, September 28, 2008 1:58 PM Build the Platform Build a Demo Platform: Assemble Two Boards i.MX31 PDK 1.
3StackQS_WinCE.book Page 25 Sunday, September 28, 2008 1:58 PM 4 Using the Demo Image This chapter explains how to use the touch panel and stylus to load the multimedia content to the 3-Stack board, using the provided demo image. Multimedia Codecs Content The Windows CE 5.0 and Windows Embedded CE 6.0 Demo Images contain a set of multimedia codecs that support various use cases. These codecs are optimized to run on the i.MX31 platform.
3StackQS_WinCE.book Page 26 Sunday, September 28, 2008 1:58 PM Using the Demo Image Touch Pad Calibration Tool image you will see is the touch pad calibration tool, which displays a cross in the center, as shown in the partial screen image in Figure 4.1. Figure 4.1 Touch Pad Calibration Tool i.MX31 PDK 1.
3StackQS_WinCE.book Page 27 Sunday, September 28, 2008 1:58 PM Using the Demo Image Touch Pad Calibration Tool To calibrate the Touch Panel, follow these steps: 1. Using the stylus pen, click on the cross. The cross will move to the four corners of the screen. If the calibration error is too large, the program will reset and the process will have to be repeated. When the touch panel calibration is successful, the following message is displayed: 2. Tap with the stylus pen in any part of the screen.
3StackQS_WinCE.book Page 28 Sunday, September 28, 2008 1:58 PM Using the Demo Image Downloading Multimedia to the 3-Stack Board Downloading Multimedia to the 3-Stack Board There are three ways to load multimedia content to the 3-Stack board using the Windows CE 5.0 or Windows Embedded CE 6.0 image provided: • Using Active Sync • Using an SD Card • Using a USB Card Using Active Sync Active Sync is a very useful tool to use with a Windows CE 5.0 or Windows Embedded CE 6.0 device.
3StackQS_WinCE.book Page 29 Sunday, September 28, 2008 1:58 PM Using the Demo Image Downloading Multimedia to the 3-Stack Board 3. Use the A to mini AB USB cable provided in your i.MX31 MAX WPDK kit and connect the mini AB end to the J10 USB OTG connector on the Personality board, then connect the other end to the any available USB port on your Host PC. Windows will recognize the 3-Stack board as a Windows CE 5.0 or Windows Embedded CE 6.
3StackQS_WinCE.book Page 30 Sunday, September 28, 2008 1:58 PM Using the Demo Image Downloading Multimedia to the 3-Stack Board 4. Select Yes, and then click Next. The Select Synchronization Settings options are displayed (Figure 4.4). Figure 4.4 Selecting Synchronization Settings Active Sync establishes communications with the 3-Stack board, and the Active Sync screen displays the connection status (Figure 4.5). Figure 4.5 Viewing the Connection Status i.MX31 PDK 1.
3StackQS_WinCE.book Page 31 Sunday, September 28, 2008 1:58 PM Using the Demo Image Downloading Multimedia to the 3-Stack Board 5. To browse the Mobile Device (3-Stack) folders, click on the Explore icon of the Active Sync window A new Windows Explorer window for your Mobile Device opens on the Host PC (Figure 4-6). Figure 4.6 Windows Explorer for Mobile Device 6. To download a multimedia file, drag the file to the Mobile Device window.
3StackQS_WinCE.book Page 32 Sunday, September 28, 2008 1:58 PM Using the Demo Image Downloading Multimedia to the 3-Stack Board 9. To access the files, double-click on the "My Device" icon in the Windows CE 5.0 or Windows Embedded CE 6.0 desktop (on the 3-Stack board). A Windows Explorer window will open, displaying the content you downloaded with Active Sync (Figure 4-7). Figure 4.7 Downloaded Content Downloaded Content F 10.
3StackQS_WinCE.book Page 33 Sunday, September 28, 2008 1:58 PM Using the Demo Image Downloading Multimedia to the 3-Stack Board Using an SD Card If you have an SD Card with pictures or other multimedia content, you can use the 3-Stack Board to view its content. To use access the SD Card, follow these steps: 1. Make sure the 3-Stack is powered and running the Windows CE 5.0 or Windows Embedded CE 6.0 demo image. 2.
3StackQS_WinCE.book Page 34 Sunday, September 28, 2008 1:58 PM Using the Demo Image Running the Demo Applications Using a USB Memory Stick You must have a USB mini AB-to-A female connector, for connecting the USB memory stick to the 3-Stack board. To use the USB memory stick with the 3-Stack board, follow these steps: 1. Make sure the 3-Stack is powered and running the Windows CE 5.0 or Windows Embedded CE 6.0 demo image. 2.
3StackQS_WinCE.book Page 35 Sunday, September 28, 2008 1:58 PM Using the Demo Image Running the Demo Applications Running the TV-Out Application The TV Out application has two output formats: PAL and NTSC. You will need a special cable. To use the TV-Out application, follow these steps: 1. Plug the RCA Video/Audio cable jack to the J19 Video/Audio jack on the Personality board. 2. Connect the RCA end to the TV. i.MX31 PDK 1.
3StackQS_WinCE.book Page 36 Sunday, September 28, 2008 1:58 PM Using the Demo Image Running the Demo Applications 3. Before running the application, you must disable the power-saving features of the Windows CE 5.0 or Windows Embedded CE 6.0 image, because the TV Out signal will be dropped if the power-saving state starts. To disable the backlight savings, tap and hold the stylus for one or two seconds at the center of the Windows CE 5.0 or Windows Embedded CE 6.0 desktop.
3StackQS_WinCE.book Page 37 Sunday, September 28, 2008 1:58 PM Using the Demo Image Running the Demo Applications 4. Select the Backlight tab, clear the two options on the tab, and then click OK at the top right corner of the window (Figure 4.11). Figure 4.11 Selecting the Background Tab i.MX31 PDK 1.
3StackQS_WinCE.book Page 38 Sunday, September 28, 2008 1:58 PM Using the Demo Image Running the Demo Applications 5. The power settings on the Control Panel must be modified. To access the Control Panel window, click the Windows logo at the lower left corner and go to Settings Control Panel (Figure 4-12). Figure 4.12 Selecting the Control Panel i.MX31 PDK 1.
3StackQS_WinCE.book Page 39 Sunday, September 28, 2008 1:58 PM Using the Demo Image Running the Demo Applications 6. Double-click the Power icon (Figure 4.13). Figure 4.13 Selecting the Power Settings Icon i.MX31 PDK 1.
3StackQS_WinCE.book Page 40 Sunday, September 28, 2008 1:58 PM Using the Demo Image Running the Demo Applications 7. Select the Schemes tab (Figure 4.14). Figure 4.14 Selecting the Schemes Tab 8. Change all the drop-down menu options to Never. 9. Click OK. i.MX31 PDK 1.
3StackQS_WinCE.book Page 41 Sunday, September 28, 2008 1:58 PM Using the Demo Image Running the Demo Applications 10. Now that the Power saving options are disabled, you may use the TV-Out program without a problem. To run the program, click on the Windows logo at the lower left corner of the display, and then click Run (Figure 4.15). The Run field is displayed. Figure 4.15 Selecting Run i.MX31 PDK 1.
3StackQS_WinCE.book Page 42 Sunday, September 28, 2008 1:58 PM Using the Demo Image Running the Demo Applications 11. Type "tvout.exe 0" for TVs using PAL format or "tvout.exe 1" for TVs using NTSC format, and then click OK. Figure 4.16 shows an example for a NTSC TV. Once the program runs, the image should appear at the TV. Figure 4.16 Example of an NTSC TV Usage 12.
3StackQS_WinCE.book Page 43 Sunday, September 28, 2008 1:58 PM Using the Demo Image Running the Demo Applications Running the Rotate Application The Rotate application enables you to switch the display from portrait to landscape. To use the Rotate application, follow these steps: 1. At the Windows CE 5.0 or Windows Embedded CE 6.0 desktop, double-click on "My Device" icon at the top left corner. A Windows Explorer window opens. Figure 4.17 Opening the Windows Explorer Window i.MX31 PDK 1.
3StackQS_WinCE.book Page 44 Sunday, September 28, 2008 1:58 PM Using the Demo Image Running the Demo Applications 2. Locate the Rotate icon and double-click on it (Figure 4.18). A Windows Explorer window opens. Figure 4.18 Viewing the Icons in the Rotate Folder i.MX31 PDK 1.
3StackQS_WinCE.book Page 45 Sunday, September 28, 2008 1:58 PM Using the Demo Image Running the Demo Applications 3. Clicking on the Rotate program toggles the display. Double-click Rotate to switch to landscape (Figure 4.19). Figure 4.19 Using the Rotate Application 4. To restore the portrait view, double-click the Rotate icon again. Changing the Windows CE 5.0 or Windows Embedded CE 6.0 Demo Image Version The PDK system provides two demo images: Windows CE 5.0 and Windows Embedded CE 6.0.
3StackQS_WinCE.book Page 46 Sunday, September 28, 2008 1:58 PM Ready to Begin Your Development? If you are ready to develop new applications using the i.MX31 PDK, use the following documents to locate the information required for your development: • i.MX31 PDK 1.4 Hardware User's Guide provides all of the hardware information for the 3-Stack board, including the connectors, switches, options, and pins. • i.MX31 PDK 1.4 Release Notes for Windows CE 5.0 or Windows Embedded CE 6.