Boardcon Embedded Design EM6737 User manual

1
Customize the embedded system based on YourIdea
1. Introduction
1.1. About this Manual
This manual is intended to provide the user with an overview of the board and benefits, complete
features specifications, and set up procedures. It contains important safety information as well.
1.2. Feedback and Update to this Manual
To help our customers make the most of our products, we are continually making additional and
updated resources available on the Boardcon website (www.boardcon.com , www.armdesigner.com).
These include manuals, application notes, programming examples, and updated software and
hardware. Check in periodically to see what’s new!
When we are prioritizing work on these updated resources, feedback from customers is the number
one influence, If you have questions, comments, or concerns about your product or project, please
no hesitate to contact us at support@armdesigner.com.
1.3. Limited Warranty
Boardcon warrants this product to be free of defects in material and workmanship for a period of one
year from date of buy. During this warranty period Boardcon will repair or replace the defective unit
in accordance with the following process:
A copy of the original invoice must be included when returning the defective unit to Boardcon. This
limited warranty does not cover damages resulting from lighting or other power surges, misuse,
abuse, abnormal conditions of operation, or attempts to alter or modify the function of the product.
This warranty is limited to the repair or replacement of the defective unit. In no event shall Boardcon
be liable or responsible for any loss or damages, including but not limited to any lost profits, incidental
or consequential damages, loss of business, or anticipatory profits arising from the use or inability
to use this product.
Repairs make after the expiration of the warranty period are subject to a repair charge and the cost
of return shipping. Please contact Boardcon to arrange for any repair service and to obtain repair
charge information.

2
Customize the embedded system based on YourIdea
Revision History
Ver
Description
Author
Date
V1.0
Initial version android7.0
Zhou Lijun
2019-10-25

3
Customize the embedded system based on YourIdea
Content
1 EM6737 Introduction ......................................................................................................................4
2 Compiler Environment....................................................................................................................6
2.1 Vmware8.0+ubuntu16.04 .....................................................................................................6
2.2 Install Tools...........................................................................................................................6
3 Compile Source..............................................................................................................................7
3.1 Compile All ...........................................................................................................................7
3.2 Compile Separately ............................................................................................................10
4 Install Serial Terminal Tool............................................................................................................16
5 Burn Images .................................................................................................................................18
5.1 Install Driver .......................................................................................................................18
5.2 Upgrade Uniform Firmware ................................................................................................20
6 Android Application.......................................................................................................................23
6.1 Serial Terminal....................................................................................................................23
6.2 LVDS Display .....................................................................................................................23
6.3 SD Card .............................................................................................................................25
6.4 USB Host ...........................................................................................................................26
6.5 Ethernet..............................................................................................................................27
6.6 WiFi ....................................................................................................................................28
6.7 Bluetooth ............................................................................................................................29
6.8 4G Network ........................................................................................................................30
6.9 GPS....................................................................................................................................31
6.10 Play Video ........................................................................................................................32
6.11 Record ..............................................................................................................................33
6.12 UART & RS485 ................................................................................................................35

4
Customize the embedded system based on YourIdea
1 EM6737 Introduction
Feature
Specifications
CPU
MediaTek MT6737 processor, ARM Cortex-A53 Quad-core @ 1.3GHz
Memory
1GB LPDDR3, up to 2GB
Flash
4GB eMMC Flash
Power
DC 12V/3A
USB
2x USB2.0 Host, 1x USB OTG
UART
1x 4pin connector, for debug.
2x DB9 for normal UART
2x 4pin connector for normal UART
RS485
1x 1-CH RS485
CAN
1x 1-CH CAN
LCD
1x MIPI to LVDS (40-pin header)
1x MIPI to EDP (20-pin header)
1x MIPI LCD (40-pin FPC connector)
Ethernet
100M High performance Ethernet, RJ45 interface
Camera
MIPI CSI-2 high-speed camera
Audio codec
3.5mm Audio jack, MIC, 4W speaker (1x 4pin), 0.8W Speaker (2x 2pin)
RTC
Real Time Clock, powered by external lithium battery

5
Customize the embedded system based on YourIdea
SD card
1x T-Flash card slot
SIM card
1x SIM card slot
Buttons
10 x User Buttons, for Power, Reset and so on
WIFI&BT
2.4/5G WiFi, Bluetooth 4.0 on cpu board
3G/4G
On cpu board
GPS
On cpu board
Dimension
CPU board - 60 x 38 x 2.2mm; Baseboard - 175.5 x 117.5mm

6
Customize the embedded system based on YourIdea
2 Compiler Environment
2.1 Vmware8.0+ubuntu16.04
Install Vmware8.0 in windows OS, and then install ubuntu16.04 in VMware to compile. There is no longer
describes how to install Ubuntu system, if don’t understand, please visit the official website of Ubuntu, the
operating system is also available for free download at the official website.
http://www.ubuntu.com/
Note: User also can directly install ubuntu system in pc. The compile faster. Android7.0 should be
complied by ubuntu 64bit OS, Ubuntu 16.04 is recommended.
2.2 Install Tools
Execute the commands to install necessary tools. (Required root access and the computer is on the
network. The tool installation required online)
# apt-get update
# apt-get install git gnupg flex bison gperf build-essential zip curl libc6-dev
# apt-get install libncurses5-dev:i386 x11proto-core-dev
# apt-get install libx11-dev:i386 libreadline6-dev:i386
# apt-get install libgl1-mesa-dri:i386 libgl1-mesa-dev g++-multilib
# apt-get install tofrodos python-markdown
# apt-get install libxml2-utils xsltproc zlib1g-dev:i386 dpkg-dev
# apt-get install libncurses5-dev
# apt-get install gcc-4.8
# apt-get install g++-4.8
# cd /usr/bin
# mv g++ g++_bak
# mv gcc gcc_bak
# ln -s gcc-4.8 gcc
# ln -s g++-4.8 g++
# apt-get install openjdk-8-jdk
Execute the command to check the jdk has been installed successfully and view the revised version
# java -version

7
Customize the embedded system based on YourIdea
3 Compile Source
Unzip the source.
# tar xvf EM6737_Source.tar.bz2
3.1 Compile All
Execute the commands to build all the images.
# cd EM6737_Source
# source build/envsetup.sh
# lunch full_demo_board_64-eng
# make -j8

8
Customize the embedded system based on YourIdea

9
Customize the embedded system based on YourIdea
After compile finish, all images are generated in the directory out/target/product/demo_board_64/

10
Customize the embedded system based on YourIdea
3.2 Compile Separately
Sometimes it need to compile separately. Execute follow commands to make the compilation
environment effect before compile:
# source build/envsetup.sh
# lunch full_demo_board_64-eng

11
Customize the embedded system based on YourIdea
Execute the command to compile little kernel(lk). After compile finish the lk.bin is generated in
directory out/target/product/demo_board_64/
# make -j8 lk

12
Customize the embedded system based on YourIdea
Execute the command to compile preloader. After compile finish the preloader.bin is generated in
directory out/target/product/demo_board_64/
# make -j8 pl

13
Customize the embedded system based on YourIdea
Execute the command to compile kernel. After compile finish the boot.img is generated in
directory: out/target/product/demo_board_64/
# mmm kernel-3.18:clean-kernel (clean the kernel)
# make -j8 bootimage (compile the kernel)

14
Customize the embedded system based on YourIdea

15
Customize the embedded system based on YourIdea

16
Customize the embedded system based on YourIdea
4 Install Serial Terminal Tool
The serial terminal SecureCRT is used for debugging. It can be used directly after decompression.
Open SecureCRT.exe after copy to PC (path: tools\windows\SecureCRT.exe), then click the icon
Quick Connect to config.
Set the parameters as follow:
Protocol: Serial
Port: To be specified by user PC
Baud rate: 921600
Please check XON/XOFF but not RTS/CTS
Check Save session

17
Customize the embedded system based on YourIdea
After all, click connect
Illusion1: If open more than one serial terminal tools, and they use the same serial port, there will
be reported the port is busy.
Solution: Turn off the serial tool that unnecessary.

18
Customize the embedded system based on YourIdea
5 Burn Images
5.1 Install Driver
Step 1, Install CP2102 driver.
Plug the USB-to-UART cable CP2102 to the PC, unzip CP2102WIN7.rar on Windows, then click
preInstaller.exe to install
Now the device will be listed under Device Manager -> PORTS with unique serial port assigned
Step 2, Install usb download Driver
(
Path:
Driver_Auto_Installer_SP_Drivers_20160804/DriverInstall.exe).
Click DriverInstall.exe to install.

19
Customize the embedded system based on YourIdea
Table of contents
Other Boardcon Embedded Design Computer Hardware manuals
Popular Computer Hardware manuals by other brands

Cypress Semiconductor
Cypress Semiconductor CY7C1339G Specification sheet

Roland
Roland VP-9000 user guide

Epson
Epson M-G3 Series user guide

Infineon
Infineon 6EDL SPI LINK user guide

Monorail
Monorail NT5100G-16M BD Service maintenance manual

Chelsio Communications
Chelsio Communications Chelsio T5 Installation and user guide