I-Tech YMBAO100 User Manual

Integrated 3.5" arm-based sbc with cortex a9 i.mx6 dual 1ghz / on board 4g emmc / android 6.0.1

Advertisement

Quick Links

YMBAO100
Integrated 3.5" ARM-based SBC with Cortex A9 i.MX6
Dual 1Ghz / On board 4G eMMC / Android 6.0.1
User's Manual
Version 1.1
(June 2018)
i-Tech Company LLC
www.itechlcd.com

Advertisement

Table of Contents
loading

Summary of Contents for I-Tech YMBAO100

  • Page 1 YMBAO100 Integrated 3.5" ARM-based SBC with Cortex A9 i.MX6 Dual 1Ghz / On board 4G eMMC / Android 6.0.1 User’s Manual Version 1.1 (June 2018) i-Tech Company LLC www.itechlcd.com...
  • Page 2: Compliance

    Compliance In a domestic environment, this product may cause radio interference in which case users may be required to take adequate measures. This product has been tested and found to comply with the limits for a Class B device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation.
  • Page 3: Important Safety Information

    Important Safety Information Carefully read the precautions before using the board. Environmental conditions: • Use this product in environments with ambient temperatures between 0˚C and 60˚C. • Do not leave this product in an environment where the storage temperature may be below -40° C or above 85° C. To prevent from damages, the product must be used in a controlled environment.
  • Page 4: Warranty Policy

    -party parts: 12-month (1-year) warranty from delivery for the 3 -party parts that are not manufactured by i-Tech, such as CPU, CPU cooler, memory, storage devices, power adapter, panel and touchscreen. * PRODUCTS, HOWEVER, THAT FAIL DUE TO MISUSE, ACCIDENT,...
  • Page 5: Table Of Contents

    Table of Contents Compliance ..................iii Important Safety Information ............iv Warranty Policy ................v Technical Support & Services ............v Chapter 1 General Information ..........1 Introduction ..................2 Features ....................2 Packing List ..................3 Optional Accessories ................3 Specifications ..................
  • Page 6 2.5.12 C Connector (P26) ............22 Chapter 3 Software Setup ........... 23 Make a Recovery SD Card ..............24 3.1.1 Preparing the Recovery SD Card to Install Linux / Android Image into eMMC ..............24 3.1.2 Upgrade Firmware through the Recovery SD Card ....26 Display Parameter Setting in Kernel ..........27 Chapter 4 BSP Source Guide ..........
  • Page 7 This page is intentionally left blank. viii...
  • Page 8: Chapter 1 General Information

    Chapter 1 General Information The information provided in this chapter includes: • Features • Packing List • Specifications • Block Diagram • Board Overview • Board Dimensions...
  • Page 9: Introduction

    Introduction YMBAO100 is a 3.5" Disk-Size SBC w/ ARM Base NXP i.MX6 Cortex-A9 1 GHz CPU. The device offers 2D, 3D graphics and multimedia accelerations, while also supporting numerous peripherals, including RS-232/422/485, CAN bus, COM, GPIO, USB, USB OTG, LAN and audio interfaces.
  • Page 10: Packing List

    General Information Packing List Your YMBAO100 package should include the items listed below. If any of the items below is missing, contact the distributor or dealer from whom you purchased the product. YMBAO100 3.5” SBC • • This User Manual Optional Accessories i-Tech provides optional accessories as follows.
  • Page 11: Specifications

    Specifications YMBAO100 Product Name 3.5” SBC Form Factor System • Yocto (kernel 4.1) Operating System • Android 6.0 NXP Cortex™ A9 i.MX6 Dual Core 1 GHz SoC CPU Type CPU Speed 1 GHz • System memory: 1 GB DDR3 Memory •...
  • Page 12 General Information • 1 x COM RS-232/422/485 port (DB9 male connector) Serial • 2 x 2 wire UART (6-pin header) Audio Jack 1 x 10-pin header for Line-In & Line-Out 8-In/Out Digital IO • 1 x M.2 E2230 with USB, SDIO and UART •...
  • Page 13: Overview

    Overview Top View *The photos above are for reference only. Some minor components may differ. I/O View Name Name USB OTG Port USB 2.0 Ports COM RS-232/422/485 Port DC Jack HDMI Port Reset Button LED Indicators (from left to GbE LAN Port right: Power, Wireless, Programmable Setting)
  • Page 14: Dimensions

    General Information Dimensions Unit: mm...
  • Page 15 YMBAO100 Reference Heat Sink...
  • Page 16: Chapter 2 Hardware Configuration

    Chapter 2 Hardware Configuration This section provides information on jumper settings and connectors on the YMBAO100 in order to set up a workable system. The topics covered are: • M.2 card Installation • Jumper and connector locations • Jumper settings and information of connectors...
  • Page 17: Mini-Pcie & M.2 Card Installation

    Mini-PCIe & M.2 Card Installation To install the mini-PCIe and M.2 cards, perform the following steps. Locate the mini-PCIe slot, align the key of the mini-PCIe card to the interface, and insert the card slantwise. (Insert the M.2 card in the same way.) Push the mini-PCIe card down and fix it with 2 flat head screws.
  • Page 18: Setting The Jumpers

    Hardware Configuration Setting the Jumpers Set up and configure your YMBAO100 by using jumpers for various settings and features according to your needs and applications. Contact your supplier if you have doubts about the best configuration for your use. 2.2.1...
  • Page 19: Jumper & Connector Locations On Ibr117

    Jumper & Connector Locations on YMBAO100 Board diagram of YMBAO100...
  • Page 20: Jumpers Quick Reference

    Hardware Configuration Jumpers Quick Reference Function Jumper Name Page LVDS Power Setting LVDS Backlight Power Setting 2.4.1 LVDS Power Setting (P16) Function Pin closed Illustration 3.3V (default)
  • Page 21: Lvds Backlight Power Setting (P15)

    2.4.2 LVDS Backlight Power Setting (P15) Function Pin closed Illustration 3.3V (default)
  • Page 22: Connectors Quick Reference

    Hardware Configuration Connectors Quick Reference Function Connector Name Page RTC Lithium Cell Connector COM RS-232/422/485 Selection COM RS-232/422/485 Port LVDS Display Connector P8, P22 UART Connector LVDS Backlight Control Connector Audio Line-In & Line-Out Connector USB Hub Connector Digital I/O (GPIO) Connector SATA Power Connector CAN Bus Connector C Connector...
  • Page 23: Rtc Lithium Cell Connector (P2)

    2.5.1 RTC Lithium Cell Connector (P2) Assigment Assigment RTC_VCC Ground 2.5.2 COM RS-232/422/485 Selection (SW3) Panel Type RS-422 Full Duplex Pure RS232 (3T/5R) RS-485 Half Duplex (TX Low-Active) RS-485 Half Duplex (TX High-Active) RS-422 Full Duplex Pure RS232 (1T/1R) RS-485 Half Duplex Shutdown (Default)
  • Page 24: Com Rs-232/422/485 Port (P10)

    Hardware Configuration 2.5.3 COM RS-232/422/485 Port (P10) Refer to the SW3 setting for RS-232/422/485 mode selection. Assigment Assigment DCD, Data carrier detect DSR, Data set ready RXD, Receive data RTS, Request to send TXD, Transmit data CTS, Clear to send DTR, Data terminal ready Ground Assignment...
  • Page 25: Lvds Display Connector (P8, P22)

    2.5.4 LVDS Display Connector (P8, P22) Assigment Assigment LCD1_TX0_P LCD1_TX0_N Ground Ground LCD1_TX1_P LCD1_TX1_N Ground LCD_VDD LCD1_TX3_P LCD1_TX3_N LCD1_TX2_P LCD1_TX2_N Ground Ground LCD1_CLK_P LCD1_CLK_N BTL_PWM LCD_VDD BKLT_VCC BKLT_VCC...
  • Page 26: Uart Connector (P17)

    Hardware Configuration 2.5.5 UART Connector (P17) Assigment Assigment UART2_TXD UART3_TXD UART2_RXD UART3_RXD Ground Ground 2.5.6 LVDS Backlight Control Connector (P9) Assigment Assigment BKLT_VCC LCD_BKLT_PWM LCD_BKLT_EN Ground...
  • Page 27: Audio Line-In & Line-Out Connector (P14)

    2.5.7 Audio Line-In & Line-Out Connector (P14) Assigment Assigment Ground LINE_IN_R Ground LINE_IN_L Ground Ground LINE_OUT_L Ground LINE_OUT_R 2.5.8 USB Hub Connector (P13) Assigment Assigment Ground USB1_DP USB2_POWER USB1_DM USB2_DM USB1_POWER USB2_DP Ground...
  • Page 28: Digital I/O (Gpio) Connector (P18)

    Hardware Configuration 2.5.9 Digital I/O (GPIO) Connector (P18) Assigment Assigment 3.3V DIO5 DIO1 DIO6 DIO2 DIO7 DIO3 DIO8 DIO4 Ground 2.5.10 SATA Power Connector (P21) Assigment Assigment Ground Ground...
  • Page 29: Can Bus Connector (P25)

    2.5.11 CAN Bus Connector (P25) Assigment Assigment CAN1_TXD CAN2_TXD CAN1_RXD CAN2_RXD Ground Ground 2.5.12 C Connector (P26) Assigment Assigment I2C3_SCL TP_INT_B I2C3_SDA TP_RST_B...
  • Page 30: Chapter 3 Software Setup

    Chapter 3 Software Setup This chapter introduces installation of the following drivers: • Make a recovery SD card (for advanced users only) • Display parameter setting in kernel...
  • Page 31: Make A Recovery Sd Card

    Make a Recovery SD Card Note: This is for advanced users who has i-Tech standard image file only. Basically, YMBAO100 is preloaded with O.S (Android / Linux) into eMMC by default. Connect the TFT-LCD with IBR117 (or HDMI), and 12V power directly.
  • Page 32 Driver Installation Copy the image to the directory mfgtools-2.3\Profiles\Linux\OS Firmware\files\YMBAO100\. Select the script of mfgtools sdcard recovery.
  • Page 33: Upgrade Firmware Through The Recovery Sd Card

    Upgrade Firmware through the Recovery SD Card Copy the image files (what you want to upgrade) to U disk /YMBAO100/recovery/. Insert the recovery SD card and U disk to the board for upgrade. Power up the board and the recovery program starts.
  • Page 34: Display Parameter Setting In Kernel

    Driver Installation Display Parameter Setting in Kernel YMBAO100 supports HDMI output by default. If you use HDMI to display, run the command below. /home/root/display_config/config_displag_mode.sh 1 If you use LVDS 7” to display, run the command below. /home/root/display_config/config_displag_mode.sh 2 If you use LVDS 15” to display, run the command below.
  • Page 35: Chapter 4 Bsp Source Guide

    Chapter 4 BSP Source Guide This chapter is dedicated for advanced software engineers only to build BSP source. The topics covered in this chapter are as follows: • Preparation • Installing Toolchain • Building U-Boot • Building Kernel • Building RAMdisk Image (Optional) •...
  • Page 36: Preparation

    Decompress the YMBAO100 source file YMBAO100.tar.xz into "/home/" folder. Installing Toolchain Decompress Toolchain poky.tar into directory "/opt". Building U-Boot...
  • Page 37: Building Ramdisk Image (Optional)

    Building RAMdisk Image (Optional) Enter YMBAO100. cd /home/YMBAO100 Running the script below. ./build.sh YMBAO100 See the image in the "release" directory. ls release/YMBAO100-20170519-030011/ rootfs.tar.bz2 u-boot-imx6dlsabresd.imx zImage zImage-imx6dl-sabresd.dtb Install Linux to SD Card Refer to the section 3.1 Make a Recovery SD Card in chapter 3.
  • Page 38: Appendix

    Appendix This section provides the information of reference code.
  • Page 39: How To Use Gpio In Linux

    How to Use GPIO in Linux # Take gpio1_0 as example, export value:1*32+0=32 # GPIO example 1: Output echo 32 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio40/direction echo 0 > /sys/class/gpio/gpio40/value echo 1 > /sys/class/gpio/gpio40/value # GPIO example 2: Input echo 32 > /sys/class/gpio/export echo in >...
  • Page 40: Emmc Test

    Appendix eMMC Test Note: This operation may damage the data stored in eMMC flash. Before starting the test, make sure there is no critical data in the eMMC flash being used. • Read, write, and check MOUNT_POINT_STR="/var" #create data file dd if=/dev/urandom of=/tmp/data1 bs=1024k count=10 #write data to emmc dd if=/tmp/data1 of=$MOUNT_POINT_STR/data2 bs=1024k count=10...
  • Page 41: Usb (Flash Disk) Test

    USB (flash disk) Test Insert the USB flash disk then assure it is in YMBAO100 device list. Note: This operation may damage the data stored in the USB flash disk. Before starting the test, make sure there is no critical data in the eMMC flash being used.
  • Page 42: Sd Card Test

    Appendix SD Card Test When YMBAO100 is booted from eMMC, SD card is “/dev/mmcblk1” and able to see by “ls /dev/mmcblk1*” command: /dev/mmcblk1 /dev/mmcblk1p2 /dev/mmcblk1p4 /dev/mmcblk1p5 /dev/mmcblk1p6 When YMBAO100 is booted from SD card, replace test pattern “/dev/ mmcblk1” to “/dev/mmcblk0”.
  • Page 43: Rs-232 Test

    RS-232 Test //open ttymxc1 fd = open(/dev/ttymxc1,O_RDWR ); //set speed tcgetattr(fd, &opt); cfsetispeed(&opt, speed); cfsetospeed(&opt, speed); tcsetattr(fd, TCSANOW, &opt) //get_speed tcgetattr(fd, &opt); speed = cfgetispeed(&opt); //set_parity // options.c_cflag options.c_cflag &= ~CSIZE; options.c_cflag &= ~CSIZE; options.c_lflag &= ~(ICANON | ECHO | ECHOE | ISIG); /*Input*/ options.c_oflag &= ~OPOST;...
  • Page 44: Rs-485 Test

    Appendix RS-485 Test //open ttymxc1 fd = open(/dev/ttymxc1,O_RDWR ); //set speed tcgetattr(fd, &opt); cfsetispeed(&opt, speed); cfsetospeed(&opt, speed); tcsetattr(fd, TCSANOW, &opt //get_speed tcgetattr(fd, &opt); speed = cfgetispeed(&opt); //set_parity // options.c_cflag options.c_cflag &= ~CSIZE; options.c_cflag &= ~CSIZE; options.c_lflag &= ~(ICANON | ECHO | ECHOE | ISIG); /*Input*/ options.c_oflag &= ~OPOST;...
  • Page 45: Ethernet Test

    Ethernet Test • Ethernet FTP test #intall ftp sudo chmod 777 /home/root/testscript/ethernet/lftp_library/lftp sudo cp /home/root/testscript/ethernet/lftp_library/lftp /usr/bin/ sudo mkdir /usr/lib/lftp sudo mkdir /usr/lib/lftp/4.6.3a sudo cp /home/root/testscript/ethernet/lftp_library/*.so /usr/lib/lftp/4.6.3a sudo cp /home/root/testscript/ethernet/lftp_library/* /lib/ #lftp server 192.168.1.123 lftp 192.168.1.123 <<EOF #upload data to server 192.168.1.123 put data1 #download data from server 192.168.1.123 get data1...
  • Page 46: Lvds Test

    Appendix LVDS Test //Open the file for reading and writing framebuffer_fd = open("/dev/fb0", O_RDWR); // Get fixed screen information ioctl(framebuffer_fd, FBIOGET_FSCREENINFO, &finfo) // Get variable screen information ioctl(framebuffer_fd, FBIOGET_VSCREENINFO, &vinfo) // Figure out the size of the screen in bytes screensize = vinfo.xres * vinfo.yres * vinfo.bits_per_pixel / 8;...
  • Page 47: Hdmi Test

    HDMI Test • HDMI display test //Open the file for reading and writing framebuffer_fd = open("/dev/fb2", O_RDWR); // Get fixed screen information ioctl(framebuffer_fd, FBIOGET_FSCREENINFO, &finfo) // Get variable screen information ioctl(framebuffer_fd, FBIOGET_VSCREENINFO, &vinfo) // Figure out the size of the screen in bytes screensize = vinfo.xres * vinfo.yres * vinfo.bits_per_pixel / 8;...
  • Page 48: Sata (Hard Disk) Test

    Appendix SATA (hard disk) Test Insert the hard disk then assure it is in IBR117 device list. Note: This operation may damage the data stored in the hard disk. Before starting the test, make sure there is no critical data in the hard disk being used.
  • Page 49: Can Test

    CAN Test • Checking CAN GPIO #config can pin to gpio /home/root/testscript/can/memtool -32 0x20e0208 = 5 echo "106" > /sys/class/gpio/export #config gpio to out mode echo "out" > /sys/class/gpio/gpio106/direction #set gpio to 1 echo 1 > /sys/class/gpio/gpio106/value #set gpio to 1 echo 0 >...
  • Page 50: Test

    Appendix 3G Test • Checking 3G state #Check UC20 module state and sim state cat /dev/ttyUSB2 & • Testing 3G # the command will connect 3g to network # make sure that the simcard is inserted right, and ANT connected pppd call wcdma echo "ping www.baidu.com to make sure the network ok"...
  • Page 51: Onboard Connector Types

    Onboard Connector Types Connector Compatible Mating Function Onboard Type Name Type for Reference LVDS Display Hirose Hirose P8, P22 Connector DF13E-10DP-1.25V DF13E-10DP-1.25C TechBest UART Connector WT02M-30002-06132 SHR-03V-S-B LVDS Backlight TechBest Molex Control Connector 1024041008 51021-0400 Audio Line-In & JCTC E-Call Line-Out 11002H00-1P 0110-01-53101100...

Table of Contents