Z3 Technology Z3-DM8168-RPS User Instructions

Z3 Technology Z3-DM8168-RPS User Instructions

Multi-channel h.264 hd multimedia system
Hide thumbs Also See for Z3-DM8168-RPS:
Table of Contents

Advertisement

Quick Links

User Instructions
Multi-Channel H.264 HD Multimedia System
DM8168 Rapid Prototyping System
Z3-DM8168-RPS
Model Name:
DOC-USR-0008-06
Manual Version 2.0.11b
Software Version 1.05.01
June 17, 2015
Before attempting to connect or operate this product, please read these instructions carefully and save the manual for future use.
© Copyright Z3 Technology, LLC. This document contains proprietary and confidential information of Z3 Technology, LLC ("Z3"). This document may
not be used, reproduced, disclosed, or disseminated to anyone without the prior written approval of an authorized representative of Z3.
Z3 Technology, LLC incorporates HDMI® technology. The terms of HDMI and HDMI High-Definition Multimedia Interface, and
the HDMI Logo are trademarks or registered trademarks of HDMI Licensing LLC in the United States and other countries.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Z3-DM8168-RPS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Z3 Technology Z3-DM8168-RPS

  • Page 1 Before attempting to connect or operate this product, please read these instructions carefully and save the manual for future use. © Copyright Z3 Technology, LLC. This document contains proprietary and confidential information of Z3 Technology, LLC ("Z3"). This document may not be used, reproduced, disclosed, or disseminated to anyone without the prior written approval of an authorized representative of Z3.
  • Page 2 Revision History Version Date Change Note Author 02/02/11 Original DM8168 System 02/09/11 Minor updates on page 4 and 5 02/10/11 Fixed title. Major content update and re-arranging, formatting fixes and other general improvements. Added some “to-do” tags for CH. 02/17/11 Formatting fixes, revisions, added tables 02/20/11 Paragraph &...
  • Page 3: Table Of Contents

    8.1 Connect the Decoder Board ..................25 8.2 Set up the Decoder Board to Work with the Encoder Board ..........26 8.3 Configure the Encoder .................... 27 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 4 11.5 Values Appearing at the Bottom of All Tabs ..............43 12.0 KNOWN ISSUES ....................... 44 APPENDIX A: Example of Successful Boot Log ................ 45 APPENDIX B: Troubleshooting ................... 53 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 5 Figure 4 Sample Content of Images Directory after Successful Build ..........12 Figure 5 Demo Connections for the Z3-DM8168-RPS ..............14 Figure 6 Demo Connections for the Z3-DM8168-RPS (Audio / Video Detail) ........14 Figure 7 Z3-DM8168-RPS Main Menu ................... 16 Figure 8 Encoder Settings Screen (Top Half)................
  • Page 6: General Description

    DOC-USR-0008-06 1.0 GENERAL DESCRIPTION The Z3-DM8168-RPS is a development system that allows encode and decode of up to two channels of 1080p60 H.264. The Z3-DM8168-RPS consists of a hardware package and software bundle designed to enable rapid development of multimedia applications. The hardware consists of one Z3-DM816x-MOD-2x System on Module card and one Z3-DM8168-APP-02 application board.
  • Page 7: Figure 2 Z3-Dm8168-App-02

    CONFIDENTIAL DOC-USR-0008-06 An application board, the Z3-DM8168-APP-02, is included with the Z3-DM8168-RPS. This application board uses the I/O expansion capability of the Z3-DM816x-MOD-2x to implement additional functions not present in the base module. The Z3-DM8168-APP-02 application board has two HDMI inputs, two YPbPr component inputs, two analog stereo audio inputs, an SD card jack, two bi-color LEDs for status and a JTAG header to access the module’s on-board MSP430 processor.
  • Page 8: Figure 3 Z3-Dm8168-Pci-Rps Block Diagram

    CONFIDENTIAL DOC-USR-0008-06 A block diagram of the Z3-DM8168-RPS follows: Figure 3 Z3-DM8168-RPS Block Diagram ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 9: Quick Start Guide

    OVERVIEW,” on page 13. Details on how to set up your system to access the code you have built can be Method 2: Running your code through TFTP/NFS found in Section 9.2, “ ”, on page 31. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 10: Included Parts List

    1080p60, 1080p50, 1080i30, 1080i25, 720p60, 720p50, 576p50, 576i25, 480p60, 480i30 Component: 1080i30, 1080i25, 720p60, 720p50, 576p50, 576i25, 480p60, 480i30 *Note: SATA3 is not supported. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 11: Untarring And Building The Sample Code

    # sudo yum install glibc.i686 5.2 Making the Directories and Running the Make Script The software provided will allow you to re-create the pre-installed software of the Z3-DM8168-RPS starting from the included source code. On a PC running Linux, create a directory where the released materials are going to be located:...
  • Page 12: Figure 4 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 4 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 13: Code Overview

    ├── Readme.Overlay.txt ├── DM816x_EZ_Software_Developers_Guide.pdf ├── software_bom.htm └── software_manifest.htm Additional documentation can be found in the “board-support”, “component-sources”, and “example_applications” subdirectories in ezsdk. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 14: Running The Encoder

    CONFIDENTIAL DOC-USR-0008-06 7.0 RUNNING THE ENCODER This section gives step-by-step instructions on using the Z3-DM8168-RPS to stream 1080p or 1080i video to VLC running on your PC. 7.1 Set up the HD Source (1) Select an HD source with HDMI non-HDCP output (in Z3’s testing, the Brite-View BV-5005HD is used).
  • 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.68 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

    IP address of the board noted in step (7) (for example, if the default value is used, it would be http://192.168.81.68). After about 3 seconds, the Encoder Settings will appear: ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 18: Figure 8 Encoder Settings Screen (Top Half)

    (11) Set “Output Format” to “MPEG-2 TS” and “Dest IP Address” to the IP address of your PC (in this example, 192.168.0.6) Also make note of the value of “Dest Port” (should be 8888 by default): ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 19: Figure 9 Setting Encode Parameters For Ts Streaming

    Figure 9 Setting Encode Parameters for TS Streaming (12) Click “Start”. After about 6 seconds, The status should change from “idle” to “Running.” ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 20: Run Vlc To View Stream

    (15) Press “Enter.” (16) You should now see video streaming to VLC: Figure 11 Example of Z3 Video Streaming on VLC (UDP) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 21: Streaming Rtp

    (23) Open VLC. Select “Media – Open File” and select the “z3-netra-multicast.sdp” file you just copied. (24) You should then see RTP video streaming on VLC: Figure 12 Example of Z3 Video Streaming to VLC (RTP) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 22: Encoding From Other Inputs

    CONFIDENTIAL DOC-USR-0008-06 7.9 Encoding From Other Inputs In addition to HDMI1, the Z3-DM8168-RPS allows encode from a second HDMI channel, two component inputs, and two composite inputs. To select a source, simply select the desired source from “Video Source.” To use HDMI2, splug a video source to the HDMI port just below HDMI1.
  • Page 23: Showing Encode Passthrough On A Screen (Optional)

    ). Once you do this, you should see the video going into the encoder on the monitor. HDMI Figure 16 HDMI Out to Show Encode Passthrough ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 24: Tuning For Latency

    By default, this is set to 1000ms. You can lower this to as low as 200ms. To do this, go to the following: VLC → Tools → Preferences → Show Settings (ALL) → Input / Codecs → Network caching (ms) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 25: Running The Decoder

    The Z3-DM8168-RPS can also be used to decode streams. This section describes how to quickly get decode up and running. A second Z3-DM8168-RPS is required in these instructions. If the user has only one Z3- DM8168-RPS, they can also try using an alternate source for the video stream. In that case, the decoder settings may have to be adjusted.
  • Page 26: Set Up The Decoder Board To Work With The Encoder Board

    You will change this later to operate as a Decoder. But first, let’s go back to the Encoder and set up the stream. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 27: Configure The Encoder

    Here a multicast address is used. You can also try streaming unicast to 192.168.81.67 (multicast allows you to also open VLC and view the stream from there): Figure 20 Encoder Settings for Sample Decode ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 28: Configure The Decoder

    (16) You can also view the content using VLC. Open VLC as you did in the Encode instructions and use the address “udp://@225.1.2.3:8888” for the URL. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 29: Running The Code You Built On The Board

    If you click “Stop” at the bottom of the screen, then “update device firmware” will become active and you can then click it. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 30: Figure 23 Browsing For The Image File In The Updater

    (6) Click “Upload and Update.” You should see a “FLASH Update now in progress” message. Once finished, it will return to the main menu. (7) 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 31: Method 2: Running Your Code Through Tftp/Nfs

    Ubuntu 10.x or later (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 32 (here emacs is used – any text editor can be used) # cd /home/z3/z3-netra # cd z3-netra-RPS-20130702 # cd u-boot # emacs u-boot-env-netra.txt ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 33: Figure 24 Editing U-Boot-Env-Netra.txt

    “Terminal Settings” window. From here, set “Newline tx delay (ms)” (option D) to 100, and “Character tx delay (ms)” (option F) to 1: Change to 100 Change to 1 Figure 25 Minicom Terminal Settings ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 34: Figure 26 Minicom Paste File Selection

    (j) You should then see a series of commands being pasted within u-boot. The very last line should say “Writing to Nand… done” Figure 27 Example of Successful u-boot Configuration ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 35 (5) From the u-boot prompt, type “boot” Z3-DM8168-MOD# boot You should see the Z3-DM8168-RPS boot the kernel obtained via TFTP, mount a file system using NFS, and then go straight to the serial menu. Appendix A shows an example of a successful boot. If you are running into issues, see “APPENDIX B: Troubleshooting.”...
  • Page 36: 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 37: Exercising Other Features

    Details on the different parameters that can be set can be found in Section 11.0, “Summary of Options” later in this manual. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 38: Summary Of Options

    High, Main, Baseline The H.264 profile of the bitstream. Generally High is used for 1080p, Main for D1, and Baseline for <D1. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 39 The target frame rate. “30” can be used for 30 or 29.997. If the frame rate is set to 30 and the input signal is actually 29.997, the Z3-DM8168-RPS will automatically detect this and use the frame rate of 29.997. A similar auto-detect occurs for 60 and 59.994.
  • Page 40 “De-interlace” = Follow input and de-interlace Note 2: GOP Sizes Supported: 10, 12, 15, 25, 30, 50, 60, 100, 120, 200, 240 frames ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 41: The Decoder Settings Tab

    1080p-50 (1920x1080) 1080i-60 (1920x1080) 1080i-50 (1920x1080) 720p-60 (1280x720) 720p-50 (1280x720) 480p (720x480) 576p (720x576) 480i (NTSC) 576i (PAL) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 42: The System Setup Tab

    11.3 The System Setup Tab Parameter Options (default in bold) Notes Local IP Address 192.168.x.y (192.168.81.68) Sets the IP address of the Z3-DM8168-RPS Local Netmask 255.255.z.w (255.255.0.0) Sets the netmask of the Z3-DM8168-RPS Default Gateway 192.168.a.b (192.168.0.1) Can generally leave this as “192.168.0.1”...
  • Page 43: Values Appearing At The Bottom Of All Tabs

    The current state of the encoder/decoder. (Status Message) Idle – starting … Running – active Running – stopping … Idle – stopped ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 44: Known Issues

    (2) When encoding using composite input, if a switch from NTSC to PAL or PAL to NTSC is needed, the user needs to reboot the board. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 45: Appendix A: Example Of Successful Boot Log

    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 364MB 270MB = 634MB total Memory: 637828k/637828k available, 62588k reserved, 276480K highmem ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 46 HDMI device registered ti81xx_fb device registered ti81xx_vin device ti81xx_pcie: Invoking PCI BIOS... ti81xx_pcie: Setting up Host Controller... ti81xx_pcie: Register base mapped @0xd7018000 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 47 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 48 UBI: number of bad PEBs: 0 UBI: number of corrupted PEBs: 0 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 4096 UBI: number of internal volumes: 1 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 49 PHY: 0:01 - Link is Up - 100/Full ata2: SATA link down (SStatus 0 SControl 300) ata1: SATA link down (SStatus 0 SControl 300) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 50 -mmap input memory map bin file name -i2c 0: i2c init not done by M3, 1(default): i2c init done by M FIRMWARE: isI2cInitRequiredOnM3: 0 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 51 V4L2 device registered as video0 Z3 Netra video decoders ver 0.6.0 successfully loaded, 1 devs. Starting telnet daemon. Starting web configurator ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 52 | U -- Load User Settings | W -- Save User Settings X -- Exit | Y -- Load Factory Default Settings +============================================================== ---- enter option: ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 53: Appendix B: Troubleshooting

    -Is the Ethernet cable plugged in to the Z3-DM816X-MOD-2X board solidly (do you see the link light)? -Does the Z3-DM8168-RPS IP address and the PC IP address have the same first two values (or, if netmask is set to 255.255.255.0, the same first three values)? -Do the Z3-DM8168-RPS and the PC running VLC have the same netmask? (Default value is 255.255.0.0)
  • Page 54 When contacting Z3 Support for additional support, please capture and include a log file with the diagnostic level set to analysis. For information regarding your hardware warranty, please visit: www.Z3technology.com/Support/HW-Warranty.html. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...

Table of Contents