background image

23

EPC-R6410 Android User Manual

Chapter 3

S

oftware

Functionality

3.4

SD Test

1.

When booting from eMMC, you will only see the below directories:

2.

Insert SD card to SD card slot (SD1) and check your device again. You should 
be able to see more directories. /dev/block/mmcblk1 is the SD card storage 

(Note: SD Card can have 2 partitions).

3.

Erase and check

4.

Write and check

Note!

1.

NXP i.MX6D/Q has a limitation on USB device collection, we rec-
ommend the follow brands: Logitech K120 / Lenovo K5819 LXH-
EKB-10YA / RAPOO 1800.Pro / Dell MS111-P / Microsoft Wired 
Keyboard 200 (Model:1406) and so on.

2.

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. If your U Disk size is small, the seek value 
needs to be small.

# ls /dev/block/mmcblk*

/dev/block/mmcblk0  /dev/block/mmcblk0boot0  /dev/block/mmcblk0boot1 /dev/block/
mmcblk0p1  /dev/block/mmcblk0p2  /dev/block/mmcblk0p3 /dev/block/mmcblk0p4  /
dev/block/mmcblk0p5  /dev/block/mmcblk0p6 /dev/block/mmcblk0p7  /dev/block/
mmcblk0p8

# ls /dev/block/mmcblk*
/dev/block/mmcblk0  /dev/block/mmcblk0boot0  /dev/block/mmcblk0boot1 /dev/block/
mmcblk0p1  /dev/block/mmcblk0p2  /dev/block/mmcblk0p3 /dev/block/mmcblk0p4  /
dev/block/mmcblk0p5  /dev/block/mmcblk0p6 /dev/block/mmcblk0p7  /dev/block/
mmcblk0p8  /dev/block/mmcblk1  /dev/block/mmcblk1p1  /dev/block/mmcblk1p2  /dev/
block/mmcblk1p3 /dev/block/mmcblk1p4  /dev/block/mmcblk1p5  /dev/block/
mmcblk1p6 /dev/block/mmcblk1p7  /dev/block/mmcblk1p8

# dd if=/dev/zero of=/dev/block/mmcblk1 bs=1024 count=1 seek=25118
1+0 records in
1+0 records out

# busybox hexdump -C /dev/block/mmcblk1 -s 25720832 -n 16
01887800  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

# echo -n "0123456789ABCDEF" | dd of=/dev/block/mmcblk1 bs=1024 count=1 
seek=25118
0+1 records in
0+1 records out

# busybox hexdump -C /dev/block/mmcblk1 -s 25720832 -n 16
01887800  30 31 32 33 34 35 36 37  38 39 41 42 43 44 45 46  |0123456789ABCDEF|

Note!

Please make sure parameter “seek” is equal to 25118 as indicated in 
the above codes. If you create the file to a wrong sector, it may damage 
the system.

Содержание EPC-R6410

Страница 1: ...User Manual EPC R6410 NXP ARM Cortex A9 i MX6Dual Quad Computer Box...

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

Страница 3: ...antenna Increase the separation between the equipment and receiver Connect the equipment into an outlet on a circuit different from that to which the receiver is connected Consult the dealer or an exp...

Страница 4: ...not used for a long time disconnect it from the power source to avoid damage by transient overvoltage 12 Never pour any liquid into an opening This may cause fire or electrical shock 13 Never open th...

Страница 5: ...define 9 2 3 5 CAN 10 Table 2 4 CAN 10 2 3 6 GPIO 10 Table 2 5 GPIO 10 2 3 7 DC In 11 2 3 8 Antenna 11 2 3 9 COM3 RS232 422 485 11 Table 2 6 COM3 pin define 11 2 3 10 HDMI 14 2 3 11 VGA 15 2 3 12 LAN...

Страница 6: ...om SD card or eMMC 37 4 6 1 The storages devices name as following 37 4 6 2 Create a bootable SD card 37 4 6 3 Transfer the whole system to onboard eMMC 38 4 7 Customization 38 4 7 1 Config Android Ke...

Страница 7: ...Chapter 1 1 General Introduction This chapter gives background information on the EPC R6410 Sections include Introduction Specifications...

Страница 8: ...riant applications such as kiosks ATM VTMs industrial controllers and IoT device related applications 1 2 Product Features 1 2 1 Key Features Processor Freescale i mx6 Series ARM Cortex A9 high perfor...

Страница 9: ...ole package 1 4 Electrical Specifications Power supply type DC in 12V RTC battery Typical voltage 3V Normal discharge capacity 240 mAh 1 5 Environmental Specifications Operating temperature 0 60 C 32...

Страница 10: ...EPC R6410 Android User Manual 4...

Страница 11: ...Chapter 2 2 H W Installation This chapter gives mechanical and connector information on the EPC R6410 Sections include Connector Information Mechanical Drawing Quick Start Guide...

Страница 12: ...external connectors and pin assignments for appli cations 2 2 EPC R6410 IO Overview Debug port RS232 RS232 Reset Power bu on GPIO CAN Antenna Reserved Antenna Reserved RS232 RS232 422 485 Giga LAN USB...

Страница 13: ...ease press over 1 second to power on off system 2 3 2 Reset button Here is reset button for system reset 2 3 3 COM1 Debug COM1 of EPC R6410 can be used as RS232 and Debug port by jumper select and def...

Страница 14: ...ed below COM port 7 NC 8 NC 9 NC CN18 COM0 RS232 and debug mode select Part Number 1653003101 Footprint HD_3x1P_79_D Description PIN HEADER 3x1P 2 0mm 180D M DIP 2000 13 WS Setting function 1 2 COM0 i...

Страница 15: ...er Manual Chapter 2 H W Installation Table 2 2 COM4 pin define Pin Description 1 NC 2 RXD 3 TXD 4 NC 5 GND 6 NC 7 RTS 8 CTS 9 NC Table 2 3 COM5 pin define Pin Description 1 NC 2 RXD 3 TXD 4 NC 5 GND 6...

Страница 16: ...ined below 2 3 6 GPIO EPC R6410 supports 8 x GPIO via a DB9 connector Pins are defined below Table 2 4 CAN Pin Description 1 NC 2 CAN_D 3 NC 4 NC 5 GND 6 NC 7 CAN_D 8 NC 9 NC Table 2 5 GPIO Pin Descri...

Страница 17: ...d openings for antenna to support Wi Fi 3G 4G modules 2 3 9 COM3 RS232 422 485 COM3 can be configure to RS232 or RS422 or RS485 by jumper You can set CN26 and JSETCOM1 and J422T1 and J384T1 to select...

Страница 18: ...422 RS485 signal select Part number 1653009260 Footprint HD_9x2P_79 Description PIN HEADER 9x2P 2 0mm 180D M SMD 21N22050 Setting Function 5 6 7 9 8 10 13 15 14 16 RS232 mode CN26 must be set RS232 at...

Страница 19: ...Number 1653003101 Footprint HD_3x1P_79_D Description PIN HEADER 3x1P 2 0mm 180D M DIP 2000 13 WS Setting function 1 2 RS232 mode default 2 3 RS485 mode J422T1 COM3 RS 422 impedance select Part Number...

Страница 20: ...ition below Pin Description Pin Description 1 HDMI_Z_TD2_P 11 GND 2 GND 12 HDMI_Z_CLK_N 3 HDMI_Z_TD2_N 13 HDMI_CEC_OUT 4 HDMI_Z_TD1_P 14 NC 5 GND 15 HDMI_DDC_CLK 6 HDMI_Z_TD1_N 16 HDMI_DDC_DAT 7 HDMI_...

Страница 21: ...Installation 2 3 11 VGA EPC R6410 supports VGA pin definitions below Pin Description Pin Description 1 VGA_b_R 9 5V_CRT 2 VGA_b_G 10 GND 3 VGA_b_B 11 NC 4 NC 12 VGA_b_DDC_DAT 5 GND 13 VGA_b_HSYNC 6 G...

Страница 22: ...410 supports Ethernet pin definitions below Ethernet Connector Pin Description 1 NC 2 GBE_MDI0_P 3 GBE_MDI0_N 4 GBE_MDI1_P 5 GBE_MDI1_N 6 GBE_MDI2_P 7 GBE_MDI2_N 8 GBE_MDI3_P 9 GBE_MDI3_N 10 GND 11 LA...

Страница 23: ...connectors Pin Description 15 5V_USB_P56_B 16 USB_P6L_N 17 USB_P6L_P 18 USBV56_GND 19 5V_USB_P56_B 20 USB_P5L_N 21 USB_P5L_P 22 USBV56_GND Pin Description A1 5V_USB_P12_B A2 USB_P1L_N A3 USB_P2L_P A4...

Страница 24: ...port connector 2 3 14 Audio Jack ECP R6410 supports 1 Line out and 1 Mic in C4 USB_34_GND D1 5V_USB_P34_B D2 USB_P4L_N D3 USB_P4L_P D4 USB_34_GND Pin Description 1 GND 2 MIC 3 NC 4 NC 5 NV 22 HPOUT_L...

Страница 25: ...g serial cables Common serial communication 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 Wi...

Страница 26: ...EPC R6410 Android User Manual 20 Figure 2 1 HyperTerminal Settings for Terminal Setup...

Страница 27: ...Chapter 3 3 Software Functionality This chapter details the software programs on the EPC R6410 plat form...

Страница 28: ...0 00 00 00 00 echo n 0123456789ABCDEF dd of dev block mmcblk0 bs 1024 count 1 seek 1 0 1 records in 0 1 records out busybox hexdump C dev block mmcblk0 s 1024 n 16 00000400 30 31 32 33 34 35 36 37 38...

Страница 29: ...k mmcblk0p3 dev block mmcblk0p4 dev block mmcblk0p5 dev block mmcblk0p6 dev block mmcblk0p7 dev block mmcblk0p8 ls dev block mmcblk dev block mmcblk0 dev block mmcblk0boot0 dev block mmcblk0boot1 dev...

Страница 30: ...from gpio12 it should be able to receive the same data from gpio2 EPC R6410 Android OS sys class gpio Default direction GPIO0 gpio2 in GPIO1 gpio3 in GPIO2 gpio4 in GPIO3 gpio 5 in GPIO4 gpio6 in GPI...

Страница 31: ...6 7 8 9 a b c d e f 0123456789abcdef 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 10 ff ff ff ff ff 2c c8 ff ff ff ff ff ff ff ff ff 20 ff ff ff ff ff 28 c4 00 00 ff ff ff ff ff ff ff 30 ff ff f...

Страница 32: ...ts 0 errors 0 dropped 0 overruns 0 frame 0 TX packets 0 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 1000 RX bytes 0 0 0 B TX bytes 0 0 0 B lo Link encap Local Loopback inet addr 12...

Страница 33: ...s from 192 168 0 12 seq 0 ttl 128 time 7 417 ms 64 bytes from 192 168 0 12 seq 1 ttl 128 time 0 203 ms 64 bytes from 192 168 0 12 seq 2 ttl 128 time 0 300 ms 172 17 20 192 ping statistics 3 packets tr...

Страница 34: ...h Advantech PCI 1680U Can card 3 Use the following command under EPC R6410 to send data through to the Can card AutoRun_uart422 p dev ttymxc2 t 1 s 115200 test RS422 Open uart dev ttymxc2 PASS Writing...

Страница 35: ...ingle Channel 7inch out please set U boot as shown below setenv bootargs console ttymxc0 115200 androidboot console ttymxc0 vmalloc 400M init init video_mode displayLSC video mxcfb0 dev ldb LDB 800X48...

Страница 36: ...inch and VGA clone out please set U boot as shown below setenv bootargs console ttymxc0 115200 androidboot console ttymxc0 vmalloc 400M init init video_mode displayLSCV video mxcfb0 dev ldb LDB 1024X7...

Страница 37: ...out please set U boot as shown below setenv bootargs console ttymxc0 115200 androidboot console ttymxc0 vmalloc 400M init init video_mode displayL7 video mxcfb0 dev ldb LDB 800X480 if RGB666 bpp 24 vi...

Страница 38: ...EPC R6410 Android User Manual 32...

Страница 39: ...Chapter 4 4 Android OS This chapter introduces how to build an Android system and develop it based on our Android system...

Страница 40: ...rom SD card so you can extract the image to an SD card then dump the image file to the onboard eMMC to complete the system Some fold ers and files are described below image This folder contains uboot...

Страница 41: ...libgl1 mesa dev libgtk2 0 dev liblzo2 2 liblzo2 dev libncurses5 dev liborbit2 dev libtool libx11 dev libxml2 utils libxml2 dev m4 mingw32 patch python markdown rpm tcl uboot mkimage uuid uuid dev tof...

Страница 42: ...rform the following command root PcName mk_bootimg sh product name where product name is EPC R6410 for EPC R6410 board 3 Then you can get the android kernel image file named boot img under image folde...

Страница 43: ...410 supports boot from SD card or onboard flash This section will guide you how to build an image for EPC R6410 Android system boot media 4 6 1 The storages devices name as following 4 6 2 Create a bo...

Страница 44: ...scripts root PcName mkmmc android sh dev block mmcblk0 3 Remove the SD card then EPC R6410 can boot up from the onboard eMMC 4 7 Customization 4 7 1 Config Android Kernel 1 Open a terminal console an...

Страница 45: ...Create a file Android mk at package directory the contents look like below LOCAL_PATH call my dir include CLEAR_VARS LOCAL_MODULE_TAGS optional LOCAL_SRC_FILES call all java files under src LOCAL_PACK...

Страница 46: ...EPC R6410 Android User Manual 40 4 8 Serial Port Test 4 8 1 Setup Serial Port 1 Click on the Serial Port 2 Click Setup...

Страница 47: ...Test 1 Using serial cable to connec t ttymxc1 with PC NB s serial port that should be configured to 115200 8N1 and opening serial terminal AP like minicom putty or teraterm 2 Click Console After typin...

Страница 48: ...g loopback device into ttymxc1 2 Click Loopback The loopback test result will be displayed as shown below 4 8 4 Send01010101 Test 1 Use a serial cable to connect ttymxc1 with PC NB s serial port that...

Страница 49: ...43 EPC R6410 Android User Manual Chapter 4 Android OS 4 9 Network Setup 4 9 1 Wi Fi 1 Click Settings 2 Turn Wi Fi on...

Страница 50: ...EPC R6410 Android User Manual 44 3 Choose ESSID for example Advantech for guest Testing 4 Input correct password...

Страница 51: ...45 EPC R6410 Android User Manual Chapter 4 Android OS 5 Wi Fi Authenticating Connecting Obtaining IP address 6 Wi Fi connected...

Страница 52: ...EPC R6410 Android User Manual 46 4 9 2 Bluetooth 1 Click Settings switch the Bluetooth switch to ON to Turn on Bluetooth 2 Click Settings Bluetooth for bluetooth main interface...

Страница 53: ...Chapter 4 Android OS 3 Click iMX6 to let EPC R6410 bluetooth be visible to other Bluetooth devices 4 Click any available devices to pair with it 5 After pairing successfully with another Bluetooth de...

Страница 54: ...connect to the network please check the following settings A Settings More Mobile networks Data enabled then Enabled B Settings More Mobile networks Access Point Names then Correct 4 9 4 Ethernet 1 C...

Страница 55: ...EPC R6410 Android User Manual Chapter 4 Android OS 3 Choose Connection Type DHCP or Static IP 4 10 Can Test 1 Click Flexcan 2 Edit interface ID and Data then click Send to send data through the Can po...

Страница 56: ...er the CanDump area 4 11 System Update 1 Refer to section 4 4 5 to build OTA package 2 Insert your u disk 3 Click Settings About tablet Addition system updates Note Make sure your u disk is FAT32 and...

Страница 57: ...apter 4 Android OS 4 Wait for a moment the system will reboot for updating 5 It will take some time to update 4 12 System Reset Factory data reset 1 Click settings backup reset then enter into main in...

Страница 58: ...EPC R6410 Android User Manual 52 3 Click Reset to erase all data on the tablet 4 Click Erase everything 5 Wait for a moment the system will reboot and erase all user data...

Страница 59: ...android_source _code device fsl EPC R6410 init rc find follow line Advantech Set watchdog timer to 30 seconds and pet it every 10 seconds to get a 20 seconds margin service watchdogd sbin watchdogd 10...

Страница 60: ...EPC R6410 Android User Manual 54...

Страница 61: ...Chapter 5 5 Advantech Services This chapter introduces Advan tech Design in service technical support and warranty policy for EPC R6410 evaluation kit...

Страница 62: ...t helps customers to easily develop their carrier board and differentiate their embed ded products and applications Full Range of RISC Product Offerings Comprehensive Document Support Design Assistanc...

Страница 63: ...possess the ability for vertical integration and have enough know how and core competitiveness in the application field the lack of expertise and experience in general power and I O design causes many...

Страница 64: ...rt Package BSP for RISC COM so that cus tomers 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 co...

Страница 65: ...prob lems in the testing process and will give suggestions and tips as well Through an efficient verification process backed by our technical support customers are able to optimize their applications...

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

Страница 67: ...is recommended to s end 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...

Страница 68: ...such 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 mai...

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

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

Отзывы: