Table of Contents

Advertisement

Quick Links

MarS Board
User Manual
Version 2.1---Dec. 27
th
, 2021

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MarS Board and is the answer not in the manual?

Questions and answers

Summary of Contents for Embest MarS Board

  • Page 1 MarS Board User Manual Version 2.1---Dec. 27 , 2021...
  • Page 2 Embest Technology Copyright Statement: MarS Board and its related intellectual property are owned by Shenzhen  Embest Technology Co., Ltd. Shenzhen Embest Technology has the copyright of this document and reserves  all rights. Any part of the document should not be modified, distributed or duplicated in any approach and form with the written permission issued by Embest Technology Co., Ltd.
  • Page 3: Table Of Contents

    2.2.3 AR8035 Ethernet PHY .................. 7 2.2.4 FE1.1 USB Hub .................... 7 2.2.5 FT232RQ USB to UART Chip ..............7 2.3 Hardware Interfaces on Mars Board ...............8 2.3.1 Power Jack (J8) .................... 8 2.3.2 HDMI Interface (J1) ..................8 2.3.3 LVDS Interface (J3) ..................9 2.3.4 USB OTG Interface (J7) ................
  • Page 4 5.1.1 Getting Tools and Source Code ..............31 5.1.2 Compiling System Images ................32 5.2 Making Images for Android ................... 33 5.2.1 Establishment of development environment ..........33 5.2.2 Getting Repo Source Code ................ 33 Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 5 Embest Technology 5.2.3 Compiling System Images ................34 Appendix 1 – Installing Ubuntu Linux System ..............36 Technical Support and Warranty ..................48 Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 6: Chapter 1 Product Overview

    Freescale’s i.MX 6Dual processor. i.MX 6Dual integrates ARM Cortex™-A9 core of up to 1GHz, 2D and 3D graphics processors and 3D 1080p video processor. MarS Board is featured with abundant interfaces such as HDMI, LVDS, mini USB OTG, mini USB...
  • Page 7  An AUDMUX (Digital Audio Multiplexer) Signal  Two CAN Signals  A ECSPI2 (Enhanced Configurable SPI) Signal  Two I2C Signals  A camera/ Parallel signal, up to 16 bit Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 8: System Block Diagram

     Pins of some interfaces listed above are multiplexed; please refer to data sheet of the processor and product schematic. 1.4 System Block Diagram Figure 1-1 System block diagram of MarS Board Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 9: Hardware Dimensions (Mm)

    Embest Technology 1.5 Hardware Dimensions (mm) Figure 1-2 Dimensions of MarS Board Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 10: Chapter 2 Introduction To Hardware

    Embest Technology Chapter 2 Introduction to Hardware This chapter will help you learn about the hardware composition of MarS Board by briefly introduce CPU, peripheral ICs and pin definition of various interfaces on the product. 2.1 CPU Introduction i.MX 6Dual is an ARM™ Cortex-A9-based dual-core processor from Freescale. It runs at...
  • Page 11: Display Interface

    2.2 Peripheral ICs around CPU 2.2.1 eMMC Flash NCEMBM11-04G NCEMBM11-04G is an eMMC flash memory on MarS Board with 4GB memory space. The flash supports high-speed DDR data transfer at a clock frequency of up to 52MHz, as well as three widths of data line: 1-bit (default), 4-bit and 8-bit. The synchronous power managemet allows flash feature fast boot, automatical termination and sleep;...
  • Page 12: Ar8035 Ethernet Phy

    Energy Efficient Ethernet (EEE) standard through proprietary SmartEEE technology, improving energy efficiency in systems using legacy MAC devices without 802.3az support. MarS Board can be either connected to a hub with a straight-through network cable, or to a PC with a cross-over network cable.
  • Page 13: Hardware Interfaces On Mars Board

    Embest Technology 2.3 Hardware Interfaces on Mars Board Hardware Interfaces on MarS Board 2.3.1 Power Jack (J8) Table 2-1 Power Jack Pins Definitions Descriptions Power supply (+5V) 4A (Type) Power supply (+5V) 4A (Type) 2.3.2 HDMI Interface (J1) Table 2-2 HDMI Interface...
  • Page 14: Lvds Interface (J3)

    Touch Reset Signal Touch_Int Touch Interrupt Signal I2C_SCL IIC Master Serial Clock I2C_SDA IIC Master Serial Data LED_PWR_EN Backlight Enable Pulse Width Modulation 2.3.4 USB OTG Interface (J7) Table 2-4 USB OTG Interface Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 15: Usb Debug Interface (J9)

    RD1- RD1- input RD2+ RD2+ input RD2- RD2- input GRLA Green LED link signal GRLC Power supply for Green LED YELC Yellow LED action signal YELA Power supply for Yellow LED Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 16: Usb Hub Interface (Hub1)

    USB HUB 2 Data+ USB HUB 1 Data+ 2.3.9 TF Card Interface (J13) Table 2-9 TF Card Interface Pins Definitions Descriptions DAT2 Card data 2 DAT3 Card data 3 Command Signal Clock Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 17: Lcd Interface (J12)

    LCD Pixel data bit 20 LCD Pixel data bit 21 LCD Pixel data bit 22 LCD Pixel data bit 23 GND3 AC bias control (STN) or pixel data enable (TFT) HSYNC LCD Horizontal Synchronization Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 18: Audmux (Digital Audio Multiplexer) Interface (J11)

    Table 2-11 AUDMUX Interface Pins Definitions Descriptions AUD3_RXD Receive audio data AUD3_TXC Audio transmission clock AUD3_TXD Transmit audio data AUD3_TXFS Transmit audio frame signal 2.3.12 CAN1 Interface (J11) Table 2-12 CAN1 Interface Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 19: Can2 Interface (J11)

    2.3.15 I2C1 Interface (J11) Table 2-15 I2C1 Interface Pins Definitions Descriptions Master serial clock Master serial data 2.3.16 I2C3 Interface (J11) Table 2-16 I2C3 Interface Pins Definitions Descriptions Master serial clock Master serial data Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 20: Ipu1 (Image Processing Unit 1) Interface (J11)

    Keypad matrix row 1 input 2.3.19 PWM (Pulse Width Modulation) Interface (J10 & J11) Table 2-19 PWM Interface Pins Definitions Descriptions 26(J11) PWM1 Pulse Width Modulation 13(J10) PWM4 Pulse Width Modulation Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 21: Gpmi (General Purpose Memory Interface) (J10)

    I2S data output PLOCK System master clock SPDIF_EXTCLK I2S frame clock SRCLK I2S bit clock 2.3.22 UART1 Interface (J11) Table 2-22 UART1 Interface Pins Definitions Descriptions Clear To Send Request To Send Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 22: Uart3 Interface (J10)

    Table 2-25 UART5 Interface Pins Definitions Descriptions RXD_MUX Receive data TXD_MUX Transmit data 2.3.26 USDHC1 (Ultra Secured Digital Host Controller) Interface (J10) Table 2-26 USDHC1 Interface Pins Definitions Descriptions Card detect Card clock Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 23: Esai (Enhanced Serial Audio Interface) (J10 & J11)

    Serial output 1 3(J11) TX2_RX3 Serial output 2_Serial Input 3 25(J10) TX3_RX2 Serial output 3_Serial Input 2 29(J10) TX4_RX1 Serial output 4_Serial Input 1 31(J10) TX5_RX0 Serial output 5_Serial Input 0 Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 24: Chapter 3 Preparations

    Embest Technology Chapter 3 Preparations Before you start to use MarS Board, please read the following sections to get yourself familiar with the system images, driver code and tools which might be involved during development process. 3.1 Software Introduction The table shown below lists the versions of Linux and Android systems that will be used later, as well as the device drivers.
  • Page 25: Learning About Android System

     Start Offset: shows where partition starts with unit in MB. 3.3 Learning about Android System Download latest Android image from http://www.embest-tech.com/shop/product/mars-board.html, the following tables list the specific images and storage patitions required to build an Android system. Table 3-4 Images Required by Android Images Paths u-boot image u-boot.bin boot image boot.img...
  • Page 26: Setting Up Hyperterminal

    RECOVERY partition. 3.4 Setting up HyperTerminal Use a Mini USB cable to connect the debug port(J9) on Mars Board and the usb host on PC, and then select Start > Programs > Accessories > Communications >...
  • Page 27 Embest Technology Figure 3-1 Set up HyperTerminal Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 28: Chapter 4 Downloading And Running System

    Embest Technology Chapter 4 Downloading and Running System Now you can download the existing system images to MarS Board and run it. The MFG tool will be used to download images. Download and Run Linux or Android System 1) Download...
  • Page 29 Embest Technology Figure 4-1 SW1 description 4) MarS Board support boot from eMMC or TF card, different mode use different image: If you need to download the Linux system to the MarS board, please copy the linux image files u-boot.bin, uImag and oneiri c.tgz from the directory of “eMMC”...
  • Page 30 = Android-Marsboard-SPI_NOR&eMMC #name = Android-Marsboard-SPI_NOR&TF 6) Run MFG tool under C:\tools\ on your PC and power on MarS Board; the software window is shown below; (PC will install HID driver automatically if it is the first time connecting i MX6-based product) Figure 4-2 MFG tool window Copyright ©...
  • Page 31 Click Start in the above window; when download process is done, click Stop to finish. Figure 4-3 Click Start 8) Power off MarS Board and set the boot switches SW1 on it to SPI-NOR boot mode according to the configurations as shown In the following table; Table 4-2 Boot Switch Configuration Swtich On/Off After the switch is set, you can power on MarS Board to boot the system.
  • Page 32: Ucos System Demonstration

    The system supports multiple display modes. Users can select an appropriate mode by cofiguring u-boot parameters.Please reboot the kit and press any key on your PC’s keyboard when the system prompts you with a countdown in seconds as shown below: Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 33 MAC address from IIM: 00:00:00:00:00:00 ----enet_board_init: phy reset FEC0 [PRIME] Hit any key to stop autoboot: 0 ( press any key to enter u-boot command mode) MX6Q MARSBOARD U-Boot > Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 34 800x600, 1440x900 and 1280×1024 that suited for their VGA displays. To change VGA output resolution (assuming from 1024x768 to 800x600): Replace “video=mxcfb0:dev=lcd,1024x768M@60” with “video=mxcfb0:dev=lcd,800x600M@60”, in the instructions above and keep the rest unchanged. Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 35 Note:  The u-boot parameter is stored in SPI-NOR flash, if you want to revert to the default, please use the below command:  MX6Q MARSBOARD U-Boot > run clearenv Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 36: Chapter 5 Making Images

    This Chapter will introduce how to make images by using the BSP. The BSP is a collection of binary, source code, and support files that can be used to create a u-boot bootloader, Linux kernel image, and Android file system for i.MX 6Dual Mars Board. Note: ...
  • Page 37: Compiling System Images

     The mkimage used to build kernel and ramfs images is automatically generated and saved under tools/ after compiling u-boot.bin, so please make sure uboot is compiled first before compiling kernel image. Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 38: Making Images For Android

     $ cd ~/android-imx6-jb4.3-1.0.0  $ repo init --repo-url=git://github.com/android/tools_repo.git -u git://github.com/embest-tech/imx-manifest.git -m embest_android_jb4.3_1.0.0 3) Execute the following instructions to synchronize repo source code;  $ cd ~/android-imx6-jb4.3-1.0.0  $ repo sync Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 39 Embest Technology 5.2.3 Compiling System Images 1) Boot mode select MarS Board support boot from eMMC or TF card, and the startup mode can be selected by modifying the value of “TARGET_LOCATION” under “android-imx6-jb4.3-1.0.0/device/fsl/marsboard_6q/BoardConfig.mk”, the details as below: eMMC Boot...
  • Page 40 C:\tools/MARSBOARD-MFGTOOLS-L4.1.15-1.0.0_ga\Profiles\Linux\OS Firmware\files\android\ to overwrite the files with the same names and then start over the operatios from step 2) in Chapter 4.1 so as to verify the Android system you built. Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 41 Installing VirtualBox You can access http://www.virtualbox.org/wiki/Downloads to download the latest version of VirtualBox. VirtualBox requires 512MB memory space at least. A PC with memory space of more than 1GB would be preferred. Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 42 Click Next to create a new virtual machine. 2) Enter a name for the new virtual machine and select operating system type as shown below; Figure 2 Name and OS type of virtual machine Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 43 512MB out of 2GB memory could be allocated to virtual machine. 4) If this is the fist time you install VirtualBox, please select Create new hard disk in the following window, and then click Next; Figure 4 Create new hard disk Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 44 Click Next in the following window; Figure 5 Wizard of new virtual disk creation 6) Selecting Fixed-size storage in the following window and click Next; Figure 6 Select the second option Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 45 Define where the hard disk data is stored and the default space of the virtual disk (8G at least), and then click Next; Figure 7 Virtual disk configuration 8) Click Finish in the following window; Figure 8 Virtual disk summary Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 46 Figure 10 Virtual machine is ready Installing Ubuntu Linux System After virtualBox is installed, we can start the installation of Ubuntu Linux system now. Please access http://www.Ubuntu.com/download/Ubuntu/download to download the ISO Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 47 Select Storage on the left in the Setting window and click the CD-like icon next to the option Empty under IDC controller in the right part of the window, and then find the ISO file you downloaded; Figure 12 Find ISO file Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 48 Select the ISO file you added in and click OK as shown below; Figure 13 Select ISO file 4) Click Start on the VirtualBox window, the installation program of Ubuntu will be initiating as shown below; Figure 14 Ubuntu initiating window Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 49 OK all the way to the end of the process. 5) Click Install Ubuntu to start installation when the following window appears; Figure 15 Ubuntu installation window 6) Click Forward to continue the process; Figure 16 Information before installation Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 50 Note:  Selecting this option will not lead to any content loss on your hard drive. 8) Click Install Now in the following window to start installation; Figure 18 Confirm installation Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 51 10) The installation of Ubuntu may take 15 minutes to about 1 hour depending on your PC’s performance. A prompt window will be shown as below after installation is done. Please select Restart Now to restart Ubuntu system. Figure 20 Restart Ubuntu Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 52 Ubuntu. If it doesn’t, you could eject the ISO file manually in the Setting window of VirtualBox. The following window shows how it looks after the ISO file is ejected. Figure 21 ISO file ejected Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 53 Embest Technology Technical Support and Warranty Technical Support Embest Technology provides its product with one-year free technical support including: Providing software and hardware resources related to the embedded products  of Embest Technology; Helping customers properly compile and run the source code provided by ...
  • Page 54 4) Please contact technical support if there is any repair request. Note:  Embest Technology will not take any responsibility on the products sent back without the permission of the company. Copyright © 2014 Embest Technology MarS Board User Manual...
  • Page 55 Tel: +86-755-25635626-863/865/866/867/868 Fax: +86-755-25616057 Email: globalsales@embest-tech.com Company Information Website: http://www.embest-tech.com Address: Tower B 4/F, Shanshui Building, Nanshan Yungu Innovation Industry Park, Liuxian Ave. No. 1183, Nanshan District, Shenzhen, Guangdong, China (518055) Copyright © 2014 Embest Technology MarS Board User Manual...

Table of Contents