background image

 

 

 

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 

 

 

 
 
 
 

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:  

[email protected]

 

Internet:    

www.fortecag.de

 

FORTEC Elektronik AG

  

Büro West 
Hohenstaufenring 55 
50674 Köln 
 
Telefon:   +49 (0) 221 272 273-0 
Telefax:   +49 (0) 221 272 273-10 
E-Mail:  

[email protected]

 

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:  

[email protected]

 

Internet:  

www.fortec.at

 

 

ALTRAC AG

  

(Tochter der FORTEC):  
Bahnhofstraße 3 
CH-5436 Würenlos 
 
Telefon:   +41 (0) 44 7446111  
Telefax:   +41 (0) 44 7446161  
E-Mail: 

[email protected]

 

Internet:  

www.altrac.ch

 

 

 

Summary of Contents for IB113

Page 1: ...wide 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 4...

Page 2: ...www ibase com tw IBASE Technology Inc IB113 Wide Temperature ARM based SBC with Freescale i MX6 Cortex A9 Dual Core 800MHz SoC User s Ma ual 2015 DEC V1 0c...

Page 3: ...2 IB113 This page is intentionally left blank...

Page 4: ...ort debug function please check Chapter 4 2 1 COM1 debug cable setup information c 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...

Page 5: ...g command For Linux and Android 32 4 BSP User Guide for advanced software engineer only 34 4 1 Building BSP Source 34 4 1 1 Preparation 34 4 1 2 Installing Toolchain 34 4 1 3 Building u boot 35 4 1 4...

Page 6: ...escale Semiconductor Inc ARM Corte A9 is a trademark of ARM Holdings plc Android name logo and other Android trademarks are property of Google Inc Linux trademarks or marks include all trade and servi...

Page 7: ...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 1st 2nd LAN ports SATA R C touch inte...

Page 8: ...5 Disk Size SBC 102mm x 147mm CPU Freescale Cortex A9 i MX6 Dual 800MHz automotive grade CPU System Memory 1GB DDR3 on board Data Memory 4GB eMMC on board SD socket up to 32GB Display HDMI Dual CH 18...

Page 9: ...on IB113 3 5 inch SBC w Industrial Grade Freescale i MX6 dual core 800Mhz 1GB DDR3 2x LAN SD 1x COM ports Mini PCI E x1 slot 2x LVDS HDMI 8x GPIO 2x CAN 2nd LAN 4GB eMMC Resistive touch panel 4 5 wire...

Page 10: ...Copyright 2013 IBASE Technology Inc All Rights Reserved 9 IBASE Technology Inc I O View Board Dimensions...

Page 11: ...tions Part Number Remarks Speaker 4 OHM 1 5W 10CM A057SPP3516K11000P Power Supply 60W 12V A005PS060WFSP0101P USB OTG mini type Cable USB 81 2 HEAD 4C 120CM C501USB8105A12000P DSUB USB 4 Cable TEST 220...

Page 12: ...ches 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...

Page 13: ...12 IB113 IB113 full jumpers and connectors as blue words IB113A with i MX6 Solo 800Mhz CPU has no 2nd LAN CN8 SATA CN2 J3 Resisitve touch conn J2 CAN connector on IB113A...

Page 14: ...Boot Configuration factory use only SW1 Boot From 10101010 SD 01100110 EMMC JP9 COM2 RS232 RS422 RS485 Selection Mode JP9 RS232 2 4 Short 3 5 Short RS422 3 5 Short 4 6 Short RS485 1 3 Short 4 6 Short...

Page 15: ...14 IB113 JP6 Setting 3 3V 5V Default setting is 5V JP6 setting for J9 JP4 LVDS 3 3V 5V Power Setting JP4 Setting 3 3V 5V Default setting is 3 3V JP4 setting for CH1 CH2 3 1 1 3...

Page 16: ...g JP3 Setting 5V 12V efault setting is 5V JP3 setting for CH1 CH2 CN1 SD Card Connector COM1 PORT COM1 RS232 Connector Debug Port factory use only Part Number 0195 01 200 040 Description Pin Header 2...

Page 17: ...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 Signal Name Pin Pin Signal N...

Page 18: ..._PWM 17 18 LCD_VDD BKLT_VCC 19 20 BKLT_VCC J2 Resistive Touch Panel Connector Part Number 0110 161 050 Description MINI BASE DIP 180D MINI 5PIN Pin Signal Name 1 JTP_LR 2 JTP_LL 3 JTP_WIP 4 JTP_UR 5 J...

Page 19: ...m 4Pin Pin Signal Name 1 BKLT_VCC 2 LCD_BKLT_EN 3 LCD_BKLT_PWM 4 GND J7 Speaker Right Out Connector Part Number 0110 2610020 Description Molex 53047 1 25mm Wafer S T Type 2pin Pin Signal Name 1 SPEAKE...

Page 20: ...0 2610020 Description Molex 53047 1 25mm Wafer S T Type 2pin Pin Signal Name 1 SPEAKER_LEFT 2 SPEAKER_LEFT Note The maximun output power is 2 W with 4 speaker or 1 4 W with 8 speaker JMIC1 Microphone...

Page 21: ...2R Signal Name Pin Pin Signal Name 3 3V 1 2 GND GPIO_0 3 4 GPIO_1 GPIO_2 5 6 GPIO_3 GPIO_4 7 8 GPIO_5 GPIO_6 9 10 GPIO_7 GPIO_8 11 12 GPIO_9 Note All In Out signals level are 3 3V J3 SATA Power Part...

Page 22: ...y Inc CN2 SATA Bus Pin Signal Name 1 GND 2 SATA_TXP 3 SATA_TXN 4 GND 5 SATA_RXN 6 SATA_RXP 7 GND SW2 Push Button for Hardware Reset BAT 3 0V Lithium Battery Connector Part Number 0110 2610020 Descript...

Page 23: ...supplies the system board operating voltage Pin 1 Pin 2 Pin Signal Name 1 12V 24V 2 GND J10 12V 24V Power Connector Pin Signal Name 1 12V 24V 2 GND Note J10 signals are same as CN9 JUSB1 USB2 0 Type...

Page 24: ...nal Name 1 5V 2 D 3 D 4 ID 5 GND Note CN10 used as USB device while ID is floating CN16 support USB device only J9 USB2 0 Connector Part Number B4B PH K S LF SN Description Mini Base DIP S 2mm 4P Pin...

Page 25: ...m Wafer S T Type 3pin Pin Signal Name 1 LINE_OUTL 2 GND 3 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 Signal Name GND_ISO...

Page 26: ...IBASE Technology Inc J11 HDMI connector Pin Signal Name 1 TX2 2 GND 3 TX2 4 TX1 5 GND 6 TX1 7 TX0 8 GND 9 TX0 10 TXC 11 GND 12 TXC 13 NC 14 NC 15 NC 16 NC 17 GND 18 5V 19 NC It is strongly suggested...

Page 27: ...11 12 NC PCIE_CLK1_P 13 14 NC GND 15 16 NC NC 17 18 GND NC 19 20 3 3V GND 21 22 RESET PCIE_RXM 23 24 3 3V PCIE_RXP 25 26 GND GND 27 28 NC GND 29 30 I2C2_SCL PCIE_TXM 31 32 I2C2_SDA PCIE_TXP 33 34 GND...

Page 28: ...Copyright 2013 IBASE Technology Inc All Rights Reserved 27 IBASE Technology Inc...

Page 29: ...Linux Android platform Preparing the Recovery SD card to install the Linux Android image into eMMC Note all data in the eMMC will be erased for IB113 Please download the Recovery SD ard s i age FTP i...

Page 30: ...sdcard org downloads formatter_4 eula_windows ii Install and run the Formatting Tool on your machine iii Set FORMAT SIZE ADJUSTMENT option to ON in the Options menu iv Check that the SD card you inser...

Page 31: ...Make sure the HDMI is connected and connect the power supply to boot up the system 2 Recovery program on your SD card will execute automatically The eMMC on PCB will be formatted and the OS will be in...

Page 32: ...your PC environment ii Use 115200 bps 8n1 no flow control in Windows terminal for example Putty exe iii During system boot up you can press Enter to stop auto boot and modify your environment Note For...

Page 33: ...output setenv xres 1400 setenv yres 900 run sethdmi2 Command to set LVDS output to 1024x768 18bit setenv xres 1024 setenv yres 768 run setlvds18 run setlvds Command to set LVDS output to 1024x768 24bi...

Page 34: ...24bit setenv xres 1920 setenv yres 1080 run setlvds24 run dul2 Note If the resolution of LVDS panels is 1366x768 both LVDS0 LVDS1 will get the same frame from GPU clone mode by default If the user wa...

Page 35: ...and extract freescale toolchain gcc 4 6 2 glibc 2 13 linaro multilib 2011 12 tar xz assume your toolchain file is located at root home dir gcc 4 6 2 glibc 2 13 linaro multilib 2011 12 tar xz file in...

Page 36: ...P linux tar Jxf Downloads IB113bsp_linux_uboot_src_141105 tar xz root u1004x64 IB113_BSP linux cd uboot imx root u1004x64 IB113_BSP linux uboot imx mklnx uboot sh root IB113_BSP linux uboot imx fsl li...

Page 37: ...cd linux 3 0 35 root u1004x64 IB113_BSP linux linux 3 0 35 mx sh ib113_defconfig mx sh image size 7MiB 7 0 records in 7 0 records out 7340032 bytes 7 3 MB copied 0 00890854 s 824 MB s 13028 0 records...

Page 38: ...build root EL_IB112 ib113 linux linux 3 0 35 kernel drivers ata ahci ko ata_generic ko Todo packaged RAMdisk files into RAMdisk cpio image IB113_BSP linux IMG ramfs bin img sh root u1004x64 IB113_BSP...

Page 39: ...omment 0 1 Partition table 2 2047 u boot image 2048 18431 Reversed 18433 34816 Kernel and RAMdisk image 34818 end Linux root files system tar Jxf Downloads IB113bsp_rootfs_linux_141105 tar xz C IB113_...

Page 40: ...D Connect a debug a le to de ug port ith serial port 5 N 8 setti g o our PC s serial port progra su h hyperterminal teraterm Connect HDMI monitor Power on and you will see u boot prompt If you want ch...

Page 41: ...Y or FITNESS FOR A PARTICULAR PURPOSE See the GNU General Public License for more details You should have received a copy of the GNU General Public License along with this program if not write to the...

Page 42: ...ad word return 1 break if pec funcs I2C_FUNC_SMBUS_PEC I2C_FUNC_I2C fprintf stderr Warning Adapter does not seem to support PEC n return 0 static int confirm const char filename int address int size i...

Page 43: ...nd int res i2cbus address size file int daddress char filename 20 int pec 0 int flags 0 int force 0 yes 0 version 0 handle optional flags first while 1 flags argc argv 1 flags 0 switch argv 1 flags 1...

Page 44: ...rror errno close file exit 1 switch size case I2C_SMBUS_BYTE if daddress 0 res i2c_smbus_write_byte file daddress if res 0 fprintf stderr Warning write failed n res i2c_smbus_read_byte file break case...

Page 45: ...ude version h static void help void __attribute__ noreturn static void help void fprintf stderr Usage i2cset f y m MASK r I2CBUS CHIP ADDRESS DATA ADDRESS VALUE MODE n I2CBUS is an integer or an I2C b...

Page 46: ...pec int dont 0 fprintf stderr WARNING This program can confuse your I2C bus cause data loss and worse n if address 0x50 address 0x57 fprintf stderr DANGEROUS Writing to a serial EEPROM on a memory DI...

Page 47: ...e m if 2 flags argc maskp argv 2 flags flags break case r readback 1 break default fprintf stderr Error Unsupported option s n argv 1 flags help exit 1 flags if version fprintf stderr i2cset version s...

Page 48: ...d for I2C block writes n help if maskp fprintf stderr Error Mask not supported for block writes n help if argc int sizeof block flags 5 fprintf stderr Error Too many arguments n help else if argc flag...

Page 49: ...ask block len pec exit 0 if vmask int oldvalue switch size case I2C_SMBUS_BYTE oldvalue i2c_smbus_read_byte file break case I2C_SMBUS_WORD_DATA oldvalue i2c_smbus_read_word_data file daddress break de...

Page 50: ...rite_byte_data file daddress value break if res 0 fprintf stderr Error Write failed n close file exit 1 if pec if ioctl file I2C_PEC 0 0 fprintf stderr Error Could not clear PEC s n strerror errno clo...

Page 51: ...s h include linux i2c dev h enum adt adt_dummy adt_isa adt_i2c adt_smbus adt_unknown struct adap_type const char funcs const char algo static struct adap_type adap_types 5 funcs dummy algo Dummy bus f...

Page 52: ...ater as needed define BUNCH 8 n must match the size of adapters at calling time static struct i2c_adap more_adapters struct i2c_adap adapters int n struct i2c_adap new_adapters new_adapters realloc ad...

Page 53: ...in sysfs First figure out where sysfs was mounted if f fopen proc mounts r NULL goto done while fgets n NAME_MAX f sscanf n s n sysfs fstype if strcasecmp fstype sysfs 0 foundsysfs break fclose f if f...

Page 54: ...dde d_name if f fopen n r goto found found if f NULL int i2cbus enum adt type char px px fgets s 120 f fclose f if px fprintf stderr s read error n n continue if px strchr s n NULL px 0 if sscanf de d...

Page 55: ...rs adapters return i2cbus Parse an I2CBUS command line argument and return the corresponding bus number or a negative value if the bus is invalid int lookup_i2c_bus const char i2cbus_arg unsigned long...

Page 56: ...rno ENOENT fprintf stderr Error Could not open file dev i2c d or dev i2c d s n i2cbus i2cbus strerror ENOENT else fprintf stderr Error Could not open file s s n filename strerror errno if errno EACCES...

Page 57: ...apter does not have s capability n endif util c helper functions include stdio h include util h Return 1 if we should continue 0 if we should abort int user_ack int def char s 2 int ret if fgets s 2 s...

Page 58: ...4 44 5 45 6 46 7 47 8 201 9 202 5 2 2 GPIO Sample Code GPIO example 1 Output take GPIO 40 as example echo 32 sys class gpio export echo out sys class gpio gpio40 direction echo 0 sys class gpio gpio4...

Page 59: ...50 close fd return ret Note hexdump command 524288 come from dd bs 1024 seek 512 1024 512 524288 5 4 eMMC test Note This operation may damage the data stored in eMMC flash Please make sure there is no...

Page 60: ...C dev sda s 524288 n 16 01887800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5 5 2 Write and check echo n 0123456789ABCDEF dd of dev sda bs 1024 count 1 seek 512 0 1 records in 0 1 records out he...

Page 61: ...attern dev mmcblk1 to dev mmcblk0 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 5 7 1 Erase...

Page 62: ...x PC as well can also be found in the R10 3 x user guide 1 Download ADB driver from iBASE website like IB113_ADB_usb_driver 7z 2 Enable the USB debugging option on the i MX6 device System settings Dev...

Page 63: ...62 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: ...s x86_64 20130729 sdk platform tools adb exe kill server D adt bundle windows x86_64 20130729 sdk platform tools adb exe start server 5 Finally test your ADB connection D adt bundle windows x86_64 201...

Page 65: ...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 homepa...

Page 66: ...ww fortecag de FORTEC Elektronik AG B ro West Hohenstaufenring 55 50674 K ln Telefon 49 0 221 272 273 0 Telefax 49 0 221 272 273 10 E Mail west fortecag de Internet www fortecag de FORTEC Elektronik A...

Reviews: