background image

Chapter

2

2

H/W Installation

This chapter gives mechanical 
and connector information on the 
EPC-R4680.
Sections include:

Jumper Information

Connector Information

Mechanical Drawing

Quick Start Guide

Summary of Contents for EPC-R4680

Page 1: ...User Manual EPC R4680 RISC Based BOX PC with ROCKCHIP ARM Cortex A17 RK3288 Quad Core Processer ...

Page 2: ... no liability under the terms of this warranty as a consequence of such events Because of Advantech s high quality control standards and rigorous testing most of our customers never need to use our repair service If an Advantech product is defec tive it will be repaired or replaced at no charge during the warranty period For out of warranty repairs you will be billed according to the cost of repla...

Page 3: ...allation If this equipment does cause harmful interfer ence to radio or television reception which can be determined by turning the equip ment off and on the user is encouraged to try to correct the interference by one or more of the following measures Reorient or relocate the receiving antenna Increase the separation between the equipment and receiver Connect the equipment into an outlet on a cir...

Page 4: ... 1 83cm 170203183C Power Code 3P Europe 183cm 1700019146 Power Cord CCC 3P 10A 250V 183cm 1700021565 01 Debug Cable SQF MSDM1 8G 21C SQF MICRO SD C10 MLC 8G 25 85 C EWM W167M201E WIFI BT4 0 Module RTL8723BS SDIO 1750008800 01 Antenna Cable R P SMA M to MHF4 10cm 1750008671 01 Dipole Ant SMA M R 2 4 5G 2 5 4dBi BLK 109mm 968AD00081 Qucetel EC20CEFA Mini PCIe 4G module 1750006264 Antenna Cable SMA F...

Page 5: ...y liquid into an opening This may cause fire or electrical shock 13 Never open the equipment For safety reasons the equipment should be opened only by qualified service personnel 14 If one of the following situations arises get the equipment checked by service personnel The power cord or plug is damaged Liquid has penetrated into the equipment The equipment has been exposed to moisture The equipme...

Page 6: ...EPC R4680 User Manual vi ...

Page 7: ...13 2 3 9 DC IN 13 2 3 10 Audio Jack 13 2 3 11 LAN 14 2 3 12 HDMI 14 2 3 13 OTG 15 2 3 14 Antenna 15 2 4 Quick Start of EPC R4680 16 2 4 1 Debug Port Connection 16 2 4 2 Debug Port Settings 16 Chapter 3 Software Functionality 17 3 1 Introduction 18 3 2 Set Up Build Environment 18 3 2 1 Install Docker 18 3 2 2 Getting Base Images 18 3 2 3 Getting Android Source Code 18 3 2 4 Building Android 6 0 1 i...

Page 8: ... Setup 29 3 10 1 WIFI 29 3 10 2 BT 30 3 10 3 3G 4G 31 3 10 4 Ethernet 32 Chapter 4 Advantech Services 35 4 1 RISC Design in Services 36 4 2 Contact Information 39 4 3 Global Service Policy 40 4 3 1 Warranty Policy 40 4 3 2 Repair Process 41 ...

Page 9: ...Chapter 1 1 General Introduction This chapter gives background information on the EPC R4680 Sections include Introduction Specifications ...

Page 10: ...ortex A17 high performance processor quad core up to 1 6 GHz Supports OpenGL ES 1 1 2 0 3 0 OpenCL 1 1 DirectX 11 Video decoder MPEG 1 MPEG 2 MPEG 4 H 263 H 264 AVS VC 1 VP8 MVC HEVC H 265 decoder 4k 60FPS Video encoder H 264 BP level4 0 MP HP level4 0 MVC and VP8 System Memory Support DDR3L 1333 MHz Capacity On board DDR3L 2GB Gigabit Ethernet Chipset TI DP83867 1 x 10 100 1000 Mbps Peripheral In...

Page 11: ...g whole package 1 2 3 Electrical Specifications Power supply type DC in 12V RTC Battery Typical voltage 3V Normal discharge capacity 210 mAh 1 3 Environmental Specifications Operating Temperature 0 55 C 32 131 F Operating Humidity 0 90 relative humidity non condensing Storage Temperature 40 85 C 40 185 F Storage Humidity 60 C 95 RH Non condensing ...

Page 12: ...EPC R4680 User Manual 4 ...

Page 13: ...Chapter 2 2 H W Installation This chapter gives mechanical and connector information on the EPC R4680 Sections include Jumper Information Connector Information Mechanical Drawing Quick Start Guide ...

Page 14: ...EPC R4680 User Manual 6 2 1 Introduction The following sections show the external connectors and pin assignments for appli cations 2 2 EPC R4680 IO Overview ...

Page 15: ...tem power on off Please press over 1 second to power on off system 2 3 2 COM3 COM4 COM5 COM6 RS232 EPC R4680 supports 4 x RS232 with 4wires as COM3 COM4 COM5 COM6 Pins are defined below COM3 Pin Define COM4 Pin Define Pin Description 1 NC 2 RXD 3 TXD 4 NC 5 GND 6 NC 7 RTS 8 CTS 9 NC Pin Description 1 NC 2 RXD 3 TXD 4 NC 5 GND 6 NC 7 RTS 8 CTS 9 NC ...

Page 16: ...0 supports 5 x USB2 0 type A connectors USB 1 2 Pin Description 1 NC 2 RXD 3 TXD 4 NC 5 GND 6 NC 7 RTS 8 CTS 9 NC Pin Description 1 NC 2 RXD 3 TXD 4 NC 5 GND 6 NC 7 RTS 8 CTS 9 NC Pin Description 1 USB1 PWR 2 USB1 D 3 USB1 D 4 USB1 GND 5 USB2 PWR 6 USB2 D 7 USB2 D 8 USB2 GND ...

Page 17: ...l Chapter 2 H W Installation USB3 USB 4 5 2 3 4 Reset Button Here is reset button for system reset Pin Description 1 USB3 PWR 2 USB3 D 3 USB3 D 4 UDB3 GND Pin Description 1 5V 2 USB_D 3 USB_D 4 GND 5 5V 6 USB_D 7 USB_D 8 GND ...

Page 18: ...ng is debug port You can set CN18 on board to configure the work mode Pins are defined below Pin Description 1 NC 2 RX 3 TX 4 NC 5 GND 6 NC 7 NC 8 NC 9 NC CN18 Console Mode Selection Part Number 1653003260 Footprint HD_3x2P_79 Description PIN HEADER 3x2P 2 0mm 180D M SMD 21N22050 Setting Pin Name 1 3 COM2 RS232 3 5 Console default ...

Page 19: ... board to configure the work mode Pins are defined below Pin Description 1 COM_DCD_a 2 COM_RX_a 3 COM_TX_a 4 NC 5 GND 6 NC 7 COM_RTS 8 COM_CTS 9 NC JSETCOM4 COM4 RS232 RS485 Mode Select Part number 1653007260 Footprint HD_7x2P_79 Description PIN HEADER 2x7P 2 0mm 180D M SMD 21N22050 Setting Function 2 4 8 10 11 13 12 14 RS232 Mode default 1 2 5 7 6 8 9 11 RS485 Mode ...

Page 20: ...lection Part Number 1653003260 Footprint HD_3x2P_79 Description PIN HEADER 3x2P 2 0mm 180D M SMD 21N22050 Setting Pin Name 2 4 COM2 RS485 Impedance off 4 6 COM2 RS485 Impedance on Pin Description 1 GPIO0 2 GPIO2 3 GPIO4 4 GPIO6 5 GND 6 GPIO1 7 GPIO3 8 GPIO5 9 GPIO7 ...

Page 21: ...CP R4680 supports 1 Line out and 1 Mic in Pin Description Pin Description 1 RED 9 5V 2 GREEN 10 GND 3 BLUE 11 N A 4 N A 12 DDC_DATA 5 GND 13 HSYNC 6 GND 14 VSYNC 7 GND 15 DDC_CLK 8 GND Pin Pin Name Pin Pin Name 1 Lineout R AMP_R 2 Lineout L AMP_R 3 AMP_R 4 AMP_R 5 AMP_AGND 6 GND_AUDIO 7 MIC_IN1_P 8 MIC_IN1_N 9 MIC_IN3_P 10 MIC_IN3_N ...

Page 22: ...I2 R7 MDI2 R8 MDI3 R9 MDI3 R10 GND L1 LAN1_100_LINK L2 LAN1_1000_LINK L3 Pull up to 3 3V L4 LAN1_ACT Pin Description Pin Description 1 HDMI _D2 11 GND 2 GND 12 HDMI _CLK 3 HDMI _D2 13 HDMI_CEC 4 HDMI_ D1 14 NC 5 GND 15 HDMI _CTRL_CLK 6 HDMI _D1 16 HDMI _CTRL_DAT 7 HDMI _D0 17 GND 8 GND 18 5V 9 HDMI _D0 19 HDMI _HPD 10 HDMI_CLK ...

Page 23: ...80 User Manual Chapter 2 H W Installation 2 3 13 OTG 2 3 14 Antenna Here are a total of five reserved openings for antenna to support WiFi 3G 4G GPS modules Pin Description 1 5V 2 USB_OTG_D 3 USB_OTG_D 4 ID 5 GND ...

Page 24: ...nication programs such as HyperTerminal Tera Term or Putty can be used in this case The example below describes the serial terminal setup using HyperTerminal on a Windows host 1 Connect EPC R4680 with your PC by using a serial cable 2 Open HyperTerminal on your Windows PC and select the settings as shown in Figure 2 7 3 After the boot loader is programmed on SD card insert power adapter connec tor...

Page 25: ...Chapter 3 3 Software Functionality This chapter details the software programs on the EPC R4680 plat form ...

Page 26: ...ker Before you use Docker to develop you have to install Docker on your platform Please refer to the Docker Installation Guide You are able to install Docker on Linux Cloud Windows and OS X In general you may choose to install on Ubuntu 3 2 2 Getting Base Images To get the images we provide you can use docker pull IMAGE REPOSITORY to get the images in the image list docker pull advrisc u14 04 rk32...

Page 27: ...b4680 userdebug To build boot loader Perform the following command in terminal console The one file RK3288UbootLoader_V2 30 10 bin will be located in directory To build kernel image Perform the following command in terminal console To build system image Perform the following command in terminal console All Android images will be generated in rockdev Image rsb4680 folder docker run it name android6...

Page 28: ...IO value 0 1 if GPIO pin define is output bin sh 1 home zengwei android_rk3288_androi6 0 kernel scripts gcc wrapper py Permis sion denied make 1 kernel bounds s Error 126 make prepare0 Error 2 make Waiting for unfinished jobs HOSTCC scripts dtc dtc parser tab o HOSTLD scripts dtc dtc make scripts Error 2 Solution chmod 555 kernel scripts gcc wrapper py cp repo manifests default xml manifest xml GP...

Page 29: ...s class gpio gpio219 edge NOTE rising Trigger on rising edge falling Trigger on falling edge both Trigger on both edges none Disable interrupt on both edges shell rsb4680 echo 219 sys class gpio unexport shell rsb4680 echo 219 sys class gpio export shell rsb4680 echo 220 sys class gpio export shell rsb4680 echo out sys class gpio gpio219 direction shell rsb4680 echo in sys class gpio gpio220 direc...

Page 30: ...er s transmit mode Usually the UART RTS signal is used to switch the transmitter on and off The COM2 defaults to the debug console which can be switched to RS232 by pin header short circuit CN18 1 and 3 COM Name HW Schematic Device Node Remark NA UART0 dev ttyS0 for BT Data COM5 COM1 dev ttyS1 RS232 COM1 COM2 dev ttyS2 Debug Port RS232 COM6 COM3 dev ttyS3 RS232 COM2 COM4 dev ttyS4 Support RS485 CO...

Page 31: ...23 EPC R4680 User Manual Chapter 3 Software Functionality 3 5 Audio Launch Sound Recorder for MIC Launch Video for Audio ...

Page 32: ... Manual 24 3 6 SD MMC Card 3 6 1 Browse the SD Android 6 Marshmallow also includes a built in file manager feature to browse the SD card Launch the Settings app Tap on Storage USB Tap on SD card to explore the files ...

Page 33: ...25 EPC R4680 User Manual Chapter 3 Software Functionality 3 7 USB DISK 3 7 1 USB Disk Status ...

Page 34: ...EPC R4680 User Manual 26 ...

Page 35: ... monitor supports audio the default output is from HDMI audio only The following settings are set to open the other audio together Power on Starting in Android Note EPC R4680 supports HDMI 2 0 the max resolution can up to 3840 x 2160 60Hz Monitor Model Acer S277HK Samsung UA55KU6310JXXZ shell rsb4680 su root rsb4680 setprop persist dual audio true root rsb4680 reboot ...

Page 36: ...gel05 1024 768 lvds g215hvn01 1920 1080 dual lvds p460hvn02 1920 1080 dual 30bits lvds lmt101dnmfdd 1024 600 lvds lmt150dngfdd 1024 768 HDMI optional hdmi 720p hdmi 1080p VGA edp optional edp 1024x768 edp 1920x1080 edp 1920x1200 rkboot setenv prmry_screen edp 1024x768 rkboot setenv extend_screen hdmi 720p Note This is the default setting rkboot setenv prmry_screen hdmi 720p rkboot setenv extend_sc...

Page 37: ...29 EPC R4680 User Manual Chapter 3 Software Functionality 3 10 Network Setup 3 10 1 WIFI 1 Click Settings 2 Turn on Wi Fi 3 Choose ESSID for example Advantech for guest ...

Page 38: ...30 4 Input correct password 5 Wi Fi connected 3 10 2 BT 1 Click Settings switch the Bluetooth switch to ON to turn on Bluetooth 2 Click any available devices to pair with 3 After pairing successfully you can now communicate ...

Page 39: ... Manual Chapter 3 Software Functionality 3 10 3 3G 4G 1 Insert SIM card restart 2 If you can t connect to the network please check the following settings A Settings More Cellular networks Access Point Names then Correct ...

Page 40: ... Click Settings Settings More Ethernet Configure Ethernet There are two of IP setting DHCP IP and static IP DHCP IP configuration is controlled by system Static IP There are five fields need to be filled IP Address netmask getway dns1 and dns2 ...

Page 41: ...33 EPC R4680 User Manual Chapter 3 Software Functionality ...

Page 42: ...EPC R4680 User Manual 34 ...

Page 43: ...Chapter 4 4 Advantech Services This chapter introduces Advan tech design in serviceability tech nical support and warranty policy for the EPC R4680 evaluation kit ...

Page 44: ...ers that helps develop carrier boards and differentiate embedded products and applications Full range of RISC product offerings Comprehensive document support Design Assistance Service Advantech provides a checklist for engineers to easily check their schematics and also review services based on customer carrier board schematics These services are preventative helping catch design errors before th...

Page 45: ... for many years and found that customers usually have the following questions when implementing modu lar designs General I O Design Capability Although customers possess the ability to perform vertical integration and have enough know how and core competitiveness in the professional application field the lack of expertise and experience in general power and I O design causes many chal lenges for t...

Page 46: ...d to assess RISC modules and test peripheral hardware Advantech provides a standard software Board Support Package BSP for RISC COM so that customers can define their product s specifications as well as verifying I O and performance at the same time We not only offer hardware planning and technology consulting but also soft ware evaluation and peripheral module recommendations such as WiFi 3G BT R...

Page 47: ...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 Furthermore Advantech s team can provide professional consulting services about further testing and equipment usage so ...

Page 48: ...d directly from ADVANTECH and the product is DOA 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 expen...

Page 49: ... is recommended to send cards without accessories manuals cables etc Remove any unnecessary components from the card such as CPU DRAM and CF Card If you send all these parts back because you believe they may be part of the problem please note clearly that they are included Otherwise ADVANTECH is not responsible for any items not listed Make sure the Problem Description is enclosed European Custome...

Page 50: ...h free repairs do not apply to products which have been misused abused or subjected to unauthorized disassembly modification placed in an unsuitable physical or operating environment improperly maintained by the customer or failure caused which ADVANTECH is not responsible whether by accident or other cause Please contact your nearest regional service center for detail service quotation Before we ...

Page 51: ... RMA returns from ADVANTECH to customers is selected by ADVANTECH Per customer requirement other express services can be adopted such as UPS FedEx and etc The customer must bear the extra costs of such alternative shipment If you require any special arrangements please indicate this when shipping the product to us ...

Page 52: ...ations are subject to change without notice 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 2018 ...

Reviews: