Download Print this page
Advantech UBC-200 RISC Compact Box User Manual
Advantech UBC-200 RISC Compact Box User Manual

Advantech UBC-200 RISC Compact Box User Manual

Freescale arm cortex a9 i.mx6 processor based

Advertisement

Quick Links

User Manual
UBC-200 RISC
Compact Box
Freescale ARM® Cortex™ A9
i.MX6 Processor based

Advertisement

loading
Need help?

Need help?

Do you have a question about the UBC-200 RISC Compact Box and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Advantech UBC-200 RISC Compact Box

  • Page 1 User Manual UBC-200 RISC Compact Box Freescale ARM® Cortex™ A9 i.MX6 Processor based...
  • Page 2: Product Warranty (2 Years)

    No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable. How- ever, Advantech Co., Ltd.
  • Page 3: Declaration Of Conformity

     Consult the dealer or an experienced radio/TV technician for help. Technical Support and Assistance Visit the Advantech website at http://support.advantech.com where you can find the latest information about the product. Contact your distributor, sales representative, or Advantech's customer service center for technical support if you need additional assistance.
  • Page 4: Warnings, Cautions, And Notes

    Warnings, Cautions and Notes Warning! Warnings indicate conditions, which if not observed, can cause personal injury! Caution! Cautions are included to help you avoid damaging hardware or losing data. e.g. There is a danger of a new battery exploding if it is incorrectly installed. Do not attempt to recharge, force open, or heat the battery.
  • Page 5: Safety Instructions

    The equipment has been dropped and damaged. The equipment has obvious signs of breakage. DISCLAIMER: This set of instructions is given according to IEC 704-1. Advantech disclaims all responsibility for the accuracy of any statements contained herein. UBC-200 User Manual...
  • Page 6 UBC-200 User Manual...
  • Page 7: Table Of Contents

    Contents Chapter Product Overview ........1 Introduction ....................2 Features ....................3 Hardware Specifications ................3 Table 1.1: UBC-200 Specification ..........3 Block Diagram................... 4 Figure 1.1 UBC-200 Block Diagram ..........4 Chapter UBC-200 H/W installation....5 UBC-200 H/W Installation ................. 6 2.1.1 I/O Description ................
  • Page 8 Storage (SATA /eMMC/SD Card) ..........36 3.8.5 3G Sample Code ................ 37 Chapter System Recovery ......39 System Recovery..................40 Chapter Advantech Services......41 RISC Design-in Services ................ 42 Contact Information................. 44 Global Service Policy ................45 5.3.1 Warranty Policy................45 5.3.2 Repair Process ................
  • Page 9: Chapter 1 Product Overview

    Chapter Product Overview This chapter briefly introduces UBC-200 platform.
  • Page 10: Introduction

    Advantech also brings you the necessary tools such as S/W driver list and function test plans that will help reduce your design effort and speed up application development.
  • Page 11: Features

    Features UBC-200 adopts Freescale i.MX6 Dual Core Processor - in an ARM® Cortex™ A9 architecture as its SoC solution. It supports both Dual Core and Quad Core as its embedded SoC. UBC-200 is heatsink-less, compact, and reliable with great power management, and is a suitable solution for the following applications: ...
  • Page 12: Block Diagram

    Table 1.1: UBC-200 Specification Audio HDMI Power DC-input 9 ~ 24 V Normal Run: 2.5 W Power Consumption Full Run: 3.5 W Power Control 1 x Reset button - Standard mode Power Management - Sleep mode (Controlled by Software) Mechanical and Environmental Dimension 108 x 79 x 30 mm Weight...
  • Page 13: Chapter 2 Ubc-200 H/W Installation

    Chapter UBC-200 H/W installation This chapter introduces the startup procedures of the UBC- 200 hardware, including assembly and device integration. It also includes mechanical drawings. Be sure to read all safety precau- tions before you begin installation procedure.
  • Page 14: I/O Description

    UBC-200 H/W Installation 2.1.1 I/O Description Figure 2.1 UBC-200 I/O Connector A. DC-in Connector Users can connect DC power cord to this connector to power on UBC-200. The pin define is shown below. Figure 2.2 DC-in Connector B. RESET Button Press this button to reset UBC-200.
  • Page 15: Wall Mount Bracket Assembly

    DIN Rail Assembly You can optionally purchase DIN rail (P/N: 1960015198T011) for holding UBC-200. Please contact an Advantech salesperson for more details. Users can assemble a DIN rail to UBC-200’s metal chassis as shown below: Figure 2.4 DIN Rail Assembly...
  • Page 16: Ubc-200 Mechanical

    UBC-200 Mechanical 2.2.1 Top Cover Figure 2.5 UBC-200 Top Cover 2.2.2 Bottom Chassis Figure 2.6 UBC-200 Bottom Chassis UBC-200 User Manual...
  • Page 17: Wall Mount Bracket

    2.2.3 Wall Mount Bracket Figure 2.7 UBC-200 Wall Mount Bracket Quick Start 2.3.1 Building Connection of Linux Console UBC-200 connects to a host PC (Windows) by using the telnet function. In order to communicate with a host PC, a telnet communication program such as PuTTY is a must.
  • Page 18 UBC-200 User Manual...
  • Page 19 UBC-200 User Manual...
  • Page 20 Now the Linux console prompt should be displayed on the terminal screen. UBC-200 User Manual...
  • Page 21 UBC-200 User Manual...
  • Page 22: Test Tools

    Test Tools All test tools must be verified on UBC-200 system, please prepare required test fix- tures before verifying each specified I/O. If you have any problems, please contact your Advantech contact window for help. 2.4.1 eMMC Test Erase and check.
  • Page 23: Sd Test

    2.4.3 SD Test When booting from eMMC, you would see only below directories: #ls /dev/mmcblk* /dev/mmcblk0 /dev/mmcblk0boot0 /dev/mmcblk0boot1 /dev/mmcblk0p1 Insert SD card to SD card slot (SD1) and check your device again. You should be able to see more directories. /dev/mmcblk1 is the SD card storage. #ls /dev/mmcblk* /dev/mmcblk0 /dev/mmcblk0boot1 /dev/mmcblk1 /dev/mmcblk1p2/dev/mmcblk0boot0 /dev/mmcblk0p1 /dev/mmcblk1p1...
  • Page 24: Hdmi Test

    2.4.4 HDMI Test #gplay /tools/Advantech.avi Then you can see the video demo on the default display screen. Figure 2.8 HDMI Test 2.4.5 Mini PCIe (3 G and Wifi) Test The command used to test 3G module is as follows, the supported module P/N is EWM-C106FT01E.
  • Page 25: Opengl Test

    2.4.6 OpenGL Test Please follow the instructions below to test OpenGL on the UBC-200 platform: Change path to /opt/viv_samples/vdk. #cd /opt/viv_samples/vdk #ls tutorial* tutorial1 tutorial2_es20 tutorial4 tutorial5_es20 tutorial1_es20 tutorial3 tutorial4_es20 tutorial6 tutorial2 tutorial3_es20 tutorial5 tutorial7 Run tutorial7 for OpenGL ES 1.1. Using Vertex Buffer Objects (VBO) can substantially increase performance by reduc- ing the bandwidth required to transmit geometry data.
  • Page 26: Lan Test

    2.4.7 LAN Test You can set dynamic ip by following instructions: Open /etc/rc.d/rc.conf. Modify IPADDR0=”dhcp”. #reboot. Then you will see: #ifconfig eth0 Link encap:Ethernet HWaddr 00:04:9F:01:30:E0 inet addr:172.17.21.96 Bcast:172.17.21.255 Mask:255.255.254.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:129 errors:0 dropped:18 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:15016 (14.6 KiB) TX bytes:656 (656.0 B)
  • Page 27: Watchdog Timer Test

    The target computer (Client) IP address is 172.17.20.192, so we can use the below command to see if we can get any response from the client. #ping 172.17.20.192 PING 172.17.20.192 (172.17.20.192): 56 data bytes 64 bytes from 172.17.20.192: seq=0 ttl=128 time=7.417 ms 64 bytes from 172.17.20.192: seq=1 ttl=128 time=0.203 ms 64 bytes from 172.17.20.192: seq=2 ttl=128 time=0.300 ms --- 172.17.20.192 ping statistics ---...
  • Page 28: Photo Demo Test

    2.4.9 Photo Demo Test Execute the following commands to run the Photo demo application on UBC-200. #cd /tools #./fbv Advantech.jpg Then you can see the photo demo on the default display screen. Figure 2.9 Photo Demo UBC-200 User Manual...
  • Page 29: Chapter 3 Software Functionality

    Chapter Software Functionality This chapter details the Linux operating system on the UBC-200 platform.
  • Page 30: Introduction

    UBC-200 source code package (BSP) contains cross compiler, Linux source code, Uboot source code, root file system and some scripts used in OS development. Some of above components are developed by Advantech and the others are devel- oped by open source community. UBC-200 source code package is composed of six main folders: “cross_compiler”, “document”, “image”, “package”, “scripts”, and...
  • Page 31 3.2.1.1 cross_compiler You can use the cross compiler toolchain to compile the uImage and related applica- tions. (gcc version is 4.6.2 20110630) Toolchain directory structure is as follow: |-- bin // toolchain with prefix, such as arm-none-linux-gnueabi-gcc etc. |-- lib // library files used for toolchain itself, not for application |-- arm-fsl-linux-gnueabi |-- bin // toolchain without prefix, such as gcc.
  • Page 32 → just for sample test. 3.2.1.5 scripts Some scripts provided by Advantech will help you configure system or build the images more quickly. Please check them as follows: – setenv.sh → A script to setup the developing environment quickly.
  • Page 33: Set Up Build Environment

    Input user password #cd Desktop/ #tar xvf U200LBVxxxx.tar.bz2 (Unzip file) Advantech offer you a script to setup the developing environment quickly. You can refer following steps to setup your developing environment: Open "Terminal" on Ubuntu 10.04 LTS. $sudo su (Change to “root” authority)
  • Page 34: Build Instructions

    This section will guide you how to build the u-boot & Linux kernel. 3.4.1 Build u-boot Image Advantech has written a script to build the u-boot quickly. You can build u-boot image by follow below steps: Open "Terminal" on Ubuntu 10.04 LTS $sudo su (Change to “root”...
  • Page 35: Source Code Modification

    Source Code Modification This section will guide you how to use the Linux source code. You will see some examples of using BSP source code in this section. 3.5.1 Add a Driver to Kernel by menuconfig You can add a driver to kernel by menuconfig. Here is an example to guide you how to add a RTC driver (Seiko Instruments S-35390A) to Linux kernel.
  • Page 36 Select “Device Drivers”→”Real Time Clock”, you will see an option “Seiko Instruments S-35390A” on the list. Choose this option then exit and save your configuration. Figure 3.2 Selecting Seiko Instruments S-35390A Change directory to “source/linux-3.0.35/arch/arm/mach-mx6”, edit the “board- mx6q_ROM-7420.h” and “board-mx6q_advantech.c”. Please add below codes to source/linux-3.0.35/arch/arm/mach-mx6/board- mx6q_ROM-7420.h: /* I2C */...
  • Page 37: Change Ubc-200 Boot Logo

    If you already have a Linux system SD card, you can refer to the following steps to copy the content to onboard flash and then boot from onboard flash. Advantech also provides you a script “mkinand-linux.sh” to speed up the process of installing system image to onboard flash.
  • Page 38: Telnet Function

    On UBC-200 platform, type #cd /mk_inand On UBC-200 platform, type #./mkinand-linux.sh /dev/mmcblk0 On UBC-200 platform, type “y “(Start to copy files, wait until it shows [Done]) Power off and remove this SD card. Then you can boot from onboard flash without SD card. Telnet Function UBC-200 connects to a host PC (Windows) by using telnet function.
  • Page 39 UBC-200 User Manual...
  • Page 40 UBC-200 User Manual...
  • Page 41 3) Now the Linux console prompt should be displayed on the terminal screen. UBC-200 User Manual...
  • Page 42: Linux Software Ap And Testing On Ubc-200

    Linux Software AP and Testing on UBC-200 This section will guide you how to develop your own application under Linux environ- ment. First of all, an example “Hello World” will be shown. And then you will see some pre-installed test programs on UBC-200 will be introduced in this section. 3.8.1 “Hello World!”...
  • Page 43: Watchdog Timer Sample Code

    Insert the Linux system SD card to your developing computer. #cp helloworld /media/rootfs/tool (/media/rootfs is the mounted point of your Linux system SD card) Remove this SD card and insert it to UBC-200, then open serial console. On UBC-200 platform, type #root (Login) On UBC-200 platform, type #cd /tool On UBC-200 platform, type #./helloworld Now you should be able to see “Hello World!”...
  • Page 44: Network Setup

    ioctl(fd, WDIOC_GETTIMEOUT, &timeout); printf("Now reading back -- The timeout is %d seconds\n", timeout); while (1) { printf("WDT Time out counter:%d\n",count); if ((test !=0) && (test ==count)) { printf("Ping Watchdog (reset wdt)\n"); ioctl(fd, WDIOC_KEEPALIVE, 0); test=0; count=0; sleep(sleep_sec); count+=sleep_sec; return 0; void help_info(void) printf("Usage: wdt_driver_test <timeout>...
  • Page 45: Sample Code

    3.8.5 3G Sample Code The code of 3glink, we have tried this command in 3 G test (Section 1.8). #!/bin/bash echo "Send AT commands..." pppd connect 'chat -v -s -t 10 "" "AT" "" "ATDT*99#" "CONNECT" ""' user username password password /dev/ttyUSB2 460800 nodetach crtscts debug usepeerdns defaultroute &...
  • Page 46 UBC-200 User Manual...
  • Page 47: System Recovery

    Chapter System Recovery This chapter introduces how to recover Linux operating system if it is damaged accidentally.
  • Page 48: System Recovery

    System Recovery This section provides detail procedures of restoring the eMMC image. You can do system recovery following these steps if you destroy onboard flash image by acci- dent. Open "Terminal" on Ubuntu 10.04 LTS. $sudo su (Change to “root” authority). Input your password.
  • Page 49: Advantech Services

    Chapter Advantech Services This chapter introduces Advan- tech design in serviceability, tech- nical support and warranty policy for UBC-200.
  • Page 50: Risc Design-In Services

    Advantech has been involved in the industrial computer industry for many years and found that customers usually have the following questions when implementing modu- lar designs.
  • Page 51 RISC COM. Design stage When a product moves into the design stage, Advantech will supply a design guide of the carrier board for reference. The carrier board design guide provides pin defini- tions of the COM connector with limitations and recommendations for carrier board design, so customers can have a clear guideline to follow during their carrier board development.
  • Page 52: Contact Information

    RISC platforms. As a supportive role, Advantech primarily helps customers solve their problems in the testing process and will give suggestions and tips as well. Through an efficient verifi- cation process backed by our technical support, customers are able to optimize their applications with less fuss.
  • Page 53: Global Service Policy

    (Dead-on-Arrival). The DOA Cross-Shipment excludes any shipping damage, cus- tomized and/or build-to-order products. For those products which are not DOA, the return fee to an authorized ADVANTECH repair facility will be at the customers' expense. The shipping fee for reconstructive products from ADVANTECH back to customers' sites will be at ADVANTECH's expense.
  • Page 54 "Problem Description". Vague entries such as "does not work" and "failure" are not acceptable. If you are uncertain about the cause of the problem, please contact ADVANTECH's Application Engineers (AE). They may be able to find a solution that does not require sending the product for repair.
  • Page 55  ranty. If a product has been repaired by ADVANTECH, and within three months after such a repair the product requires another repair for the same problem, ADVANTECH will do this repair free of charge. However, such free repairs do not apply to products which have been misused, abused, or subjected to unauthorized disassembly/modification;...
  • Page 56 No part of this publication may be reproduced in any form or by any means, electronic, photocopying, recording or otherwise, without prior written permis- sion of the publisher. All brand and product names are trademarks or registered trademarks of their respective companies. © Advantech Co., Ltd. 2014...