VIA Technologies AMOS-825 Quick Start Manual

Android evk v5.0.3
Hide thumbs Also See for AMOS-825:

Advertisement

Quick Links

QUICK START GUIDE
AMOS-825
Android EVK v5.0.3
1.00-051702018-120700

Advertisement

Table of Contents
loading

Summary of Contents for VIA Technologies AMOS-825

  • Page 1 QUICK START GUIDE AMOS-825 Android EVK v5.0.3 1.00-051702018-120700...
  • Page 2 VIA Technologies, Inc. reserves the right the make changes to the products described in this manual at any time without prior notice.
  • Page 3 AMOS-825 Android EVK v5.0.3 Quick Start Guide Revision History Version Date Remarks 1.00 05/17/2018 Initial release...
  • Page 4: Table Of Contents

    AMOS-825 Android EVK v5.0.3 Quick Start Guide Table of Contents 1. Introduction ����������������������������������������������������������������������������������������������������������������������� 1 1�1 EVK Package Content ���������������������������������������������������������������������������������������������������������������������������� 1 1�1�1 Firmware Folder Contents ������������������������������������������������������������������������������������������������������������� 1 1�1�2 Document Folder Contents ������������������������������������������������������������������������������������������������������������ 1 1�1�3 Tools Folder Contents �������������������������������������������������������������������������������������������������������������������� 1 1.2 Version Information and Supported Features �������������������������������������������������������������������������������������� 2 2. Image Installation �������������������������������������������������������������������������������������������������������������...
  • Page 5: Introduction

    AMOS-825 Android EVK v5.0.3 Quick Start Guide 1� Introduction This Quick Start Guide provides an overview on how to boot the Android EVK system image for the AMOS-825 system and configure the supported hardware functions in the build. The AMOS-825 Android EVK v5.0.3 is developed based on the NXP android_m6.0.1_1.0.0-ga (Android 6.0 Marshmallow) and enables the hardware features of the AMOS-825 system. 1�1 EVK Package Content There are three folders in the package listed as below. Firmware folder Description Images_autoinstall_sd.zip Android EVK system image and installation script files Document folder Description AMOS-825_Android_EVK_v5.0.3_Quick_ Quick Start Guide Start_Guide _v1.00_20180517.pdf Tool folder Description AMOS-825_Smart_ETK_Demo_v1.0.apk Smart ETK demo program BluetoothSPPTest.apk Bluetooth SPP testing program AMOS-825 Android EVK contents 1�1�1...
  • Page 6: Version Information And Supported Features

    AMOS-825 Android EVK v5.0.3 Quick Start Guide 1�2 Version Information and Supported Features • U-Boot version: 2015.04 • Kernel version: 3.14.52 • Evaluation image: Android Marshmallow 6.0 • Development based on NXP android_M6.0.1_1.0.0-ga (Android 6.0 Marshmallow) • Supports SPI with eMMC boot • Supports 7” Projective capacitive touch monitor (800x480) through I2C interface • Supports COM as debug port • Supports two FlexCAN TX/RX • Supports Gigabit Ethernet • Supports Mic-in • Supports IEEE 802.11b/g/n Wi-Fi • Supports Bluetooth 4.0 κ A2DP and SPP profile • Supports U-blox MAX-7 GPS/GNSS module • Supports EMIO-2550 miniPCIe Mobile Broadband module • Supports Smart ETK v1.00: Watchdog Timer, UART, and FlexCAN •...
  • Page 7: Image Installation

    AMOS-825 Android EVK v5.0.3 Quick Start Guide 2� Image Installation The AMOS-825 Android system only provides booting from the SPI ROM with eMMC. This section explains the setup requirements for booting from the SPI ROM and eMMC. The installation script files, the precompiled U-boot and image are provided in the “Firmware” folder. 2�1 Booting from a Micro SD Card The Images_autoinstall_sd.zip includes the Android EVK system image and the installation scripts files. The first step is to extract Images_autoinstall_sd.zip file to make the bootable Micro SD card. Insert a Micro SD card into your Linux host machine and make sure it is not mounted. Open the terminal on your host machine. Run the mk_android6_install_sd.sh as shown below, replacing <device name> with the correct value for the card, for example “sdb”. Important: Make sure you are writing to the correct device or the host system environment could be damaged. $ sudo ./mk_android6_install_sd.sh /dev/<device name> Next, on the AMOS-825, set the Micro SD/SPI boot switch to the Micro SD position as shown below. Micro SD/SPI boot switch diagram Insert the prepared Micro SD card into the AMOS-825, connect an HDMI display, and power on the device to initiate the update process automatically.
  • Page 8 AMOS-825 Android EVK v5.0.3 Quick Start Guide Update process screen When the install process is completed, unplug the power cable and remove the Micro SD card. In order to boot from the SPI ROM make sure the Micro SD/SPI boot switch is set to SPI ROM boot. Micro SD/SPI boot switch diagram Next, power on the device to initiate the boot process. When the boot process is completed, you will see the Android desktop.
  • Page 9: Hardware Function

    AMOS-825 Android EVK v5.0.3 Quick Start Guide 3� Hardware Function This section explains how to enable and test the hardware functions precompiled in the AMOS-825 Android EVK including setting U-Boot parameters, restoring default U-Boot parameters, using the Android Console, enabling GPS, enabling Wi-Fi, enabling Bluetooth, as well as installing and applying the different functions included in the VIA Smart ETK sample program which are testing Watchdog timer function and testing the FlexCAN function. 3�1 Setting Up U-Boot Parameters The first step is to connect the host machine and the AMOS-825 through the COM port. Use a serial port communication program such as PuTTY, GtkTerm, or Minicom, to configure the serial port setting and connect to the debug console. There you will be able to see the U-Boot boot log and adjust settings in the U-Boot console� Serial port setting of host machine COM port diagram...
  • Page 10 AMOS-825 Android EVK v5.0.3 Quick Start Guide Next, power on the AMOS-825 to initiate the boot process. When prompted, press any key to stop the boot process, and enter the U-Boot console as illustrated by the screenshot below. U-Boot 2015.04 (Mar 7 2017 - 18:49:13)AMOS-825 ver:5.0.3 CPU: Freescale i.MX6Q rev1.2 at 996 MHz CPU: Temperature 30 C, calibration data: 0x5894f169 Reset cause: POR Board: iMX6Q-VAB820 I2C: ready DRAM: 1 GiB...
  • Page 11: Restoring Default U-Boot Parameters

    AMOS-825 Android EVK v5.0.3 Quick Start Guide 3�2 Restoring Default U-Boot Parameters If the U-Boot parameters have been modified, the “destroyenv” command in the U-Boot console can restore the factory default settings. To restart the device, use the “reset” command. => destroyenv => saveenv => Reset 3�3 Using the Android Console The first step is to connect the host machine and the AMOS-825 through the COM port. Use a serial port communication program such as PuTTY, GtkTerm, or Minicom, to connect to the debug console. There you will be able to see the U-Boot boot log and adjust settings in the U-Boot console. Next, power on the AMOS-825 to initiate the boot process. When the boot process is completed you will be prompted to login. COM port diagram When the boot process is completed, you will automatically log in to an Android console. root@vab820_6dq:/ #...
  • Page 12: Enabling Gps

    AMOS-825 Android EVK v5.0.3 Quick Start Guide 3�4 Enabling GPS Click Settings->Location to enable the option. 3�5 Enabling Wi-Fi Next, from the Settings screen, click Wi-Fi -> On to enable Wi-Fi function. When the connection is created, connect to the internet through your web browser.
  • Page 13: Enabling Bluetooth

    AMOS-825 Android EVK v5.0.3 Quick Start Guide 3�6 Enabling Bluetooth The following sections show how to enable the Bluetooth Advanced Audio Distribution Profile (A2DP) to allow audio playback through a connected Bluetooth device as well as how to configure the Bluetooth Serial Port Profile (SPP). 3�6�1 Setting Up Bluetooth A2DP Profile First, put the accessory you want to use into discovery mode. The exact way to do this depends on the accessory. If you have a headset, you may need to hold a button down on the headset for several seconds until a light starts flashing. It will only stay discoverable for a few minutes. If you are not sure how to put your accessory into discovery mode, please refer to its manual, check the manufacturer’s website, or perform a web search for instructions. To enable the Bluetooth A2DP function, go to Settings -> Bluetooth and set the switch to On. A list of local devices will appear on the screen, select the appropriate device to complete the Bluetooth pairing. 3�6�2 Setting Up Bluetooth SPP Profile The first step is to copy the BluetoothSPPTest.apk onto a mass storage device such as USB thumb drive. Next, from the Settings screen, click Security -> Unknown sources to allow installation of non-Market apps. The AMOS-825 implements the Bluetooth Serial Port Profile allowing serial port communication between two Android devices. Included in the AMOS-825 Tools folder is the BluetoothSPPTest.apk which is a simple communication application which utilizes the Bluetooth SPP Profile to transmit and receive data between two paired Android devices� The following example will demonstrate how to use the BluetoothSPPTest.apk to communicate over the Bluetooth SPP Profile between two AMOS-825 systems. First, the BluetoothSPPTest.apk must be installed onto each AMOS-825 system. From the Settings screen, click Security -> Unknown sources and allow the installation of non- Market apps. Next, copy the BluetoothSPPTest. apk onto a mass storage device, such as a USB thumb drive, and install the BluetoothSPPTest.apk onto both AMOS-825 systems.
  • Page 14 AMOS-825 Android EVK v5.0.3 Quick Start Guide After the installation process has completed, go to Settings -> Bluetooth -> On to enable the Bluetooth function on both AMOS-825 systems. A list of local devices will then appear on each screen. From either screen, select the AMOS-825 system from the list to complete the pairing process as seen in the figure below. BluetoothSPPTest diagram After the devices have paired, open the BluetoothSPPTest.apk on both AMOS-825 systems and configure the settings as follows in both apps. “Auto” – enabled “Show Message” – enabled Select CONNECT from either AMOS-825 to create the connection between the two. Both AMOS-825 can communicate over the Bluetooth SPP Protocol.
  • Page 15: Smart Etk

    AMOS-825 Android EVK v5.0.3 Quick Start Guide 3�7 Smart ETK The AMOS-825 Smart ETK supports Watchdog, UART and CAN bus functions. Please follow the procedures below to experiment with the Smart ETK functions on the AMOS-825 system. The first step is to copy the AMOS-825_Smart_ETK_Demo_v1.0.apk onto a mass storage device such as a USB thumb drive. Next, from the Settings screen, click Security, and then switch on the “Unknown sources” as shown in the diagram below. Finally, insert the USB thumb drive into the AMOS-825 and double click on the AMOS-825_Smart_ETK_Demo_ v1.0.apk file to install. When the installation process has completed, run the AMOS-825_Smart_ETK_Demo_v1.0.apk and start to test the different functions with it. Smart ETK SDK sample screen...
  • Page 16: Testing Watchdog Timer Function

    AMOS-825 Android EVK v5.0.3 Quick Start Guide 3�7�1 Testing Watchdog Timer Function The Watchdog Timer is an electronic timer that is used to detect and recover from system malfunctions. The Watchdog Timer includes Enable/Disable, Set Timeout, Keep Alive and Countdown Timer functions. Smart ETK Watchdog timer diagram A list of options will appear on the Smart ETK Demo Program page, select the appropriate option to start testing. To test the Watchdog function, the first step is to enter the time value (1~128 seconds) in the Timeout setting. Click on the Enable/Disable button to start the watchdog timer function. Click on the REFRESH button to refresh the countdown time value back to the beginning. Click on the STOP button to stop the watchdog timer function.
  • Page 17: Testing Flexcan Function

    AMOS-825 Android EVK v5.0.3 Quick Start Guide 3�7�2 Testing FlexCAN Function The COM/CAN port of the AMOS-825 supports debug(COM) and two CAN bus. The CAN bus supports CAN protocol specification Version 2.0 B while the COM 2 supports TX/RX for debugging purposes only. In order to connect the CAN device for testing, you need to add additional transceiver circuit. Please visit Texas Instruments website (https://www.ti.com/) to search information on “TI SN65HVD1050 CAN Bus Transceiver”. The first step is to make sure there is connection with CAN1 and CAN2. COM/CAN port diagram Signal CANH1 CANL2 CANL1 CANH2 VCC5 CAN RX1 COM/CAN port pin definition table...
  • Page 18 AMOS-825 Android EVK v5.0.3 Quick Start Guide Smart ETK FlexCAN diagram The CAN ID frame structure are 32 bits, one frame includes 1-bit EFF flag, 1-bit RTR flag, 1-bit ERR flag, an 18- bit extension (“identifier extension”) and 11-bit identifier (“base identifier”). In order to use the identifier extension, you need to click “EFF”. If you select “RTR, the RTR-bit is transmitted as a dominant bit in the Data Frame and the Data Field will be empty in the Remote Field. First, please open the Smart ETK sample program, then from the left side of the SmartETK sample page; select CAN to start testing. For base testing, set the BitRate value and click on the Connect button. Please note that you need to disable the CAN bus first then set the CAN bus bitrate. The CAN bus bitrate should be 5000 < [BRT_value] < 1000000. Next, type the ID and data in the CAN1 (white block in the diagram) and click the Send button. The CAN1 transfers data to CAN2, the data shows in the CAN2 (red block in the diagram). Click on the Reset button to reset this CAN bus function. Click on the Disconnect button to disable this function. For advanced testing, you’ll use Filter_ID and FilterMask functions. The filter mask is used to determine which bits in the identifier of the received frame are compared with the filter. Filter_ID and FilterMask must be typed in hexadecimal values. Note: The filter is used to get specific information. Each receiver must set the filter to get the information that is needed.
  • Page 19 AMOS-825 Android EVK v5.0.3 Quick Start Guide If a mask bit is set to zero, the corresponding ID bit will automatically be accepted, regardless of the value of the filter bit. If a mask bit is set to one, the corresponding ID bit will be compare with the value of the filter bit. If they match, it is accepted otherwise the frame is rejected. There are four examples and these value are hexadecimal values below. Note: The four examples have four different statuses. Example 1. You wish to accept only frames with ID of 00001567 (hexadecimal values) Set the filter to 00001567 and mask to 1FFFFFFF. When a frame arrives, its ID is compared with the filter and all bits must match; any frame that does not match ID 00001567 is rejected Example 2. You wish to accept only frames with IDs of 00001560 thru to 0000156F (hexadecimal values) Set the filter to 00001560 and mask to 1FFFFFF0 . When a frame arrives, its ID is compared with the filter and all bits except bits 0 to 3 must match; any other frame is rejected Example 3. You wish to accept only frames with IDs of 00001560 thru to 00001567 (hexadecimal values) Set the filter to 00001560 and mask to 1FFFFFF8 . When a frame arrives its ID is compared with the filter and all bits except bits 0 to 2 must match; any other frame is rejected Example 4. You wish to accept any frame Set the filter to 0 and set mask to 0. All frames are accepted...
  • Page 20: Accessories

    AMOS-825 Android EVK v5.0.3 Quick Start Guide 4� Accessories This section explains how to install and configure the EMIO-2550 miniPCIe Mobile Broadband Module available for the AMOS-825 system. 4�1 Configuring the EMIO-2550 miniPCIe Mobile Broadband Module The EMIO-2550 miniPCIe Mobile Broadband module supports 3G functions. 4�1�1 Connecting to the Internet The first step is to insert an active SIM card into the EMIO-2550 module, and then insert the EMIO-2550 module into the miniPCIe slot. After installing the module, connect the provided antenna to the module. Next, make sure to unplug any LAN cables or USB Wi-Fi dongles you have installed. Finally, power on the AMOS-825. Inserting the EMIO-2550 module To check that the system has correctly detected the EMIO-2550 module, use the following command: root@vab820_6dq:/ # busybox ifconfig Make sure the printout message includes “ppp0 Link encap: Point-to-Point Protocol”.
  • Page 21 AMOS-825 Android EVK v5.0.3 Quick Start Guide Click Settings->Wireless & networks-> More -> Cellular network ->Access Point Names. Next, click the plus button to add your APNs setting. Fill in the required fields for APNs setting. If you are unsure of what the required fields and value are, check with your Mobile Broadband provider. When the APNs setting is completed, click your APNs to enable the 3G network. Next, open the browser to connect to the Internet.
  • Page 22 Taiwan Headquarters Japan China 1F, 531 Zhong-zheng Road, 940 Mission Court 3-15-7 Ebisu MT Bldg. 6F, Tsinghua Science Park Bldg. 7 Xindian Dist., New Taipei City 231 Fremont, CA 94539, Higashi, Shibuya-ku No. 1 Zongguancun East Road, Taiwan Tokyo 150-0011 Haidian Dist., Beijing, 100084 Japan China...

Table of Contents