Z3 Technology Z3-DM8148-MC-RPS Developer's Manual

Multi-channel h.264 hd multimedia system
Table of Contents

Advertisement

Quick Links

Developer's Guide
Multi-Channel H.264 HD Multimedia System
High Definition Video Processor Module
DM8148 Multichannel Rapid Prototyping System
Z3-DM8148-MC-RPS
Model Name:
DOC-USR-0024-01
Manual Version 2.00.02
Software Version 2.00.02
August 23, 2013
Before attempting to connect or operate this product, please read these
instructions carefully and save the manual for future use.

Advertisement

Table of Contents
loading

Summary of Contents for Z3 Technology Z3-DM8148-MC-RPS

  • Page 1 Developer’s Guide Multi-Channel H.264 HD Multimedia System High Definition Video Processor Module DM8148 Multichannel Rapid Prototyping System Z3-DM8148-MC-RPS Model Name: DOC-USR-0024-01 Manual Version 2.00.02 Software Version 2.00.02 August 23, 2013 Before attempting to connect or operate this product, please read these...
  • Page 2 07/25/13 Formatting changes 2.0.2 08/19/13 Updated to reflect GUI support, added more detail on demo setup. Changed version to match software release ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 3: Table Of Contents

    Method 2: Running Your Code through TFTP/NFS ..............28 Other available u-boot commands ....................33 Appendix A: Example of Successful Boot Log .................... 34 Appendix B: Troubleshooting ........................43 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 4 Figure 3 Sample Content of Images Directory after Successful Build ........10 Figure 4 Demo Connections for Z3-DM8148-MC-RPS ............14 Figure 5 Demo Connections for Z3-DM8148-MC-RPS (Audio / Video Detail) ......14 Figure 6 DM8148-MC-RPS Main Menu ................ 16 Figure 7 Web Interface Initial Screen ............... 17 Figure 8 Web Interface Channel 1 Configuration Tab .............
  • Page 5: General Description

    Z3-DM8148-MC-RPS V2.00.02 1. General Description The Z3-DM8148-MC-RPS is a development system that allows multiple channel encode and decode of HD video. It can encode up to 2 channels of 1080i30 (30 frames per second, 60 fields per second) video, or 1 channel of 1080p60 (60 frames per second).
  • Page 6: Figure 2 Z3-Dm8168-App-02 I/O Board

    CONFIDENTIAL Z3-DM8148-MC-RPS V2.00.02 An application board, the Z3-DM8168-APP-02, is included with the Z3-DM8148-MC-RPS. This application board uses the I/O expansion capability of the Z3-DM8148-MOD-2X to implement additional functions not present in the base module. The Z3-DM8168-APP-02 application board has 2 HDMI inputs, 2 YPbPr component inputs, 2 analog stereo audio inputs, an SD card jack, 2 bi-color LEDs for status and a JTAG header to access the module’s on-board MSP430 processor.
  • Page 7: Features

    1080p60, 1080p50, 1080i30, 1080i29.97, 1080i25, 720p60, 720p59.94, 720p50, 576p50, 576i25, 480p60, 480i30, and 480i29.97 Component: 1080i30, 1080i29.97, 720p60, 720p59.94, 480p60, 480i30, and 480i29.97 2.2 Supported Output Resolutions HDMI: 1080p60, 720p60 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 8: Thermal Considerations

    The maximum continuous power consumption by the whole Z3-DM8148-MOD-2X system during normal operation should be less than 18W, with up to 12W dissipated by the main processor. Please plan the cooling strategy appropriately. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 9: Untarring And Building The Sample Code

    Note: Building can take around 30-40 minutes. You will also need to type in the sudo password a few times throughout the build. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 10: Figure 3 Sample Content Of Images Directory After Successful Build

    The result should be something like the following. Note that actual filenames, dates, and times will differ. Figure 3 Sample Content of Images Directory after Successful Build ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 11: Code Overview

    Z3 demo application code and scripts The Z3 demo code that comes with the Z3-DM8148-MC-RPS is run from the run.sh script in dvr- rdk/dvr_rdk/bin/ti814x. This code calls the z3_dvr_rdk_demo_mcfw_api.out binary, which initializes and runs the encoder. This binary is built from the dvr-rdk directory. The code for the binary resides in z3apps/rdk/rdk_demo.
  • Page 12: Z3_Mcfw_Api

    │ ├── DM81xx_DVR_RDK_Debug_Statistics.pdf │ ├── DM81xx_DVR_RDK_Display_Output_Configuration.pdf │ ├── DM81xx_DVR_RDK_Ethernet_Offload_Driver.pdf │ ├── DM81xx_DVR_RDK_External_Video_Device_Configuration.pdf │ ├── DM81xx_DVR_RDK_Flash_File_FS.pdf │ ├── DM81xx_DVR_RDK_Graphics_Using_FBDev.pdf │ ├── DM81xx_DVR_RDK_HDMI_Control_Notes.pdf │ ├── DM81xx_DVR_RDK_Memory_Map.pdf ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 13 ├── DM816x_FAPLL.xls ├── DM81xx_DVR_RDK_Demo_Guide.pdf ├── DM81xx_DVR_RDK_FAQs.pdf ├── DM81xx_DVR_RDK_IPC_Bits_Out_Host.pdf ├── DM81xx_DVR_RDK_Migration_Guide.pdf ├── DM81xx_DVR_RDK_Overview.pdf ├── DM81xx_DVR_RDK_PSP_Arago.pdf ├── DM81xx_DVR_RDK_SCD_DMVAL_FAQs.pdf ├── DMVAL_API_and_UsersGuide.pdf ├── DVR_RDK_ApiGuide.CHM └── SCD_TI_API_UsersGuide_v00.50.pdf ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 14: Running The Demos

    HDMI In 2 Component 2 Component 1, or Composite 1 (Yellow) + Composite 2 (Red) Figure 5 Demo Connections for Z3-DM8148-MC-RPS (Audio / Video Detail) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 15: Set Up The Terminal Window

    -Select “Serial Port Setup” -Ensure the right Serial Device is specified (typically “/dev/ttyUSB0”) -Set option E (“Bps/Par/Bits”) to 115200 8N1 -Press <return> -Select “Exit” ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 16: Power On The Board

    Note the local IP address and netmask (in this example, it is 192.168.81.48 and 255.255.0.0). This is the IP address of the board. You will need this later to access the web interface. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 17: Ensure Your Pc Has A Proper Ip Address

    After about 3 seconds, the control menu should come up: Figure 7 Web Interface Initial Screen (10) Click on the “CH1” tab ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 18: Figure 8 Web Interface Channel 1 Configuration Tab

    If that occurs, just click “stop” first). The status should change from “IDLE” or “STOPPED” to “RUNNING.” ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 19: Figure 9 Vlc Network Screen Setting To Receive Z3 Ts Stream

    Figure 9 VLC Network Screen Setting to Receive Z3 TS Stream (15) Press “Enter.” (16) You should now see video streaming to VLC: Figure 10 Example of Z3 Video Streaming on VLC ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 20: Running The Decode Demo

    (7) Copy the file(s) you want to decode to this dm8148 directory. (8) Plug the USB drive into USB 1 of the Z3-DM8148-MOD-2X (see Error! Reference source not found.). ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 21 (10) Go to the demo directory. Type “cd /opt/dvr_rdk/ti814x” and then “./run.sh” root@arago: cd /opt/dvr_rdk/ti814x root@arago: ./run.sh (11) This should bring up the demo main screen: ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 22: Figure 12 Main Screen For Demo To Run Decoder

    (14) Type “S” to start streaming the file to the decoder. You should now see a picture on your TV. Figure 13 Example Decode from File to Screen (Default Layout) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 23: Figure 14 Decoder Run-Time Menu

    4 channels simultaneously. shows example menu settings and Figure 16 Figure shows sample output at these settings. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 24: Figure 16 Example Settings For 4 Channel Decode

    CONFIDENTIAL Z3-DM8148-MC-RPS V2.00.02 Figure 16 Example Settings for 4 Channel Decode Figure 17 Example Output for 4 Channel Decode ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 25: Exercising Other Features

    This can be used to start a streaming encode session or to encode to a file on a connected USB drive, SATA drive, or SD card. A separate manual for MCSENC is available upon request. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 26: Running The Code You Built On The Board

    (3) This brings you to the Software Updater screen. Click “Browse” and browse to the directory z3- dm814x/z3-centaurus-dm814x_MC-RPS-(date)/images and select the image file “z3-centaurus- upd.img”: ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 27: Figure 19 Browsing For The Image File In The Updater

    (5) Click “Upload and Update.” You should see a “FLASH Update now in progress” message. Once finished it will go back to the main menu. (6) You should be able to now run using the updated image. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 28: Method 2: Running Your Code Through Tftp/Nfs

    Ubuntu 10.x (these are in gray to denote they can vary from system to system): (a) Get nfs if it is not already installed: # sudo apt-get install nfs-kernel-server ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 29 (here emacs is used – any text editor can be used) # cd /home/z3/z3-dm814x # cd z3-centaurus-dm814x_MC-RPS-20130819 # cd u-boot # emacs u-boot-env-centaurus-rdk.txt ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 30: Figure 20 Editing U-Boot-Env-Centaurus-Rdk.txt

    (e) Save your changes and then copy this file to your home directory (this will make it easy to transfer from minicom later). # cp u-boot-env-centaurus-rdk.txt /home/z3 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 31: Figure 21 Minicom Terminal Settings

    (2) Press Space to tag (3) Use <left> and <right> to select Okay (4) Press Return Figure 22 Minicom Paste File Selection ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 32: Figure 23 Example Of Successful U-Boot Configuration

    Appendix A shows an example of a successful boot. If you are running into issues, see the “Troubleshooting” section in Appendix B. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 33: Other Available U-Boot Commands

    Update root filesystem ramdisk run update-jffs2 Update jffs2 image (requires mtd-utils on host) run update-ubifs Update jffs2 image (requires ubi utils on host) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 34: Appendix A: Example Of Successful Boot Log

    Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Linux version 2.6.37 (z3@z3-H77H2-M3) (gcc version 4.5.3 20110311 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 35 OMAP GPIO hardware version 0.1 omap_mux_init: Add partition: #1: core, flags: 4 NOR: Can't request GPMC CS clk get on i2c3 fck failed Cannot clk_get ck_32 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 36 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. NetWinder Floating Point Emulator V0.97 (double precision) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 37 UBI: attached mtd6 to ubi0 UBI: MTD device name: "File System" UBI: MTD device size: 200 MiB UBI: number of good PEBs: 1595 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 38 UBIFS: recovery needed UBIFS: recovery completed UBIFS: mounted UBI device 0, volume 0, name "rootfs" ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 39 ** Point your browser to http://192.168.81.48 Starting Z3 demo BusyBox v1.15.0.svn (2013-08-20 16:11:55 CDT) built-in shell (ash) Enter 'help' for a list of built-in commands. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 40 [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000 [m3video] Remote Debug Shared Memory @ 0xbff10820 [m3vpss ] Remote Debug Shared Memory @ 0xbff21040 [c6xdsp ] Received character 's' ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 41 | ASRC: hdmi2 | ACODEC: dsp_aaclc | ABRATE: 128000 bps | ASRATE: 48000 Hz | AMODE: stereo | VPID: 200 APID: 100 PCRPID: 500 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 42 | T - Stop streaming | | W - Write configuration to flash | | X - eXit to prompt | +==============================================================+ Enter option: ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 43: Appendix B: Troubleshooting

    -Is the Ethernet cable plugged in to the Z3-DM8148-MOD-2X board solidly (do you see the link light)? -Does the Z3-DM8148-MC-RPS IP address and the PC IP address have the same first 2 values (or, if netmask is set to 255.255.255.0, the same first 3 values)? -Do the Z3-DM8148-MC-RPS and the PC running VLC have the same netmask? (Default value is 255.255.0.0)
  • Page 44 -If you modified the exports file, did you remember to restart the nfs server after that? When contacting Z3 Support for additional support, please capture and include a log file with the diagnostic level set to analysis. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...

Table of Contents