IBASE Technology IB113 User Manual

IBASE Technology IB113 User Manual

Wide temperature arm-based sbc with freescale i.mx6 cortex-a9 dual core 800mhz soc

Advertisement

Quick Links

Our company network supports you worldwide with offices in Germany, Austria,
Switzerland, Great Britain and the USA. For more information please contact:
FORTEC Elektronik AG
Hauptniederlassung
Lechwiesenstr. 9
86899 Landsberg am Lech
Telefon:
+49 (0) 8191 91172-0
Telefax:
+49 (0) 8191 21770
E-Mail:
sales@fortecag.de
Internet:
www.fortecag.de
FORTEC Elektronik AG
Büro Wien
Nuschinggasse 12
A-1230 Wien
Telefon:
+43 1 8673492-0
Telefax:
+43 1 8673492-26
E-Mail:
office@fortec.at
Internet:
www.fortec.at
The information contained in this document has been carefully researched and is, to the best
of our knowledge, accurate. However, we assume no liability for any product failures or
damages, immediate or consequential, resulting from the use of the information provided
herein. Our products are not intended for use in systems in which failures of product could
result in personal injury. All trademarks mentioned herein are property of their respective
owners. All specifications are subject to change without notice.
Manual
IB113
iBASE
FORTEC Elektronik AG
Büro West
Hohenstaufenring 55
50674 Köln
Telefon:
Telefax:
E-Mail:
Internet:
ALTRAC AG
(Tochter der FORTEC):
Bahnhofstraße 3
CH-5436 Würenlos
Telefon:
Telefax:
E-Mail:
Internet:
+49 (0) 221 272 273-0
+49 (0) 221 272 273-10
west@fortecag.de
www.fortecag.de
+41 (0) 44 7446111
+41 (0) 44 7446161
info@altrac.ch
www.altrac.ch

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IB113 and is the answer not in the manual?

Questions and answers

Summary of Contents for IBASE Technology IB113

  • Page 1 Manual IB113 iBASE Our company network supports you worldwide with offices in Germany, Austria, Switzerland, Great Britain and the USA. For more information please contact: FORTEC Elektronik AG FORTEC Elektronik AG Hauptniederlassung Büro West Lechwiesenstr. 9 Hohenstaufenring 55 86899 Landsberg am Lech 50674 Köln...
  • Page 2 IB113 Wide Temperature ARM-based SBC with Freescale i.MX6 Cortex-A9 Dual Core 800MHz SoC User s Ma ual 2015 DEC. V1.0c IBASE Technology Inc.
  • Page 3: This Page Is Intentionally Left Blank.quick Start Guide

    IB113 This page is intentionally left blank.
  • Page 4 To boot up with a different LVDS panel, please refer to Chapter 4.2.2. d. To make a recovery SD card (for IB113 advanced user only), please refer to Chapter 4. Note: different LVDS panels have different customization; please check with your sales contact.
  • Page 5: Table Of Contents

    TABLE OF CONTENTS This page is intentionally left blank.Quick Start Guide ............2 Introduction........................6 1.1. IB113 Introduction ......................6 1.2. IB113 Hardware Specifications ..................7 1.3. Optional Items ......................10 Jumper setting on IB113....................11 Software Setup ......................28 3.1.
  • Page 6 Android, name, logo, and other Android trademarks are property of Google Inc. Linux, trademarks or marks include all trade and service marks and logos owned by the Linux Foundation. All other product names or trademarks are properties of their respective owners. Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 7: Introduction

    IB113 1. Introduction 1.1. IB113 Introduction IB113 is a 3.5" Disk-Size SBC w/ ARM Base Freescale i.MX6 Cortex-A9 800Mhz CPU. IB113 fulfill industrial ambient operating temperature from -40 ℃ to +85℃. The device offers 3D graphics acceleration, while also supporting numerous peripherals, including RS232/422/485, CAN, USB, USB OTG, 1 ports, SATA, R/C touch interfaces, that are well suited for industrial applications.
  • Page 8: Ib113 Hardware Specifications

    1x 2nd 10/100 LAN 1x USB 2.0 Host (Type-A) 1x USB OTG (mini-USB Type-B) Edge I/O 1x COM RS-232/422/485 1x SD socket (up to 32GB) 1x DC-in jack 1x HDMI (Type-A) 1x Reset button Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 9 - LVDS cable: LCD314 Debug cable: - PK1-100A ( Please contact with iBASE sales) HSIB113-BGA-A Heat-sink for IB113 ‧ This specification is subject to change without prior notice. ‧ Each thermal solution should be considered by different system design specification.
  • Page 10 IBASE Technology Inc. I/O View Board Dimensions Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 11: Optional Items

    IB113 1.3. Optional Items If you have any optional item request, please contact Ibase sales dept. Item Specifications Part Number Remarks 4 OHM Speaker A057SPP3516K11000P 1.5W 10CM Power Supply 60W 12V A005PS060WFSP0101P USB OTG ( mini USB- 81 2- HEAD...
  • Page 12: Jumper Setting On Ib113

    [Important] Please check the jumpers, DIP, buttons and switches on IB113 before doing the panel connection and boot up. Jumpers are used on IB113 to select various settings and features according to your needs and applications. Contact your supplier if you have doubts about the best configuration for your needs.
  • Page 13 IB113 * IB113 full jumpers and connectors as blue words. * IB113A (with i.MX6 Solo 800Mhz CPU) has LAN (CN8), SATA (CN2, J3), Resisitve touch conn.(J2), CAN connector on IB113A...
  • Page 14 JP9: COM2 RS232, RS422, RS485 Selection Mode 2-4 Short RS232 3-5 Short 3-5 Short RS422 4-6 Short 1-3 Short RS485 4-6 Short Default setting is RS232 mode. JP9 setting for COM2. JP6: USB +3.3V/+5V Power Setting Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 15 IB113 Setting +3.3V Default setting is +5V. JP6 setting for J9. JP4: LVDS +3.3V/+5V Power Setting Setting +3.3V Default setting is +3.3V. ; JP4 setting for CH1,CH2.
  • Page 16 COM1 PORT: COM1 RS232 Connector (Debug Port, factory use only) Part Number: 0195-01-200-040 Description: Pin Header 2.0*2.0mm S/T Single Row 4pin Pin # Signal Name COM1 RX, Receive data COM1 TX, Transmit data GND, ground Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 17 IB113 COM2 : RS232/RS422/RS485 Serial Port Pin # Signal Name RS-232 RS-422 RS-485 DATA- DATA+ Ground Ground Ground Note: Please refer to JP9 setting for RS232, RS422 and RS485 mode selection. CH1,CH2: LVDS Display Connector Part Number: DF13-20DP-1.25V(95) Description: P1.25 SMD 20PIN Male 180D 2R...
  • Page 18 J2: Resistive Touch Panel Connector Part Number: 0110-161-050 Description: MINI BASE;DIP 180D MINI 5PIN Pin # Signal Name JTP_LR JTP_LL JTP_WIP JTP_UR JTP_UL CN7: 100/1Gb LAN1 (From Freescale i.MX6) CN8: 10/100Mb LAN2 (USB to Ethernet) Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 19 IB113 CN3,4: LED Backlight Control Connector Part Number: 0110-2610040 Description: JST-PH Type Wafer 2.0mm 4Pin Pin # Signal Name BKLT_VCC LCD_BKLT_EN LCD_BKLT_PWM J7: Speaker Right Out Connector Part Number: 0110-2610020 Description: Molex 53047 1.25mm Wafer S/T Type 2pin Pin #...
  • Page 20 Note: The maximun output power is 2 W with 4 Ω speaker or 1.4 W with 8 Ω speaker JMIC1: Microphone Connector Part Number: 0110-2610020 Description: Molex 53047 1.25mm Wafer S/T Type 2pin Pin # Signal Name MIC_IN Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 21 IB113 J1: Digital I/O 4 In/4 Out Connector Part Number: 0196-01-200-120 Description: MALE HD;DIP MINI 180D 12PIN 2R Signal Name Pin # Pin # Signal Name +3.3V GPIO_0 GPIO_1 GPIO_2 GPIO_3 GPIO_4 GPIO_5 GPIO_6 GPIO_7 GPIO_8 GPIO_9 Note: All In/Out signals level are 3.3V .
  • Page 22 SATA_TXP SATA_TXN SATA_RXN SATA_RXP SW2: Push Button for Hardware Reset BAT: 3.0V Lithium Battery Connector Part Number: 0110-2610020 Description: Molex 53047 1.25mm Wafer S/T Type 2pin Pin # Signal Name +VCC Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 23 IB113 CN9: 12V~24V Power Connector This connector supplies the system board operating voltage. Pin 1 Pin 2 Pin # Signal Name +12V ~ +24V J10: 12V~24V Power Connector Pin # Signal Name +12V ~ +24V Note: J10 signals are same as CN9.
  • Page 24 J9: USB2.0 Connector Part Number: B4B-PH-K-S(LF)(SN) Description: Mini Base;DIP S 2mm 4P Pin # Signal Name +5V / +3.3V Default setting is +5V. Please refer to JP6 setting for +5V and +3.3V selection. Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 25 IB113 J6: Line Out Connector Part Number: 0110-2610030 Description: Molex 53047 1.25mm Wafer S/T Type 3pin Pin # Signal Name LINE_OUTL LINE_OUTR J5: CANBUS Connector Part Number: 0126-01-203-080 Description: 2.54*2.54mm S/T Dual Rows 2*4pin Signal Name Pin # Pin #...
  • Page 26 J11: HDMI connector Pin # Signal Name TX2+ TX2- TX1+ TX1- TX0+ TX0- TXC+ TXC- * It is strongly suggested to insert HDMI cable and HDMI panel before system power on. Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 27 IB113 J4: Mini PCIE Connector Signal Name Pin # Pin # Signal Name +3.3V PCIE_CLK1_N PCIE_CLK1_P +3.3V RESET# PCIE_RXM +3.3V PCIE_RXP I2C2_SCL PCIE_TXM I2C2_SDA PCIE_TXP USB2.0 D- USB2.0 D+ +3.3V +3.3V +3.3V...
  • Page 28 IBASE Technology Inc. Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 29: Software Setup

    IB113 3. Software Setup Basically, the IB113 is preloaded O.S (Android / Linux) into eMMC by default. Connect the HDMI with IB113, and 9~36V power directly. 3.1. Make a Recovery SD Card (for advanced user only) For advanced user who has Ibase standard image file, refer to this chapter to prepare the recovery boot-up “D ard.
  • Page 30 And then, flash the Android/ Linux image into your SD card in your PC (Windows). 6. Please check the boot device switch and make sure it can boot from SD Card SW1: System Boot Configuration (factory use only) Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 31 PCB will be formatted and the OS will be installed while the progress bar shows 100% complete. Remove the power and the recovery SD. Remember to change the boot up device to EMMC by SW1. Connect the power and boot up the IB113, you will see the Linux/ Android boot up pages.
  • Page 32: Parameter Setting On U-Boot

    IBASE Technology Inc. 3.2. Parameter Setting on U-boot IB113 supports HDMI output by default. If you have any other LVDS panel to be customized, please contact Ibase sales or FAE staff. 3.2.1. Preparation (debug console) The COM1 (Tx1, Rx1) is the default debug port. Check that it can be connected to (RX, Tx) in your PC environment.
  • Page 33: Display Setting Command For Linux And Android

    IB113 3.2.2. Display setting command For Linux and Android With the debug port, follow the reference command examples to help you to be (for advanced software engineers only) familiar with display modification. Command to set HDMI output (default is auto-detect):...
  • Page 34 - If the resolution of LVDS panel is > 1366 x 768, Dual-Link LVDS mode will be activated automatically by default. (ex.1920x1080), - For any other configurations, please contact iBASE sales, or FAE support. Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 35: Bsp User Guide ( For Advanced Software Engineer Only )

    IB113 4. BSP User Guide ( for advanced software engineer only ) This Chapter is an example only, and it is mainly for advanced SW engineers to build the image for IBASE ARM PCB. Any other modification, new device or driver should be handled carefully.
  • Page 36: Building U-Boot

    202752 bytes (203 kB) copied, 0.000471782 s, 430 MB/s 197+1 records in 197+1 records out 202448 bytes (202 kB) copied, 0.00698078 s, 29.0 MB/s root@u1004x64:~/IB113_BSP/linux/uboot-imx# Note: **** If the building process is successful, u-boot.bin file will be generated. **** Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 37: Building Kernel

    IB113 4.1.4. Building kernel # kernel source file is IB sp_kernel_uboot_src_XXXXXX.tar. z , XXXXXX is release date, assume kernel source file is in /root/Downloads/ folder: cd ~/IB113_BSP/linux/ tar Jxf ~/Downloads/IB113bsp_linux_kernel_src_141105.tar.xz cd linux-3.0.35/ ./mx.sh ib113_defconfig;./mx.sh ./mx.sh modules_install root@u1004x64:~# cd ~/IB113_BSP/linux root@u1004x64:~/IB113_BSP/linux# tar Jxf ~/Downloads/IB113bsp_linux_kernel_src_141105.tar.xz...
  • Page 38: Build Ramdisk Image (Option.)

    7+0 records in 7+0 records out 7340032 bytes (7.3 MB) copied, 0.00492305 s, 1.5 GB/s 13028+0 records in 13028+0 records out 6670336 bytes (6.7 MB) copied, 0.128988 s, 51.7 MB/s root@u1004x64:~/IB113_BSP/linux# Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 39: Install Linux To Sd Card

    IB113 4.1.6. Install Linux to SD card Insert an empty SD card with at least 8GB size and put it in a card reader connecting to your host PC. Assume your SD card is /dev/sdf on your x86 host This installer script will destroy every data in your SD card, please make sure file already backup that you needed.
  • Page 40: Booting With Your Sd Card

    If you want change to other monitor (or display panel) type, please reference section 3.2.2 to setting video output command for want. After that, prepare your LCD, power off and power on again. You can see Ubuntu Linux is running on monitor. Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 41: Reference Code

    IB113 5. Reference Code 5.1. How to use I2C in Linux Reading / writing i2c i2cget.c i2cget.c - A user-space program to read an I2C register. Copyright (C) 2005-2012 Jean Delvare <jdelvare@suse.de> Based on i2cset.c: Copyright (C) 2001-2003 Frodo Looijaard <frodol@dds.nl>, and Mark D.
  • Page 42 "will interpret a write\nbyte command with PEC as a" "write byte data command, effectively writing a\n" "value into a register!\n"); dont++; fprintf(stderr, "I will read from device file %s, chip " Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 43 IB113 "address 0x%02x, ", filename, address); if (daddress < 0) fprintf(stderr, "current data\naddress"); else fprintf(stderr, "data address\n0x%02x", daddress); fprintf(stderr, ", using %s.\n", size == I2C_SMBUS_BYTE ? (daddress < 0 ? "read byte" : "write byte/read byte") : size == I2C_SMBUS_BYTE_DATA ? "read byte data" : "read word data");...
  • Page 44 Mark D. Studebaker <mdsxyz123@yahoo.com> Copyright (C) 2004-2012 Jean Delvare <jdelvare@suse.de> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 45 IB113 the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  • Page 46 == I2C_SMBUS_BYTE_DATA ? "byte" : "word"); if (pec) fprintf(stderr, "PEC checking enabled.\n"); fprintf(stderr, "Continue? [%s] ", dont ? "y/N" : "Y/n"); fflush(stderr); if (!user_ack(!dont)) { fprintf(stderr, "Aborting on user request.\n"); Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 47 IB113 return 0; return 1; int main(int argc, char *argv[]) char *end; const char *maskp = NULL; int res, i2cbus, address, size, file; int value, daddress, vmask = 0; char filename[20]; int pec = 0; int flags = 0; int force = 0, yes = 0, version = 0, readback = 0;...
  • Page 48 = strtol(argv[flags + len + 4], &end, 0); if (*end || value < 0) { fprintf(stderr, "Error: Data value invalid!\n"); help(); if (value > 0xff) { fprintf(stderr, "Error: Data value out of range!\n"); help(); Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 49 IB113 block[len] = value; value = -1; break; default: value = -1; break; if (maskp) { vmask = strtol(maskp, &end, 0); if (*end || vmask == 0) { fprintf(stderr, "Error: Data value mask invalid!\n"); help(); if (((size == I2C_SMBUS_BYTE || size == I2C_SMBUS_BYTE_DATA) &&...
  • Page 50 == I2C_SMBUS_WORD_DATA ? 4 : 2, value, size == I2C_SMBUS_WORD_DATA ? 4 : 2, res); } else { printf("Value 0x%0*x written, readback matched\n", size == I2C_SMBUS_WORD_DATA ? 4 : 2, value); Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 51 IB113 exit(0); Utils/headers i2cbusses: Print the installed i2c busses for both 2.4 and 2.6 kernels. Part of user-space programs to access for I2C devices. /* For strdup and snprintf */ #define _BSD_SOURCE 1 #include <sys/types.h> #include <sys/stat.h> #include <sys/param.h> /* for NAME_MAX */ #include <sys/ioctl.h>...
  • Page 52 /* look in /proc/bus/i2c */ if ((f = fopen("/proc/bus/i2c", "r"))) { while (fgets(s, 120, f)) { char *algo, *name, *type, *all; int len_algo, len_name, len_type; int i2cbus; algo = strrchr(s, '\t'); *(algo++) = '\0'; Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 53 IB113 len_algo = rtrim(algo); name = strrchr(s, '\t'); *(name++) = '\0'; len_name = rtrim(name); type = strrchr(s, '\t'); *(type++) = '\0'; len_type = rtrim(type); sscanf(s, "i2c-%d", &i2cbus); if ((count + 1) % BUNCH == 0) { /* We need more space */ adapters = more_adapters(adapters, count + 1);...
  • Page 54 = more_adapters(adapters, count + 1); if (!adapters) return NULL; adapters[count].nr = i2cbus; adapters[count].name = strdup(s); if (adapters[count].name == NULL) { free_adapters(adapters); return NULL; adapters[count].funcs = adap_types[type].funcs; adapters[count].algo = adap_types[type].algo; count++; closedir(dir); done: return adapters; Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 55 IB113 static int lookup_i2c_bus_by_name(const char *bus_name) struct i2c_adap *adapters; int i, i2cbus = -1; adapters = gather_i2c_busses(); if (adapters == NULL) { fprintf(stderr, "Error: Out of memory!\n"); return -3; /* Walk the list of i2c busses, looking for the one with the right name */ for (i = 0;...
  • Page 56 "Error: Could not set address to 0x%02x: %s\n", address, strerror(errno)); return -errno; return 0; i2cbusses.h #ifndef _I2CBUSSES_H #define _I2CBUSSES_H #include <unistd.h> struct i2c_adap { int nr; char *name; const char *funcs; const char *algo; Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 57 IB113 struct i2c_adap *gather_i2c_busses(void); void free_adapters(struct i2c_adap *adapters); int lookup_i2c_bus(const char *i2cbus_arg); int parse_i2c_address(const char *address_arg); int open_i2c_dev(int i2cbus, char *filename, size_t size, int quiet); int set_slave_addr(int file, int address, int force); #define MISSING_FUNC_FMT "Error: Adapter does not have %s capability\n"...
  • Page 58: How To Use Gpio In Linux

    > /sys/class/gpio/gpio40/direction echo 0 > /sys/class/gpio/gpio40/value echo 1 > /sys/class/gpio/gpio40/value # GPIO example 2: Input (take GPIO 40 as example) echo 32 > /sys/class/gpio/export echo in > /sys/class/gpio/gpio40/direction cat /sys/class/gpio/gpio40/value Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 59: How To Use Watchdog In Linux

    IB113 5.3. How to use Watchdog in Linux #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <fcntl.h> int main(void) int fd = open("/dev/watchdog", O_WRONLY); int ret = 0; if (fd == -1) { perror("watchdog"); exit(EXIT_FAILURE); while (1) { ret = write(fd, "\0", 1);...
  • Page 60 01887800 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 |0123456789ABCDEF| 5.6. USB (flash disk) test Insert USB flash disk then assure it is in IB113 device list Note! This operation may damage the data stored in USB flash disk. Please make sure there is no critical data in the USB flash disk being used for this test.
  • Page 61 IB113 #echo -n "0123456789ABCDEF"|dd of=/dev/sdb bs=1024 count=1 seek=512 0+1 records in 0+1 records out #hexdump -C /dev/sdb -s 524288 -n 16 01887800 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 |0123456789ABCDEF| 5.7. SDcard test...
  • Page 62: Appendix D - Adb Configuration (For Android Only)

    Connect the Android Device into PC, uninstall your old driver named "Android Phone" in the device manager, then re-install driver by scanning and locating .inf file under the directory you unpack the IB113_ADB_usd_driver.7z manually: Unpack and install the driver Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 63 IB113 This is warning message should show If driver match. If driver can not found, check device properties had “MI_01” string, if “MI_01” does not exist, the ADB and ADB driver not work.
  • Page 64 IBASE Technology Inc. Restart the ADB server D:\adt-bundle-windows-x86_64-20130729\sdk\platform-tools> adb.exe kill-server D:\adt-bundle-windows-x86_64-20130729\sdk\platform-tools> adb.exe start-server Finally, test your ADB connection D:\ adt-bundle-windows-x86_64-20130729\sdk\platform-tools> adb.exe devices List of devices attached 0e46dbc9b9d40f17 device ps. 0e46dbc9b9d40f17 id device UUID. Copyright © 2013 IBASE Technology Inc. All Rights Reserved.
  • Page 65: Appendix D -Useful Links

    IB113 7. Appendix D –Useful links For more information about Android, please visit: http://developer.android.com/index.html For more information Freescale i.MX6 CPU , please visit: http://www.freescale.com/webapp/sps/site/homepage.jsp?code=IMX_HOME...
  • Page 66 Our company network supports you worldwide with offices in Germany, Austria, Switzerland, Great Britain and the USA. For more information please contact: FORTEC Elektronik AG FORTEC Elektronik AG Hauptniederlassung Büro West Lechwiesenstr. 9 Hohenstaufenring 55 86899 Landsberg am Lech 50674 Köln Telefon: +49 (0) 8191 91172-0 Telefon:...

Table of Contents