OLIMEX A20-OLinuXino-MICRO-e4Gs16M User Manual

OLIMEX A20-OLinuXino-MICRO-e4Gs16M User Manual

Open-source single-board android/linux mini-computer
Table of Contents

Advertisement

Quick Links

A20-OLinuXino-MICRO
Open-source single-board
Android/Linux mini-computer
USER'S MANUAL
Document revision S, March 2018
Designed by OLIMEX Ltd, 2015
All boards produced by Olimex LTD are ROHS compliant

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the A20-OLinuXino-MICRO-e4Gs16M and is the answer not in the manual?

Questions and answers

Summary of Contents for OLIMEX A20-OLinuXino-MICRO-e4Gs16M

  • Page 1 A20-OLinuXino-MICRO Open-source single-board Android/Linux mini-computer USER’S MANUAL Document revision S, March 2018 Designed by OLIMEX Ltd, 2015 All boards produced by Olimex LTD are ROHS compliant...
  • Page 2: Disclaimer

    This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product.
  • Page 3: Table Of Contents

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual Table of Contents DISCLAIMER ......................2 CHAPTER 1: OVERVIEW ..................5 1. Introduction to the chapter ....................... 5 1.1 Features ............................. 5 1.2 Target market and purpose of the board ................6 1.3 Board variants .......................... 6 1.4 Board version used in the manual ..................
  • Page 4 OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 5.3 Power supply circuit ......................23 CHAPTER 6: CONNECTORS AND PINOUT ............24 6. Introduction to the chapter ..................... 24 6.1 Communication with the A20 ....................24 6.1.1 USB-OTG communication (NAND firmware repair/update) ..............24 6.1.2 UART0, UEXT1, UEXT2 interface ......................
  • Page 5: Chapter 1: Overview

    CHAPTER 1: OVERVIEW 1. Introduction to the chapter Thank you for choosing this A20 single board computer from Olimex! This document provides a user’s guide for the Olimex A20-OLinuXino-MICRO board. As an overview, this chapter gives the scope of this document and lists the board’s features. The document’s organization is then detailed.
  • Page 6: Target Market And Purpose Of The Board

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 1.2 Target market and purpose of the board The boards from the OLinuXino family are easy to setup and powerful. It is possible to use them in almost any application as a host board. They are suitable for embedded programming enthusiasts,...
  • Page 7: Board Version Used In The Manual

    4GB of size; “n4GB” stands for NAND type of flash with 4GB of size; “IND” stands for a board with industrial temperature range components. The other Olimex boards with close characteristics are the ones with A13 and A10 microcontrollers. The A13 boards feature a generation older processor but since they have been longer on the market they might have better Linux and Android support.
  • Page 8: Chapter 2: Setting Up The Olinuxino Board

    - Input device – either a mouse/keyboard or touchscreen LCD - Output device – either HDMI cable + native HDMI monitor/screen/projector; or USB-SERIAL- CABLE-F + personal computer (for Linux and/or Android debugging); or OLIMEX LCD (TS) display + 40-pin CABLE-IDC40-15cm; or A20-VGA-CABLE + VGA monitor/screen/projector - SD card with compatible image –...
  • Page 9 A20-Android-SD – a tested class 10 micro SD card with the latest (by the time of leaving the Olimex facilities) official Android release A20-Debian-SD – a tested class 10 micro SD card with the latest (by the time of leaving Olimex facilities) official Debian Linux release USB-SERIAL-CABLE-F –...
  • Page 10: Powering The Board

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 2.3 Powering the board There are four possible ways of powering A20-OLinuXino-MICRO – via external supply providing 7-24V DC at the power jack, from 5V USB port via USB_OTG connector, from 3.7V Li-Po battery via the LIPO_BAT connector, from 5V source applied to 5VEXT test pad at the bottom of the board and any GND.
  • Page 11: Prebuilt Software

    USB-OTG communication (NAND firmware repair/update). The default super user and password combination for the official Linux images is: “root” – ”olimex” and the GUI runs under user “olimex” with password “olimex”. 2.5 Button functions The bellow three buttons usually are supported under both Android and Debian: PWR_BUT –...
  • Page 12: Interacting With The Board

    3.3V serial-to-USB cable connected to a personal computer. Such cables are common and easy to find. Olimex also distributes such cables. Even if you already have such a cable or you decide to purchase it elsewhere it is advisable to check these product pages as a reference: https://www.olimex.com/Products/Components/Cables/USB-Serial-Cable/USB-Serial-Cable-F/...
  • Page 13: Vga Monitor

    One of the ways to interact with the board is via an external display (with or without touchscreen component). The 40-pin male connector LCD_CON has the typical 0.1'' pin step. All Olimex displays have corresponding 40-pin male connector. You would only need a 0.1'' female-female cable for the hardware connection.
  • Page 14: Changing The Default Image Resolution

    Download locations to such images might be found at the wiki article for the A20 board here: https://www.olimex.com/wiki/A20-OlinuXino-MICRO. For Linux Debian you would need to execute a shell script to be able to change the resolution. It is very good idea to use a serial cable for connection to the board from a personal computer since in this case you are dependent on a video resolution (a cable like USB-SERIAL-CABLE-F).
  • Page 15 9. 1080p50 10. 1080p60 For VGA: (note that the VGA signals are routed to custom 6 pin connector and you need to from adapter to standard VGA connector, Olimex also sells such adapter cables) 0. 1680×1050 1. 1440×900 2. 1360×768 3.
  • Page 16: Connecting A Display And Calibrating Touchscreen

    All LCD displays made by Olimex have at least a 0.1'' LCD connector. Going for an LCD output you would also need need and a cable to attach the display to the board. The cable is sold separately.
  • Page 17: Gpio Under Debian

    A20-OLinuXino-MICRO user's manual If there is no “Calibrate Touchscreen” tool, then you are using older official Linux image and you should execute “ts_calibrate” command, logged as user “olimex” (“su olimex”). The password is also “olimex”. The touchscreen calibration under Debian is detailed in the following wiki article: https://www.olimex.com/wiki/Touch_calibration_official_images...
  • Page 18: I2C And Spi Under Debian

    We usually try to provide details on how to build the Linux and the Android images at our wordpress page: http://olimex.wordpress.com/. Another useful place is the Olimex forums where a lot of people share their experience and advice: https://www.olimex.com/forum/ Additional Android and Linux support and features are added overtime. The Linux support is a work-in-progress and you should not expect full Linux support after the initial volume of such boards have become available on the market.
  • Page 19: Chapter 3: A20-Olinuxino-Micro Board Description

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual CHAPTER 3: A20-OLINUXINO-MICRO BOARD DESCRIPTION 3. Introduction to the chapter Here you get acquainted with the main parts of the board. Note the names used on the board might differ from the names used below to describe them. For the actual names check the A20- OLinuXino-MICRO board itself.
  • Page 20: Layout (Bottom View)

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 3.2 Layout (bottom view) At the bottom of the board there are mainly buttons and the large SD/MMC connector. Page 20 of 56...
  • Page 21: Chapter 4: The Allwinner A20 Embedded Processor

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual CHAPTER 4: THE ALLWINNER A20 EMBEDDED PROCESSOR 4. Introduction to the chapter In this chapter is located the information about the heart of OLinuXino – its microcontroller. The information is a modified version of the datasheet provided by its manufacturers.
  • Page 22: Block Diagram

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual  NAND Flash controller with 64-bit ECC  AUDIO  Integrated HI-FI 100dB Audio Codec  Dual analog mic amplifiers More information can be found on Allwinner's web site at the following web-address: http://www.allwinnertech.com/en/product/A20.html 4.2 Block diagram The block diagram is taken from Allwinner's web-site.
  • Page 23: Chapter 5: Control Circuity

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual CHAPTER 5: CONTROL CIRCUITY 5. Introduction to the chapter Here you can find information about reset circuit and quartz crystals locations, the power supply circuit is discussed. 5.1 Reset The board has hardware reset controlled by the AXP209 power system management IC.
  • Page 24: Chapter 6: Connectors And Pinout

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual CHAPTER 6: CONNECTORS AND PINOUT 6. Introduction to the chapter In this chapter are presented the connectors that can be found on the board all together with their pinout and notes about them. Jumpers functions are described. Notes and info on specific peripherals are presented.
  • Page 25 OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 4. Press and hold RECOVERY button, apply power supply (6-16)V, release RECOVERY button. 5. Connect USB cable to the mini USB connector 6. You will be asked for drivers for the bootloader. Navigate to the folder where you extracted the PhoenixSuit and install the drivers from the respective executables (or manually point the installer to the drivers folder in the PhoenixSuit installation path).
  • Page 26: Uart0, Uext1, Uext2 Interface

    7 SPI1-MISO SPI1-MOSI 9 SPI1-CLK SPI1-CS0 The UEXT connectors are used as an interface for the Olimex's UEXT modules (usually boards with MOD- prefix in their commercial names). For more information on UEXT please visit: https://www.olimex.com/Products/Modules/UEXT/resources/UEXT.pdf Page 26 of 56...
  • Page 27: Sd Card Connectors

    When in doubt – try the same operation with another card from another brand. Olimex sells microSD cards with Linux or Android images, that have been tested – please refer to chapter “2.2 Requirements”. Of course, if you already have a large enough microSD card you can download the official Linux image from the wiki pages: https://www.olimex.com/wiki/A20-...
  • Page 28: Sd/Mmc1 Slot

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 6.2.1 SD/MMC1 slot The schematic related to the SD/MMC1 (microSD connector) is shown below: SD/MMC1 slot is the “smaller” microSD card slot, located on the top of the board. This slot is typically used for booting the OS, due to the larger capacities of the microSD cards (compared to SD or MMC cards).
  • Page 29: Sd/Mmc Slot

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 6.2.2 SD/MMC slot The schematic related to the SD/MMC1 (SD/MMC connector) is shown below: The SD/MMC2 slot is located on the back of the PCB and works with the “larger” SD and MMC cards. The connector was placed by a popular demand.
  • Page 30: Pwr Jack

    6.3 PWR jack The power jack used is the typical one used by Olimex in most of our products – the DC barrel jack has 2.0mm inner pin and 6.3mm hole. More information about the exact component might be found here: https://www.olimex.com/wiki/PWRJACK.
  • Page 31: Usb_Otg Connector

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual MIC_IN connector Pin # Signal name Processor pin MICIN AC20 MICIN AC20 The socket can interface standard 3.5 mm phone connector (also known stereo plug or audio plug). Headphones connector Pin # Signal name Processor pin...
  • Page 32 OLIMEX© 2018 A20-OLinuXino-MICRO user's manual software part. The hardware part is the cable – to use the OTG as a host you would need a mini USB to USB adapter cable. Do not confuse micro and mini USB! The software part is loading a kernel module responsible for the behavior of the board while in device mode.
  • Page 33: Usb_Host Connector

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 6.6 USB_HOST connector The part of the schematic related to the USB_HOST connector is listed below: The USB_HOST connector features two levels – called USB1 and USB2 in the schematic. The connector is situated between the USB_OTG and the HDMI connector. Each of slots them features a low loss power distribution switch SY6280 which protects the board in case the devices you have plugged to each level USB_HOST try to draw more than the allowed current.
  • Page 34: Ethernet

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual USB_HOST two-level connector Pin # Signal name Processor pin Pin # Signal name Processor pin Connected to SY628 Connected to SY628 UDM1 UDM2 UDP1 UDP2 The GND is common for both levels of the USB_HOST.
  • Page 35 OLIMEX© 2018 A20-OLinuXino-MICRO user's manual use the Ethernet connector or you have forgotten to plug a cable the start-up would be greatly delayed. This might be problem in the first start-up to users counting only on SSH connection. You can enable the Ethernet after a successful boot-up with:...
  • Page 36: Hdmi Connector

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 6.8 HDMI connector The part of the schematic that describes the HDMI module is shown below: Note that there are different Linux images depending whether the HDMI TV works at 50Hz or 60Hz refresh rate. If you board runs Android there is a specific option to set the appropriate HDMI output.
  • Page 37: Vga Connector

    6.9 VGA connector You would probably need an adapter cable for the VGA display (6-pin connector to 15-pin female RGB cable). You can make the cable or the connection yourself or you can purchase the Olimex- made cable: https://www.olimex.com/Products/Components/Cables/A20-VGA-CABLE/. Note that you also have to change the script under Debian as explained in chapter 2.6 “Calibrating a display”.
  • Page 38: Sata Connector And Power

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 6.10 SATA connector and power The part of the schematic describing the SATA module is shown below: SATA connector Pin # Signal name Processor pin SATA-TXP SATA-TXM SATA-RXM SATA-RXP Page 38 of 56...
  • Page 39: Gpio Ports

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 6.11 GPIO ports There are three GPIO ports which are used generally to access unused by the board's peripherals pins. However, there are exceptions – some of the pins might be used to easily peripherals or their levels.
  • Page 40: Gpio-2 (General Purpose Input/Output) 40Pin Connector

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 6.11.2 GPIO-2 (General Purpose Input/Output) 40pin connector The GPIO pins are led out on a separate 40pin connecter. They allow the user to attach additional hardware, check readings or perform hardware debug. The GPIO-2 connector numbers are printed at the bottom of the board for your convenience.
  • Page 41: Gpio-3 (General Purpose Input/Output) 40Pin Connector

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 6.11.3 GPIO-3 (General Purpose Input/Output) 40pin connector GPIO-3 connector features the signals of AXP152 on a convenient header. The signals available might be used to implement power controls on the board – for instance – turning off the device at specific voltage level or detecting levels.
  • Page 42 The real issue would be finding piece of software that has Allwinner A20 support. The sunxi community has some experimental configuration files for A10 and A13 boards I believe, but they were never tested by an Olimex employee. Furthermore, we have no experience with the JTAG debug, we have not performed any JTAG debug sessions ourselves.
  • Page 43: Lcd_Con 40Pin Connector

    We have tested the ability of the board to interact with such a display. They allow the user to attach additional hardware, check readings or perform hardware debug. Important: you need additional 40PIN ribbon cable to connect an Olimex display and the LCD_CON.
  • Page 44: Jumper Description

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual The LCD connector is suitable for a number of Olimex displays and touchscreen panels with different native resolution – the smallest available is the 4.3'' one called LCD-OLinuXino-4.3TS with native screen resolution of 480×272, through the 7'' one named LCD-OlinuXino-7TS with 800×480, to the 1024×600 10.1'' LCD-OLinuXino-10TS.
  • Page 45: Additional Hardware Components

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 6.14 Additional hardware components The components below are mounted on OLinuXino but are not discussed above. They are listed here for completeness: Reset button – used to reset the board 1GB = 2×[4Gb(256M x 16b)] DDR3 SDRAM – the exact memories varies between the hardware revisions of the board (also the -IND industrial version uses industrial memories).
  • Page 46: Chapter 7: Schematics

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual CHAPTER 7: SCHEMATICS 7. Introduction to the chapter In this chapter is located information about the schematics describing logically and physically A20- OLinuXino-MICRO. 7.1 Eagle schematic OLinuXino schematics may be found it on the OLinuXino's GitHub repository: https://github.com/OLIMEX/OLINUXINO/tree/master/HARDWARE/A20-OLinuXino-MICRO.
  • Page 47: Physical Dimensions

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 7.2 Physical dimensions Note that all dimensions are in mils. The three highest elements on the board in order from the tallest to the shortest are: USB_HOST connector – 700mils, capacitors C202 – 650mils, the Ethernet connector – 600mils.
  • Page 48: Chapter 8: Revision History And Support

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual CHAPTER 8: REVISION HISTORY AND SUPPORT 8. Introduction to the chapter In this chapter you will find the current and the previous version of the document you are reading. Also the web-page for your device is listed. Be sure to check it after a purchase for the latest available updates and examples.
  • Page 49 2. Added GPIO, I2C and SPI sections 3, 13, 14, 34, 35, 36, J, 03.11.14 3. Added information about newer 37, 44 Olimex A20 boards boards 4. Added board revision G changes 5. Fixed few spelling mistakes 1. Updated list of suggested displays K, 30.01.2015 8, 27, 46 2.
  • Page 50: Board Revision

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual 8.2 Board revision Remember to check the schematics and the board design files to compare the differences. Revision Notable changes Initial release of the board 1. Resistor matrix RM23 gets replaced by: R133,R134,R135 2. Adjusted the package of H5TQ2G63BFR/MEM4G16D3EABG-125 3.
  • Page 51 OLIMEX© 2018 A20-OLinuXino-MICRO user's manual address updated. 8. Power jack package updated. 9. SATA package updated. 1. eMMC was added. 2. RTL8201CP(LQFP-48) Ethernet chip replaced with LAN8710AI- EZK(QFN-32). Both are MbE PHYs. 3. All libraries were updated. 4. L7, L15, L16 and L17 were changed from FB0805/600R/200mA(201209- 601) to FB0805/600R/2A.
  • Page 52: Useful Web Links And Purchase Codes

    A20-Android-SD – a tested class 10 micro SD card with the latest (by the time of leaving the Olimex facilities) official Android release A20-Debian-SD – a tested class 10 micro SD card with the latest (by the time of leaving Olimex facilities) official Debian Linux release LCD-OLinuXino-4.3TS –...
  • Page 53: Frequently Asked Questions (Faq)

    OLIMEX© 2018 A20-OLinuXino-MICRO user's manual How to purchase? You can purchase directly from our online shop or from any of our distributors. List of confirmed Olimex LTD distributors and resellers: https://www.olimex.com/Distributors. Please visit https://www.olimex.com/ for more info. 8.4 Frequently asked questions (FAQ) Q: I power my board, it shows a logo and then nothing happens.
  • Page 54 OLIMEX© 2018 A20-OLinuXino-MICRO user's manual Q: How to detect and enable the Ethernet controller (if it is disabled by default)? A: You can enable it by following these two steps: 1. Check under what name the LAN is listed with command "ifconfig –a"...
  • Page 55 OLIMEX© 2018 A20-OLinuXino-MICRO user's manual Q: How to install Android on an SD-card? A: First download one of the official Android images, which might be found in the Android section above. Make sure that the download link you visit clearly indicates that the image is suitable for the microSD card since there are images suitable for NAND memory also.
  • Page 56: Product Support

    All goods are checked before they are sent out. In the unlikely event that goods are faulty, they must be returned, to OLIMEX at the address listed on your order invoice. OLIMEX will not accept goods that have clearly been used more than the amount needed to evaluate their functionality.

This manual is also suitable for:

A20-olinuxino-micro

Table of Contents