Z3 Technology Z3-DM368-RPS User Manual

Low-power h.264 hd multimedia system
Hide thumbs Also See for Z3-DM368-RPS:
Table of Contents

Advertisement

Quick Links

Low-Power H.264 HD Multimedia System
Before attempting to connect or operate this product, please read these instructions carefully and save the manual
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
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.
User's Guide
High Definition Video Processor Module
DM368 Rapid Prototyping System
Model Name:
DOC-USR-0049-03
Manual Version 1.06.13c
Software Version 1.06.13
December 16, 2014
for future use.
representative of Z3.
Z3-DM368-RPS

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Z3 Technology Z3-DM368-RPS

  • Page 1 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.
  • Page 2 Revision History Version Date Change Note Author 1.00.00 06/03/09 Original 1.00.01 06/05/09 Many corrections, additions, formatting, suggestions 1.01.00 06/06/09 Corrections 1.02.00 10/21/09 Updating information 1.03.00 02/05/10 Updated version from Z3-DM365 to Z3-DM368 1.04.00 09/25/10 Updated Basic Setup and Software Menu System sections 1.05.00 07/09/13 Updated format and technical info...
  • Page 3: Table Of Contents

    11.0 EXERCISING OTHER FEATURES ..................33 12.0 RUNNING THE CODE YOU BUILT ON THE BOARD ..............34 12.1 Method 1: Updating the Image File ................34 ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 4 Figure 29 Minicom Terminal Settings ..................39 Figure 30 Minicom Paste File Selection ................. 39 Figure 31 Example of Successful u-boot Configuration ............... 40 ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 5: General Description

    DM368 to an application board mate, including I2C, SPI, LCD, USB, Serial, SD/MMC/MS, digital video, digital audio, analog composite and component video. Figure 1 below shows the Z3-DM368-MOD: 44 mm 68 mm Figure 1 Z3-DM368-MOD ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 6: Figure 2 Z3-Dm368-Rps App Board

    A Linux-based SDK, additional design services, and support are available from Z3 Technology. Please contact Z3 at http://www.Z3technology.com or e-mail at sales@Z3technology.com. ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 7: Figure 3 Z3-Dm368-Rps Block Diagram

    CONFIDENTIAL DOC-USR-0049-03 The figure below shows a block diagram of the Z3-DM368-RPS system. Figure 3 Z3-DM368-RPS Block Diagram ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 8: Quick Start Guide

    Details on how to set up your system to access the code you have built can be found in Section 12.0: “RUNNING THE CODE YOU BUILT ON THE BOARD”, on page 34. ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 9: Included Parts List

    1 x Gender Changer (to connect to serial cable) 2 x Video Cables  1 Content SD Card   1 x Z3-368-RPS Documentation ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 10: Features

    480i29.97, 16:9 PAL, 4/5 720p, 720p, 3/4 1080i, 1080p, and 1080i 4.2 Supported Output Resolutions Composite: 576i25, 480i30, and 480i29.97 Component: 1080i30, 1080i29.97, 720p60, 720p59.94, 480p60, 480i30, and 480i29.97 ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 11: Untarring And Building The Sample Code

    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. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • 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. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 13: Code Overview

    Various supporting applications toolchain The ARM toolchain for building the codebase u-boot u-boot code for release z3apps Z3 demo application code and scripts ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 14: Running The Encoder

    CONFIDENTIAL DOC-USR-0049-03 7.0 RUNNING THE ENCODER This section gives step-by-step instructions on taking the Z3-DM368-RPS and using it 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 component output (such as a Blu-Ray player).
  • 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. 8th 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.0.65 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. 8th 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 (8) (for example, if the default value is used, it would be http://192.168.0.65). After 3 seconds, the Encoder Settings menu should come up: Figure 8 Web Interface Main Menu (Top Part) ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 18: Figure 9 Example Settings For Running The Encoder

    (7) Status changes to “Started” Encoder” Figure 9 Example Settings for Running the Encoder (13) Click “Start.” The status should change to “Started.” ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 19: Run Vlc To View Stream

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

    (23) Open VLC. Select “Media – Open File” and select the “z3-dm368_5004.sdp” file you just copied. (24) You should then see RTP video streaming on VLC: Figure 12 Example of Z3 Video Streaming on VLC (RTP) ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 21: Using Dhcp

    DOC-USR-0049-03 7.9 Using DHCP The Z3-DM368-RPS also supports using DHCP to acquire an IP address at boot-up. To use it, complete the following steps: (25) Click the “Use DHCP” check box in the Web GUI. Once it is checked, you will see that the values of the Local IP address, Local Netmask and Default Gateway will gray out: (1) Check “Use...
  • Page 22: Figure 15 Finding Dhcp-Assigned Ip Address In The Serial Ui

    (27) Power off the Z3-DM368-RPS. (28) Power back on the Z3-DM368-RPS> Wait about one minute for the “ready” LED to turn on. (29) There are two ways you can find out the IP address assigned by DHCP. The first is through the Serial...
  • Page 23: Dynamically Changing Bit Rate/ Frame Rate

    CONFIDENTIAL DOC-USR-0049-03 (31) If you select the Z3-DM368-RPS row and double-click on it, an Internet browser is opened at that address to make the main menu appear: New IP Address Figure 17 Web GUI using DHCP Address (32) You can go back to Static IP by unchecking “Use DHCP” and saving that to the user settings.
  • Page 24: Adjusting For Latency And Quality

    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. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 25: Running The Decoder

    8.2 Set up the Decoder Board to Work with the Encoder Board (5) If you are using another Z3-DM368-RPS as the encoding source, you need to make sure that the encoding Z3-DM368-RPS and decoding Z3-DM368-RPS have different IP addresses. If you are using DHCP, this will automatically be taken care of.
  • Page 26: Configure The Encoder

    DOC-USR-0049-03 8.3 Configure the Encoder (6) Go to the Encoder Z3-DM368-RPS. Change the settings to match those in the figure below. Here a multicast address is used. You can also stream unicast to the Decoder by specifying the IP address of the decoding Z3-DM368-RPS.
  • Page 27: Configure The Decoder

    (7) Power on the Decoder Z3-DM368-RPS. (8) Follow steps (6) to (10) in Section 8.0 to bring up the GUI for the Decoder Z3-DM368-RPS. (9) You should be at the System Setup Tab. From here, click on “Operating Mode” in the lower right corner and change to “Decoder.”...
  • Page 28: Start The Encoder And Decoder

    (15) 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:5004” for the URL. ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 29: Writing To An Reading From A File

    9.0 WRITING TO AN READING FROM A FILE The Z3-DM368-RPS also supports writing encoded streams to a file and reading a file and playing it back. The steps below describe how to record a stream to an .mp4 file, play it back, do trick play while playing it back, and play back the file on a PC.
  • Page 30 -If you get the error “Capture_get: Assertion ‘hCapture failed”, that indicates that the source is not plugged into the Z3-DM368-RPS. If you are encoding D1, make sure composite is connected. If you are encoding any other resolution besides D1, make sure component is connected.
  • Page 31: Writing And Reading Jpeg Files

    DOC-USR-0049-03 10.0 WRITING AND READING JPEG FILES Writing and reading JPEG files is an option in the File Read/Write portion of the Z3-DM368-RPS. The example applications can be run as follows: (1) Bring up the File Read/Write menu as described in steps (1)-(4) of Section 9.0.
  • Page 32: Figure 25 Running Jpeg Decode

    “N” key to show the next picture (and cause the slide show to run forward). Figure 25 Running JPEG Decode ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 33: Exercising Other Features

    (such as generating debug logs) can also be gained from the options in the serial interface. Details on the other parameters available can be found on page 42. ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 34: Running The Code You Built On The Board

    (1) Run the Web Interface (Steps (1)-(9) in Section 7.0). (2) Select “UPDATE” from the top of the GUI: Click here Figure 26 Updating the Device Firmware from the Web Interface ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 35: Figure 27 Browsing For The Image File In The Updater

    It is also possible to update the firmware using an SD card with the ZWriter tool. Details can be found in Appendix B on page 49. ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 36: Method 2: Running Your Code Through Tftp/Nfs

    (b) Create /export/users and set it up: # mkdir –p /export/users # mount –bind /export/users /home/users (c) Add the following line to /etc/fstab: /home/users /export/users none bind 0 ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 37 “uboot_envDM368.txt” (here emacs is used – any text editor can be used). # cd /home/z3/z3-dm368 # cd z3-dm368-RPS-{date} # cd u-boot # emacs u-boot_envDM368.txt ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 38: Figure 28 Editing U-Boot_Envdm368.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_envDM368.txt /home/z3 ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 39: Figure 29 Minicom Terminal Settings

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

    DM365 EVM:> boot You should see the Z3-DM368-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 C: Troubleshooting.
  • Page 41: Other Available U-Boot Commands

    Get kernel from NAND update-kernel Write a new kernel image in NAND from TFTP update-ram0 Write a new root file system in NAND from TFTP ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 42: Summary Of Options

    Used to reduce the frame rate. For example, selecting “1/2” frame decimation for 30fps input would cause a bitstream encoded at 15fps. ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 43 D1 PAL (720x576), D1 NTSC (720x480), 16:9 PAL (1024x576), 4/5 720p (1024x720), 720p (1280x720), 3/4 1080i (1440x1080), 1080p (1920x1080), and 1080i (1920x1080) “Follow input” = Generate encoder resolution based on capture resolution detected ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 44: The Decoder Settings Tab

    Stop the current decode session. [Button] Start Decoder ----- Start a decode session. [Button] Status IDLE, STOPPED, RUNNING Current status of the decoder. ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 45: Both Encode And Decode

    Settings [Button] Load User Settings ----- Load user settings previously saved. [Button] Save User Settings ----- Save current settings for later use. [Button] ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 46: Appendix A: Example Of A Successful Boot Log

    Waiting for /dev to be fully populated...done. /etc/rc.d/rcS.d/S07mountvirtfs: line 151: readlink: not found Mounting local filesystems: mount mount: mounting /dev/root on / failed: ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 47 Lease of 192.168.0.3 obtained, lease time 28800 adding dns 192.168.0.1 Z3 Finder 1.2 ** Point your browser to http://192.168.0.3 Wireless device not found ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 48 W -- Save User Settings X -- Exit Y -- Load Factory Default Settings Z -- Exit to record script +============================================================== ---- enter option: ____________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 49: Appendix B: Updating Using An Sd Card

    APPENDIX B: Updating Using an SD Card Besides using the Web interface, it is also possible to update the firmware of the Z3-DM368-RPS using an SD card. The process requires a Windows PC, an SD card, and the ZWriter tool (included with the RPS). The process for updating via SD card is as follows: (1) Locate the img update file received from Z3 and copy it to your Windows computer.
  • Page 50: Appendix C: Troubleshooting

    -Is the Ethernet cable plugged in to the Z3-DM368-APP board solidly (do you see the link light)? -Does the Z3-DM368-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-DM368-RPS and the PC running VLC have the same netmask? (Default value is 255.255.0.0)
  • Page 51 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. 8th St. STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...

Table of Contents