manualshive.com logo in svg
background image

www.ibase.com.tw 

 

 

IBASE Technology Inc. 

 

 

 

 
 

MRS-801-RE 

User Manual

Содержание MRS-801-RE

Страница 1: ...www ibase com tw IBASE Technology Inc MRS 801 RE User Manual...

Страница 2: ...MRS 801 RE User Manual 2 2 Copyright 2013 IBASE Technology Inc All Rights Reserved Revision Release Date V0 1 2014 09 24 V0 2 2017 11 10...

Страница 3: ...ithout the express written permission of IBASE Technology INC IBASE Products and corporate names mentioned in this manual may or may not be registered trademarks or copyrights of their respective comp...

Страница 4: ...nced user only 24 3 2 Parameter Setting on U boot 27 CHAPTER 4 BSP User Guide for advanced software engineer only 30 4 1 Building BSP Source 30 4 1 1 Preparation 30 4 1 2 Installing Toolchain 30 4 1 3...

Страница 5: ...e to the product Slots and openings on the chassis are for ventilation Do not block or cover these openings Make sure you leave plenty of space around the system for ventilation Never insert objects o...

Страница 6: ...rvice technician or your retailer The power cord or plug is damaged Liquid has been spilled into the system The system does not function properly even if you follow the operating instructions The syst...

Страница 7: ...onal Inc AMD and ATI are registered trademarks of AMD Corporation Microsoft Windows is a registered trademark of Microsoft Corporation FINTEK is a registered trademark of FINTEK Electronics Corporatio...

Страница 8: ......

Страница 9: ...ng performance and low power consumption It comes with 1GB DDR3 memory and one 4GB eMMC and one SD card slot for data storage It has one Gigabit Ethernet LAN PoE an RS 232 485 port and USB OTG that ar...

Страница 10: ...rd 1x SD card slot Expansion Slots None Power Supply 12V DC input POE LCD Size 8 TFT LCD LCD Color 262K LCD Resolution 800 x 600 LCD Brightness 250 LCD View Angle H V 140 120 Backlight MTBF 30 000 hrs...

Страница 11: ...Copyright 2013 IBASE Technology Inc All Rights Reserved 3 IBASE Technology Inc 1 2 2 Dimensions MRS 801 RE...

Страница 12: ...4 MRS 801 RE User Manual 1 2 3 I O View 1 3 Packing List Part No Description Quantity 1 60W power adaptor 1 pc...

Страница 13: ...Copyright 2013 IBASE Technology Inc All Rights Reserved 5 IBASE Technology Inc 1 4 Installation 1 4 1 Installing wall mount 1 Loosen one screw and then replace the mounting bracket...

Страница 14: ...6 MRS 801 RE User Manual 2 Install the mounting bracket on the wall 3 Hang up the MRS 801 RE on the wall and twist one screw as shown...

Страница 15: ...mm CPU Type Freescale i MX6 Solo Core Coretex A9 on Board CPU Speed 1GHz Memory DDR3 1GB on Board VGA Controller IPU v3H IPU Engine Edge IO 10 100 1000 LAN x1 RJ45 connector with POE support USB x 1 U...

Страница 16: ...8 MRS 801 RE User Manual I O View Board Dimensions...

Страница 17: ...102 before doing the panel connection and boot up Jumpers are used on IB102 to select various settings and features according to your needs and applications Contact your supplier if you have doubts ab...

Страница 18: ...or 8 wire 5 wire Default Pin 5 6 Short Open 4 or 8 wire 5 wire Default JP2 Touch USB UART Mode Setting 2 0mm JP2 USB Setting Function 1 3 2 4 5 6 Pin 1 3 Short Closed USB Pin 2 4 Short Closed JP2 UAR...

Страница 19: ...hts Reserved 11 IBASE Technology Inc JP3 Program Interface E CALL 0519 03 2161 120 Factory use only JP4 System reset GPIO Mode Setting 2 0mm JP4 Setting Function Pin 1 2 Short Closed GPIO Pin 2 3 Shor...

Страница 20: ...2 485 Mode Selection 2 0mm COM1 Mode SW4 S2 JP5 RS 232 Off Default 2 3 Short Default RS 485 On 2 3 Short RS 422 Off 1 2 Short SW4 S1 RS 422 485 Device Termination Selection SW4 S1 Device Mode On None...

Страница 21: ...13 IBASE Technology Inc J2 BL Voltage Setting 2 0mm J2 Setting Panel Voltage Pin 1 2 Short Closed 5V default Pin 2 3 Short Closed 12V J3 BL ADJ Level Setting 2 0mm J3 Setting Panel Voltage Pin 1 2 Sh...

Страница 22: ...14 MRS 801 RE User Manual J4 LVDS Panel Power Selection 2 0mm J4 Setting Panel Voltage Pin 1 2 Short Closed 5V Pin 2 3 Short Closed 3 3V default 1 3...

Страница 23: ...l Rights Reserved 15 IBASE Technology Inc 2 3 Connectors on IB102 CN1 SD Card Connector CN2 Capacitor Touch Pad Connector ENTERY 7083K F12N 04L Pin Signal Name 1 GND 2 NC 3 NC 4 NC 5 NC 6 GND 7 SDA 8...

Страница 24: ...16 MRS 801 RE User Manual CN3 USB 2 0 Connector CN4 10 100 1000Mb LAN PoE supported This RJ45 LAN connector supports PoE function...

Страница 25: ...OM1 DCD Data carrier detect 7 COM1 DTR Data terminal ready 8 COM1 CTS Clear to send 9 COM1 RTS Request to send 10 Boot by SD card detection COM1 is jumper less for RS 232 RS 422 and RS 485 and configu...

Страница 26: ...18 MRS 801 RE User Manual CN7 12V DC IN Power Connector CN8 Mini USB OTG Connector Pin Signal Name 1 5V 2 D 3 D 4 ID 5 GND Note CN8 will be used for USB device when ID is floating 1 5...

Страница 27: ...LVDS Connector HRS DF19G 30P 1H 54 Pin Signal Name 1 NC 2 LCD_VDD 3 LCD_VDD 4 NC 5 TX0 6 TX0 7 GND 8 TX1 9 TX1 10 GND 11 TX2 12 TX2 13 GND 14 CLK 15 CLK 16 GND 17 TX3 18 TX3 19 GND 20 GND 21 GND 22 GN...

Страница 28: ...al J1 Mic Connector WT04M 30003 02032 Pin Signal Name 1 MIC Input 2 GND J5 COM2 RS232 Connector Debug Port Connector 2 0mm Factory use only Pin Signal Name 1 COM2 RXD Receive Data 2 COM2 TXD Transmit...

Страница 29: ...2013 IBASE Technology Inc All Rights Reserved 21 IBASE Technology Inc J7 Resistive Touch Panel Connector 2 5mm Pin Signal Name 1 Touch XP 2 Touch XM 3 Touch SG 4 Touch YP 5 Touch YM J8 Mini PCI E Conn...

Страница 30: ...ector 2 0mm Signal Name Pin Pin Signal Name 3 3V 1 2 GPIO2 GPIO1 3 4 GPIO5 GPIO3 5 6 GPIO8 GPIO7 7 8 Reset GPIO9 9 10 Watch Dog GPIO10 11 12 GPIO11 GPIO12 13 14 GND J11 USB2 0 Connector JST B4B PH K S...

Страница 31: ...ved 23 IBASE Technology Inc J12 Speaker Right Out Connector WT04M 30003 02032 Pin Signal Name 1 SPEAKER_RIGHT 2 SPEAKER_RIGHT J13 Speaker Left Out Connector WT04M 30003 02032 Pin Signal Name 1 SPEAKER...

Страница 32: ...ides 8 LVDS panel for users to prepare the software application pre development easily under Linux Android platform Preparing the Recovery SD card to install the Linux Android image into eMMC Note all...

Страница 33: ...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 inserted matches...

Страница 34: ...ormatted and the OS will be installed while the progress bar shows 100 complete 3 Remove the power and the recovery SD Remember to remove the special RJ45 dongle 4 Connect the power and boot up the IB...

Страница 35: ...ort Check that it can be connected to RX Tx in 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...

Страница 36: ...S U BOOT setenv bootcmd booti mmcX Where mmcX 1 means boot from SD card Where mmcX 2 means boot from eMMC device Command to set 8 LVDS panel default setenv bootargs console ttymxc0 115200 androidboot...

Страница 37: ...ase bootargs_mmc mmc dev 2 mmc read loadaddr 0x800 0x2000 bootm setenv bootargs_mmc setenv bootargs bootargs root dev mmcblk0p1 rootwait rw video mxcfb0 dev ldb IB102 XGA if RGB666 ldb sep0 video mxcf...

Страница 38: ...ully 4 1 Building BSP Source 4 1 1 Preparation Suggested Host Platform Ubuntu 10 04 x64 version Install necessary packages before build apt get install build essential uboot mkimage ia32 libs Note To...

Страница 39: ...Copyright 2013 IBASE Technology Inc All Rights Reserved 31 IBASE Technology Inc mkdir p opt freescale usr local cd opt freescale usr local tar xvf gcc 4 6 2 glibc 2 13 linaro multilib 2011 12 tgz...

Страница 40: ...32 MRS 801 RE User Manual...

Страница 41: ...Building u boot Assume your linux BSP u boot source is at linux_bsp u boot_2009_08 DL u boot cd linux_bsp u boot_2009_08 DL u boot make ARCH arm CROSS_COMPILE opt freescale usr local gcc 4 6 2 glibc 2...

Страница 42: ...34 MRS 801 RE User Manual make ARCH arm CROSS_COMPILE opt freescale usr local gcc 4 6 2 glibc 2 13 linaro multilib 2011 12 fsl lin aro toolchain bin arm none linux gnueabi mx6solo_sabresd_config...

Страница 43: ...Copyright 2013 IBASE Technology Inc All Rights Reserved 35 IBASE Technology Inc...

Страница 44: ...l make ARCH arm CROSS_COMPILE opt freescale usr local gcc 4 6 2 glibc 2 13 linaro multilib 2011 12 fsl lin aro toolchain bin arm none linux gnueabi Note If the building process is successful u boot bi...

Страница 45: ...Copyright 2013 IBASE Technology Inc All Rights Reserved 37 IBASE Technology Inc...

Страница 46: ...your linux kernel source is at linux_bsp kernel 3 0 35 cd linux_bsp kernel 3 0 35 make ARCH arm clean make ARCH arm CROSS_COMPILE opt freescale usr local gcc 4 6 2 glibc 2 13 linaro multilib 2011 12...

Страница 47: ...Copyright 2013 IBASE Technology Inc All Rights Reserved 39 IBASE Technology Inc If the building process is successful uImage file will be generated under arch arm boot directory...

Страница 48: ...40 MRS 801 RE User Manual...

Страница 49: ...r x86 host PC Copying the u boot Boot Loader Image sudo dd if u boot bin of dev sdb bs 512 seek 2 skip 2 conv fsync Copying the Kernel Image sudo dd if uImage of dev sdb bs 512 seek 2048 conv fsync 4...

Страница 50: ...rs instead of cylinders d repeat this until no partition is reported by the p command n create a new partition p create a primary partition 1 the first partition 16384 starting at offset sector 16384...

Страница 51: ...Copyright 2013 IBASE Technology Inc All Rights Reserved 43 IBASE Technology Inc sudo umount dev sdb1...

Страница 52: ...44 MRS 801 RE User Manual sudo mkfs ext4 dev sdb1...

Страница 53: ...ghts Reserved 45 IBASE Technology Inc Copy the target file system to SD card partition by extracting rootfs package to mounted directory assume compressed root file system is F600_linux_fs tgz mkdir t...

Страница 54: ...46 MRS 801 RE User Manual tar xvf linux_bsp F600_linux_fs tgz...

Страница 55: ...Copyright 2013 IBASE Technology Inc All Rights Reserved 47 IBASE Technology Inc Copying the file system takes several minutes The file system content is now on the media...

Страница 56: ...and you will see u boot prompt At u boot prompt press Enter before time out Type the following setting to boot from SD card LVDS panel setenv bootcmd_mmc run bootargs_base bootargs_mmc mmc dev 1 mmc r...

Страница 57: ...and or modify it under the terms of the GNU General Public License as published by the Free Software Foundation either version 2 of the License or at your option any later version This program is dis...

Страница 58: ...is an integer 0x03 0x77 n MODE is one of n b read byte data default n w read word data n c write byte read byte n Append p for SMBus PEC n exit 1 static int check_funcs int file int size int daddress...

Страница 59: ...printf stderr MISSING_FUNC_FMT SMBus read byte return 1 break case I2C_SMBUS_WORD_DATA if funcs I2C_FUNC_SMBUS_READ_WORD_DATA fprintf stderr MISSING_FUNC_FMT SMBus read word return 1 break if pec func...

Страница 60: ...SMBus chips 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 address 0...

Страница 61: ...s 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 case V version 1 break case f force 1 break cas...

Страница 62: ...f fprintf stderr Error Data address invalid n help else size I2C_SMBUS_BYTE daddress 1 if argc flags 4 switch argv flags 4 0 case b size I2C_SMBUS_BYTE_DATA break case w size I2C_SMBUS_WORD_DATA break...

Страница 63: ...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 I2C_SMBUS_WORD_DATA r...

Страница 64: ...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 See the GNU General Pub...

Страница 65: ...s SMBus block data n Append p for SMBus PEC n exit 1 static int check_funcs int file int size int pec unsigned long funcs check adapter functionality if ioctl file I2C_FUNCS funcs 0 fprintf stderr Er...

Страница 66: ...ISSING_FUNC_FMT SMBus block write return 1 break case I2C_SMBUS_I2C_BLOCK_DATA if funcs I2C_FUNC_SMBUS_WRITE_I2C_BLOCK fprintf stderr MISSING_FUNC_FMT I2C block write return 1 break if pec funcs I2C_F...

Страница 67: ...hip address 0x 02x data address n0x 02x filename address daddress if size I2C_SMBUS_BYTE fprintf stderr no data n else if size I2C_SMBUS_BLOCK_DATA size I2C_SMBUS_I2C_BLOCK_DATA int i fprintf stderr d...

Страница 68: ...rce 0 yes 0 version 0 readback 0 unsigned char block I2C_SMBUS_BLOCK_MAX int len handle optional flags first while 1 flags argc argv 1 flags 0 switch argv 1 flags 1 case V version 1 break case f force...

Страница 69: ...address 0 help daddress strtol argv flags 3 end 0 if end daddress 0 daddress 0xff fprintf stderr Error Data address invalid n help check for command mode if argc flags 4 Implicit c size I2C_SMBUS_BYTE...

Страница 70: ...p if size I2C_SMBUS_BLOCK_DATA size I2C_SMBUS_I2C_BLOCK_DATA if pec size I2C_SMBUS_I2C_BLOCK_DATA fprintf stderr Error PEC not supported for I2C block writes n help if maskp fprintf stderr Error Mask...

Страница 71: ...tf stderr Error Data value out of range n help break case I2C_SMBUS_BLOCK_DATA case I2C_SMBUS_I2C_BLOCK_DATA for len 0 len flags 5 argc len value strtol argv flags len 4 end 0 if end value 0 fprintf s...

Страница 72: ...slave_addr file address force exit 1 if yes confirm filename address size daddress value vmask block len pec exit 0 if vmask int oldvalue switch size case I2C_SMBUS_BYTE oldvalue i2c_smbus_read_byte f...

Страница 73: ...flush stderr if user_ack 1 fprintf stderr Aborting on user request n exit 0 if pec ioctl file I2C_PEC 1 0 fprintf stderr Error Could not set PEC s n strerror errno close file exit 1 switch size case I...

Страница 74: ...tl file I2C_PEC 0 0 fprintf stderr Error Could not clear PEC s n strerror errno close file exit 1 if readback We re done close file exit 0 switch size case I2C_SMBUS_BYTE res i2c_smbus_read_byte file...

Страница 75: ...back matched n size I2C_SMBUS_WORD_DATA 4 2 value 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 s...

Страница 76: ...types 5 funcs dummy algo Dummy bus funcs isa algo ISA bus funcs i2c algo I2C adapter funcs smbus algo SMBus adapter funcs unknown algo N A static enum adt i2c_get_funcs int i2cbus unsigned long funcs...

Страница 77: ...tic int rtrim char s int i for i strlen s 1 i 0 s i s i n i s i 0 return i 2 void free_adapters struct i2c_adap adapters int i for i 0 adapters i name i free adapters i name free adapters We allocate...

Страница 78: ...struct i2c_adap gather_i2c_busses void char s 120 struct dirent de dde DIR dir ddir FILE f char fstype NAME_MAX sysfs NAME_MAX n NAME_MAX int foundsysfs 0 int count 0 struct i2c_adap adapters adapter...

Страница 79: ...dapters more_adapters adapters count 1 if adapters return NULL all malloc len_name len_type len_algo if all NULL free_adapters adapters return NULL adapters count nr i2cbus adapters count name strcpy...

Страница 80: ...rder to get in i2c dev strcat sysfs class i2c dev if dir opendir sysfs goto done go through the busses while de readdir dir NULL if strcmp de d_name continue if strcmp de d_name continue this should w...

Страница 81: ...e if strcmp dde d_name continue if strncmp dde d_name i2c 4 sprintf n s s device s name sysfs de d_name dde d_name if f fopen n r goto found found if f NULL int i2cbus enum adt type char px px fgets s...

Страница 82: ...ount 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 ada...

Страница 83: ...4 goto done i2cbus adapters i nr if i2cbus 1 fprintf stderr Error I2C bus name doesn t match any bus present n done free_adapters adapters return i2cbus Parse an I2CBUS command line argument and retu...

Страница 84: ...c_address const char address_arg long address char end address strtol address_arg end 0 if end address_arg fprintf stderr Error Chip address is not a number n return 1 if address 0x03 address 0x77 fpr...

Страница 85: ...i2cbus i2cbus strerror ENOENT else fprintf stderr Error Could not open file s s n filename strerror errno if errno EACCES fprintf stderr Run as root n return file int set_slave_addr int file int addr...

Страница 86: ...apters 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...

Страница 87: ...tdin return 0 Nack by default switch s 0 case y case Y ret 1 break case n case N ret 0 break default ret def Flush extra characters while s 0 n int c fgetc stdin if c EOF ret 0 break s 0 c return ret...

Страница 88: ...80 MRS 801 RE User Manual Version h define VERSION 3 1 1...

Страница 89: ...38 8 39 9 81 10 82 11 40 12 41 1 2 2 GPIO Sample Code GPIO example 1 Output take GPIO 32 as example echo 32 sys class gpio export echo out sys class gpio gpio32 direction echo 0 sys class gpio gpio32...

Страница 90: ...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 if ret 1...

Страница 91: ...can flash the current SD image system standard or customized by user to eMMC by using the following method Use fdisk l command to check current storage devices current boot device is represented as d...

Страница 92: ...zip in your Android BSP release package If you can t find this file in your current package please get the R10 3 x release for i MX5x and unpack it 4 File tetherxp inf in the unpacked android_usb_fsl...

Страница 93: ...3 IBASE Technology Inc All Rights Reserved 85 IBASE Technology Inc 8 Finally test your ADB connection C Program Files Android android sdk platform tools adb devices List of devices attached 0123456789...

Страница 94: ...pendix 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...

Отзывы: