28
QUICK START GUIDE VIA ARTiGO A820 Android EVK v5.0.6 1.00-11222018-143700

QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

QUICK START GUIDE

VIA ARTiGO A820Android EVK v5.0.6

1.00-11222018-143700

Page 2: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

Copyright

Copyright © 2018 VIA Technologies Incorporated. All rights reserved.

No part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual or otherwise without the prior written permission of VIA Technologies, Incorporated.

Trademarks

All brands, product names, company names, trademarks and service marks are the property of their respective holders.

Disclaimer

VIA Technologies makes no warranties, implied or otherwise, in regard to this document and to the products described in this document. The information provided in this document is believed to be accurate and reliable as of the publication date of this document. However, VIA Technologies assumes no responsibility for the use or misuse of the information (including use or connection of extra device/equipment/add-on card) in this document and for any patent infringements that may arise from the use of this document. The information and product specifications within this document are subject to change at any time, without notice and without obligation to notify any person of such change.

VIA Technologies, Inc. reserves the right the make changes to the products described in this manual at any time without prior notice.

Page 3: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

Version Date Remarks1.00 11/22/2018 Initial release

Revision History

iii

Page 4: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

Table of Contents1. Introduction ����������������������������������������������������������������������������������������������������������������������� 1

1�1 EVK Package Contents �������������������������������������������������������������������������������������������������������������������������� 11�1�1 Firmware Folder Contents ������������������������������������������������������������������������������������������������������������� 11�1�2 Document Folder Contents ������������������������������������������������������������������������������������������������������������ 11�1�3 Tools Folder Contents �������������������������������������������������������������������������������������������������������������������� 1

1.2 VersionInformationandSupportedFeatures �������������������������������������������������������������������������������������� 2

2. ImageInstallation ������������������������������������������������������������������������������������������������������������� 32.1 BootingfromaMicroSDCard ������������������������������������������������������������������������������������������������������������� 3

3. HardwareFunction ����������������������������������������������������������������������������������������������������������� 53.1 SettingUpU-BootParameters ������������������������������������������������������������������������������������������������������������� 53.2 RestoringDefaultU-BootParameters �������������������������������������������������������������������������������������������������� 73.3 UsingtheAndroidConsole ������������������������������������������������������������������������������������������������������������������� 73.4 ConfiguringDisplayParameters ����������������������������������������������������������������������������������������������������������� 83.5 ConfiguringLANPorts �������������������������������������������������������������������������������������������������������������������������� 93.6 SmartETK ������������������������������������������������������������������������������������������������������������������������������������������� 10

3.6.1 TestingWatchdogTimerFunction ����������������������������������������������������������������������������������������������� 113.6.2 TestingGPIOFunction ������������������������������������������������������������������������������������������������������������������ 113.6.3 TestingUARTFunction ����������������������������������������������������������������������������������������������������������������� 13

4. Accessories ���������������������������������������������������������������������������������������������������������������������� 154.1 ConfiguringtheVIAVNT9271USBWi-FiDongle �������������������������������������������������������������������������������� 154.2 ConfiguringtheVIAEMIO-1541MiniPCIeWi-FiModule ������������������������������������������������������������������� 164.3 ConfiguringtheVIAEMIO-2531MiniPCIeUSBWi-Fi&BluetoothModule ��������������������������������������� 17

4.3.1 ConnectingtotheInternet ���������������������������������������������������������������������������������������������������������� 174.3.2 EnablingBluetooth ���������������������������������������������������������������������������������������������������������������������� 18

4.3.2.1 SettingUpBluetoothA2DPProfile ������������������������������������������������������������������������������������ 184.3.2.2 SettingUpBluetoothSPPProfile ��������������������������������������������������������������������������������������� 18

4.4 ConfiguringtheVIAEMIO-2550MiniPCIeMobileBroadbandModule ���������������������������������������������� 214.4.1 ConnectingtotheInternet ���������������������������������������������������������������������������������������������������������� 214.4.2 EnablingGPS �������������������������������������������������������������������������������������������������������������������������������� 22

iv

Page 5: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

1

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

1� IntroductionThisQuickStartGuideprovidesanoverviewofhowtoboottheAndroidEVKsystemimagefortheVIAARTiGOA820systemandconfigurethesupportedhardwarefunctioninthebuild.

TheVIAARTiGOA820AndroidEVKv5.0.6isdevelopedbasedontheNXPandroid_m6.0.1_1.0.0-ga(Android6.0Marshmallow)andenablesthehardwarefeaturesoftheVIAARTiGOA820system.

1�1 EVK Package ContentsTherearethreefoldersinthepackageaslistedbelow.

VIA ARTiGO A820 Android EVK contents

1�1�1 Firmware Folder ContentsImages_autoinstall_sd.zip:containsinstallationscriptfilesandtheprecompiledU-BootandAndroidimageforevaluatingtheVIAARTiGOA820system.

1�1�2 Document Folder ContentsARTiGO_A820_Android_EVK_v5.0.6_Quick_Start_Guide _v1.00_20181122.pdf:TheQuickStartGuideprovidesanoverviewofhowtoboottheAndroidEVKsystemimagefortheVIAARTiGOA820systemandconfigurethesupportedhardwarefunctionsinthebuild.

1�1�3 Tools Folder ContentsARTiGO_A820_Smart_ETK_Demo_v1.0.apk:istheSmartETKdemoprogram.

BluetoothSPPTest.apk:istheBluetoothSPPprofiletestprogram.

Firmware folder DescriptionImages_autoinstall_sd.zip AndroidEVKsystemimageandinstallation

scriptfilesDocument folder DescriptionARTiGO_A820_Android_EVK_v5.0.6_Quick_Start_Guide_v1.00_20181122.pdf

QuickStartGuide

Tools folder DescriptionARTiGO_A820_Smart_ETK_Demo_v1.0.apk SmartETKdemoprogramBluetoothSPPTest.apk BluetoothSPPtestingprogram

Page 6: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

2

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

1�2 VersionInformationandSupportedFeatures• U-Bootversion:2015.04

• Kernelversion:3.14.52

• Evaluationimage:AndroidMarshmallow6.0

• DevelopmentbasedonNXPandroid_M6.0.1_1.0.0-ga(Android6.0Marshmallow)

• SupportsSPIwitheMMCboot

• SupportsHDMIdisplay

• SupportsHDMIaudiooutput

• SupportsCOM1(RS-232/RS-485),onboardCOMdebugconnector

• SupportsGigabitEthernet(LAN1)

• Supports10/100MbpsEthernet(LAN2)

• SupportsVIAVNT9271USBWi-Fidongle

• SupportsVIAEMIO-1541miniPCIeWi-Fimodule

• SupportsVIAEMIO-2531miniPCIeWi-Fi&Bluetoothmodule

º SupportsBluetoothA2DPandSPPprofile

• SupportsVIAEMIO-2550miniPCIeMobileBroadbandmodule

• SupportsSmartETKv1.0:WatchdogTimer,GPIO,andUART(RS-232/RS-485)

• SupportsOTA(Over-The-Airtechnology)

• SupportsshutdownoptioninQuickSettings

• SupportsEthernetconfigurationinSettings

Page 7: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

3

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

2� ImageInstallationTheVIAARTiGOA820AndroidsystemonlyprovidesbootingfromtheSPIROMwitheMMC.ThissectionexplainsthesetuprequirementsforbootingfromtheSPIROMandeMMC.

Theinstallationscriptfiles,theprecompiledU-Bootandimageareprovidedinthe“Firmware”folder.

2�1 BootingfromaMicroSDCardTheImages_autoinstall_sd.zipincludestheAndroidEVKsystemimageandtheinstallationscriptsfiles.

ThefirststepistoextracttheImages_autoinstall_sd.zipfiletomakeabootableMicroSDcardintoyourLinuxhostmachineandmakesureitisnotmounted.Opentheterminalonyourhostmachine.Runthemk_android6_install_sd.shasshownbelow,replacing<devicename>withthecorrectvalueforthecard,forexample“sdb”.

*Important: Makesureyouarewritingtothecorrectdeviceorthehostsystemenvironmentcouldbedamaged�

Next,ontheVIAARTiGOA820,settheMicroSD/SPIbootswitchtotheMicroSDpositionasshownbelow.

Micro SD/SPI boot switch diagram

InsertthepreparedMicroSDcardintotheVIAARTiGOA820,connectanHDMIdisplay,andpowerontheVIAARTiGOA820toinitiatetheupdateprocessautomatically.

Update process screen

Whentheinstallprocessiscompleted,unplugthepowercableandremovetheMicroSDcard.

$ sudo ./mk_android6_install_sd.sh /dev/<device name>

VIA Technologies, Inc.

----------------------------------

iMX6_Android6.0.1

U-Boot Version : v2015.04-0.1.0Kernel Version : v3.14.52-0.1.0

Base File System Version : 0.1.0Reference File System Version : 0.1.0OtherInfo :

erasing spi flash (mtd0)

Warnings! Please don’t power off! Please wait...

30 %

Page 8: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

4

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

InordertobootfromtheSPIROMmakesuretheMicroSD/SPIbootswitchissettoSPIROMboot.

Micro SD/SPI boot switch diagram

Next,poweronthedevicetoinitiatethebootprocess.Whenthebootprocessiscompleted,youwillseetheAndroiddesktop.

Page 9: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

5

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

3� HardwareFunctionThissectionexplainshowtoenableandtestthehardwarefunctionsprecompiledintheVIAARTiGOA820AndroidEVKincludingsettingupU-Bootparameters,restoringdefaultU-Bootparameters,usingtheAndroidconsole,configuringdisplayparameters,configuringLANports,aswellasinstallingandapplyingthedifferentfunctionsincludedintheVIASmartETKsampleprogramwhicharetheWatchdogtimerfunction,theGPIOfunctionandtheUARTfunction.

3�1 SettingUpU-BootParametersWhensettinguptheU-Bootparameters,thefirststepistoconnectthehostmachineandtheVIAARTiGOA820throughtheonboardCOMconnector.UseaserialportcommunicationprogramsuchasPuTTY,GtkTerm,orMinicomtoconfiguretheserialportsettingandconnecttothedebugconsole.ThereyouwillbeabletoseetheU-BootbootlogandadjustsettingsintheU-Bootconsole.

Serial port setting of host machine

Onboard COM connector diagram

+------------------------------------------------------------+| A - Serial Device : /dev/ttymxc0 || B - Lockfile Location : /var/lock || C - Callin Program : || D - Callout Program : || E - Bps/Par/Bits : 115200 8N1 || F - Hardware Flow Control : No || G - Software Flow Control : No |+------------------------------------------------------------+

Page 10: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

6

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

Next,powerontheVIAARTiGOA820toinitiatethebootprocess.Whenprompted,pressanykeytostopthebootprocessandentertheU-Bootconsoleasillustratedbythescreenshotbelow.

Debug console view of boot process

TolistthecurrentU-Bootparameters,usethefollowingcommand:

Makesuretheprintoutmessageisasfollows:

U-Boot 2015.04 (Mar 7 2017 - 18:49:13)ARTiGO A820 ver:5.0.6

CPU: Freescale i.MX6DL rev1.2 at 996 MHzCPU: Temperature 30 C, calibration data: 0x5894f169Reset cause: PORI2C: readyDRAM: 1 GiBMMC: FSL_SDHC: 0, FSL_SDHC: 1SF: Detected W25Q32BV with page size 256 Bytes, erase size 4 KiB, total 4 MiB*** Warning - bad CRC, using default environment

No panel detected: default to Hannstar-XGADisplay: Hannstar-XGA (1024x768)In: serialOut: serialErr: serialNet: FEC [PRIME]Warning: failed to set MAC address

Normal BootHit any key to stop autoboot: 0=>

=> printenv

=> printenv

baudrate=115200boot_emmc_root=mmc dev ${root_media_uboot};ext2load mmc ${root_media_uboot}:${root_partition} ${loadaddr} uImage;ext2load mmc ${root_media_uboot}:${root_partition} ${dtbaddr} imx6q-vab820.dtb;bootm ${loadaddr} -${dtbaddr};boot_media=booti mmc1

Page 11: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

7

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

3�2 RestoringDefaultU-BootParametersIftheU-Bootparametershavebeenmodified,the“destroyenv”commandintheU-Bootconsolecanrestorethefactorydefaultsettings.

Torestartthedevice,usethe“reset”commands:

3�3 UsingtheAndroidConsoleThefirststepistoconnectthehostmachineandtheVIAARTiGOA820throughtheonboardCOMconnector.UseaserialportcommunicationprogramsuchasPuTTY,GtkTerm,orMinicomtoconnecttothedebugconsole�

Onboard COM connector diagram

Next,powerontheVIAARTiGOA820toinitiatethebootprocess.Whenthebootprocessiscompleted,youwillautomaticallylogintoanAndroidconsole.

=> destroyenv=> saveenv=> reset

root@artigo_a820_6dl:/ #

Page 12: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

8

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

3�4 ConfiguringDisplayParametersTheVIAARTiGOA820AndroidEVKv5.0.6supportsHDMIdisplay.

TosetHDMIasthedisplayoutput,usethefollowingcommands:

HDMIonlysupportsCEAmodesasshowninthetablebelow.

CEA modes table

Forexample,ifyouwouldliketosettheHDMIresolutionto1280x720@60Hz,usethefollowingcommands:

=> setenv hdmi_timing ‘1280x720M@60,bpp=32’=> saveenv

Width Height Frame rate640 480 60720 480 60

1280 720 601440 240 601440 480 601920 1080 60720 576 50

1280 720 501440 288 501440 576 501920 1080 501920 1080 241920 1080 251920 1080 301280 720 1001280 720 120

=> setenv display ‘run hdmi’=> saveenv

Page 13: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

9

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

3�5 ConfiguringLANPortsTheVIAARTiGOA820supportstwoLANports.LAN1isforGigabitEthernetandLAN2isfor10/100MbpsEthernet.ThefirststepistoselectaLANporttobeconfigured.ClickSettings->More->ConfigureEthernet->WANtoselecttheLANport.

ToconfigureLAN1orLAN2,clickSettings->More->ConfigureEthernet->selectLAN1SettingorLAN2Setting.

AftertheLANsettingisfinished,connecttotheInternetthroughwebbrowser.

Page 14: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

10

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

3�6 SmartETKTheVIAARTiGOA820SmartETKsupportsWatchdogtimer,GPIO,andUARTfunctions.PleasefollowtheproceduresbelowtoexperimentwiththeSmartETKfunctionsontheVIAARTIGOA820system.

ThefirststepistocopytheARTiGO_A820_Smart_ETK_Demo_v1.0.apkontoamassstoragedevicesuchasaUSBthumbdrive.Next,fromtheSettingsscreen,clickSecurity,andthenswitchonthe“Unknownsources”asshowninthediagrambelow.

Finally,inserttheUSBthumbdriveintotheVIAARTiGOA820anddoubleclickontheARTiGO_A820_Smart_ETK_Demo_v1.0.apkfiletoinstall.

Whentheinstallationprocesshasbeencompleted,runtheARTiGO_A820_Smart_ETK_Demo_v1.0.apkandstarttotestthedifferentfunctionswithit.

Smart ETK SDK sample screen

Page 15: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

11

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

3�6�1 TestingWatchdogTimerFunctionTheWatchdogtimerisanelectronictimerthatisusedtodetectandrecoverfromsystemmalfunctions.

TheWatchdogtimerincludesEnable/Disable,SetTimeout,KeepAlive,andCountdownTimerfunctions.

Smart ETK Watchdog timer diagram

AlistofoptionswillappearontheSmartETKDemoProgrampage,selecttheappropriateoptiontostarttesting.

TotesttheWatchdogtimerfunction,thefirststepistoenterthetimevalue(1~128seconds)intheTimeoutsetting.

ClickontheEnable/DisablebuttontostarttheWatchdogtimerfunction.

ClickontheREFRESHbuttontorefreshthecountdowntimevaluebacktothebeginning.

ClickontheSTOPbuttontostopthewatchdogtimerfunction.

3�6�2 TestingGPIOFunctionTheDIOportontheVIAARTiGOA820consistsof9pins.Thefollowingsectionexplainshowtosetupthesepinsforinput/outputcommunication.

DIO port diagram

Page 16: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

12

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

DIO port pinout table

Smart ETK GPIO interface diagram

First,pleaseopentheSmartETKsampleprogram,thenfromtheleftsideselectGPIOtostarttesting.Inthedemoprogram,pins1~8havebeensetasprogrammableGPIOpins.

Thetogglesundereachpincanbeusedtosetthedesiredconfiguration.

Enable/Disable:Setswhetherthepinfunctionisenabledordisabled.

IN/OUT:Setswhetherthepinisdefinedasinput(in)oroutput(out).

IfyouhavesetaGPIOpinasaninput(in),theVoltagevaluewillshowwhethertheinputvoltagesignalishighor low�

Voltagelow:theinputvoltagesignalislow.

Voltagehigh:theinputvoltagesignalishigh.

IfyouhavesettheGPIOpinasanoutput(out),youcanthensettheoutputvoltagetohighorlowwiththeValuesetting.

Voltagelow:theoutputvoltagesignalislow.

Voltagehigh:theoutputvoltagesignalishigh.

Pin Signal1 GPIO_72 GPIO_13 GPIO_84 GPIO_25 GPIO_96 GPIO_47 GPIO_168 GPIO_59 GND

Page 17: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

13

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

3�6�3 TestingUARTFunctionTheCOM1portsupportsRS-232andRS-485mode.ThedefaultsettingisRS-232mode.TheVIASmartETKUARTfunctionsupportsTX/RXcommunicationwithotherdevices

COM 1 port diagram

ThefirststepistoselectamodetotesttheUARTfunction.IfyouwanttoactivatetheRS-485mode,settheswitchtotheRS-485position.NextonthehostmachinestartaserialcommunicationprogramsuchasPutty,GtkTermorMinicomwiththesameserialportsettingusingtheappropriateserialdevice.

RS-232/RS-485 switch diagram (RS-232 mode)

RS-232/RS-485 switch diagram (RS-485 mode)

Page 18: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

14

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

Smart ETK UART diagram

Then,pleaseopentheSmartETKsampleprogram.FromtheleftsideoftheSmartETKsamplepage,selectUART.

Tobegin,select“ttymxc0”fromthedevicedrop-downmenuandaBaudrateof“115200”fortheBaudRatedrop-downmenu.

TheVIAARTiGOA820supports“RS-232”and“RS-485”mode.Inordertoestablishaconnection,pleasemakesurethatthemodeyouhaveselectedontheVIAARTiGOA820systemandonthemodedrop-downmenuarethesame.

Next,clickontheConnectbuttontoenabletheUARTfunctionandstartcommunicationbetweenthehostmachineandVIAARTiGOA820system.

WhenthehostmachinetransfersdatatotheVIAARTiGOA820,thedatawillbedisplayedinsidetheredframe.

TosenddatafromthehostmachinetotheVIAARTiGOA820,youneedtotypethedatainsidethewhiteframeandclicktheSendbutton.

ClickontheDisconnectbuttontodisablethisfunction.

ClickontheResetbuttontoresetthisfunction.

Page 19: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

15

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

4� AccessoriesThissectionexplainshowtoinstallandconfigurethevariousUSBdongleandminiPCIemodulesavailablefortheVIAARTiGOA820system.

4�1 ConfiguringtheVIAVNT9271USBWi-FiDongleTheVIAVNT9271USBWi-FidonglesupportsWi-FifunctionalitythroughaUSBportconnection.

ThefirststepistoinserttheVIAVNT9271USBWi-FidongleintoaUSBport.Next,makesuretounpluganyLANcablesorotherWi-Fi/3Gmodulesyouhaveinstalled.Finally,powerontheVIAARTiGOA820.

Inserting the VIA VNT9271 USB Wi-Fi dongle

ToenabletheWi-Fi,gotoSettings->Wi-Fi->On.

AlistofWi-Ficonnectionswillappearonthescreen.SelecttheappropriatedevicetocompletetheWi-Ficonnection.

Whentheconnectioniscreated,connecttotheinternetthroughyourwebbrowser.

Page 20: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

16

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

4�2 ConfiguringtheVIAEMIO-1541MiniPCIeWi-FiModuleTheVIAEMIO-1541modulesupportsWi-FithroughtheonboardminiPCIeslot.

ThefirststepistoinserttheVIAEMIO-1541moduleintotheminiPCIeslot.Afterinstallingthemodule,connecttheprovidedantennatothemodule.Next,makesuretounpluganyLANcablesorUSBWi-Fidonglesyouhaveinstalled.Finally,powerontheVIAARTiGOA820.

Inserting the VIA EMIO-1541 module

ToenableWi-Fi,gotoSettings->Wi-Fi->On.

AlistofWi-Ficonnectionswillappearonthescreen.SelecttheappropriatedevicetocompletetheWi-Ficonnection.

Whentheconnectioniscreated,connecttotheinternetthroughyourwebbrowser

Page 21: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

17

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

4�3 ConfiguringtheVIAEMIO-2531MiniPCIeUSBWi-Fi& BluetoothModuleTheVIAEMIO-2531modulesupportsUSBWi-FiandBluetoothfunctionalitythroughminiPCIeconnections.

4�3�1 ConnectingtotheInternetThefirststepistoinserttheVIAEMIO-2531moduleintotheminiPCIeslot.Afterinstallingthemodule,connecttheprovidedantennatothemodule.Next,makesuretounpluganyLANcablesorotherWi-Fi/3Gmodulesyouhaveinstalled.Finally,powerontheVIAARTiGOA820.

Inserting the VIA EMIO-2531 module

ToenableWi-Fi,gotoSettings->Wi-Fi->On.

AlistofWi-Ficonnectionswillappearonthescreen.SelecttheappropriatedevicetocompletetheWi-Ficonnection.

Whentheconnectioniscreated,connecttotheinternetthroughyourwebbrowser.

Page 22: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

18

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

4�3�2 EnablingBluetoothThefollowingsectionsshowhowtoenabletheBluetoothAdvancedAudioDistributionProfile(A2DP)toallowaudioplaybackthroughaconnectedBluetoothdeviceaswellashowtoconfiguretheBluetoothSerialPortProfile(SPP).

4�3�2�1 SettingUpBluetoothA2DPProfileFirst,puttheaccessoryyouwanttouseintodiscoverymode.Theexactwaytodothisdependsontheaccessory.Ifyouhaveaheadset,youmayneedtoholdabuttondownontheheadsetforseveralsecondsuntilalightstartsflashing.Itwillonlystaydiscoverableforafewminutes.

Ifyouarenotsurehowtoputyouraccessoryintodiscoverymode,pleaserefertoitsmanual,checkthemanufacturer’swebsite,orperformawebsearchforinstructions.ToenabletheBluetoothA2DPfunction,gotoSettings->BluetoothandsettheswitchtoOn.

Alistoflocaldeviceswillappearonthescreen.SelecttheappropriatedevicetocompletetheBluetoothpairing.

4�3�2�2 SettingUpBluetoothSPPProfileTheVIAARTiGOA820implementstheBluetoothSerialPortProfileallowingserialportcommunicationbetweentwoAndroiddevices.

IncludedintheVIAARTiGOA820ToolsfolderistheBluetoothSPPTest.apkwhichisasimplecommunicationapplicationwhichutilizestheBluetoothSPPProfiletotransmitandreceivedatabetweentwopairedAndroiddevices�

ThefirststepistocopytheBluetoothSPPTest.apkontoamassstoragedevicesuchasUSBthumbdrive.Next,fromtheSettingsscreen,clickSecurity->Unknownsourcestoallowinstallationofnon-Marketapps.

ThefollowingexamplewilldemonstratehowtousetheBluetoothSPPTest.apktocommunicateovertheBluetoothSPPProfilebetweentwoVIAARTiGOA820systems.

First,theBluetoothSPPTest.apkmustbeinstalledontoeachVIAARTiGOA820system.FromtheSettingsscreen,clickSecurity->Unknownsourcesandthenswitchonthe“Unknownsources”.Next,copytheBluetoothSPPTest.apkontoamassstoragedevice,suchasUSBthumbdrive,andinstalltheBluetoothSPPTest.apkontobothVIAARTiGOA820systems.

Page 23: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

19

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

Aftertheinstallationprocesshascompleted,gotoSettings->Bluetooth->OntoenabletheBluetoothfunctiononbothVIAARTiGOA820systems.

Alistoflocaldeviceswillthenappearoneachscreen.Fromeitherscreen,selecttheVIAARTiGOA820systemfromthelisttocompletethepairingprocessasseeninthefigurebelow.

Afterthedeviceshavepaired,opentheBluetoothSPPTest.apkonbothVIAARTiGOA820systemsandconfigurethesettingsasfollowsinbothapps.

“Auto”–enabled

“Show Message”–enabled

Page 24: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

20

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

SelectCONNECT fromeitherVIAARTiGOA820systemtocreatetheconnectionbetweenthetwo.BothVIAARTiGOA820systemscancommunicateovertheBluetoothSPPProtocol.

BluetoothSPPTest diagram

Atthebottomofthescreen,enterthedatainsidethebar(highlightedintheyellowframeabove)andthenclicktheplaybutton(highlightedintheblueframeabove)tosendthedata.ThedatawillthenbereceivedanddisplayedontheotherVIAARTiGOA820system.

Page 25: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

21

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

4�4 ConfiguringtheVIAEMIO-2550MiniPCIeMobile BroadbandModuleTheVIAEMIO-2550miniPCIeMobileBroadbandmodulesupports3GandGPSfunctions.

4�4�1 ConnectingtotheInternetThefirststepistoinsertanactiveSIMcardintotheVIAEMIO-2550module,andtheninserttheVIAEMIO-2550moduleintotheminiPCIeslot.Afterinstallingthemodule,connecttheprovidedantennatothemodule.Next,makesuretounpluganyLANcablesorUSBWi-Fidonglesyouhaveinstalled.Finally,powerontheVIAARTiGOA820.

Inserting the VIA EMIO-2550 module

TocheckthatthesystemhascorrectlydetectedtheVIAEMIO-2550module,usethefollowingcommand:

Makesuretheprintoutmessageincludes“ppp0Linkencap:Point-to-PointProtocol”.

Toenable3G,gotoSettings->Wireless&networks->More->Cellularnetwork->AccessPointNames.Next,clicktheplusbuttontoaddyourAPNssetting.

root@artigo_a820_6dl:/ # busybox ifconfig

Page 26: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

22

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

FillintherequiredfieldsforAPNssetting.Ifyouareunsureofwhattherequiredfieldsandvalueare,checkwithyourMobileBroadbandprovider.

WhentheAPNssettingiscompleted,clickyourAPNstoenablethe3Gnetwork.Next,openthebrowsertoconnecttotheinternet.

4�4�2 EnablingGPSToenableGPS,gotoSettings->Location->On.

Next,gotoSettings->Wireless&networks->More->RILOEMHookTest->API4Typecommand.Fullin“AT+UGPS=1.0”andclickRUNbutton.

Page 27: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

23

VIA ARTiGO A820 Android EVK v5.0.6 Quick Start Guide

Waitforthe“OK”messageandopentheGPSprogram.

Page 28: QUICK START GUIDE VIA ARTiGO A820cdn.viaembedded.com/products/docs/artigo-a820/... · 11/22/2018  · The VIA ARTiGO A820 Android EVK v5.0.6 is developed based on the NXP android_m6.0.1_1.0.0-ga

1F, 531 Zhong-zheng Road,Xindian Dist., New Taipei City 231Taiwan

Tel: 886-2-2218-5452Fax: 886-2-2218-9860Email: [email protected]

940 Mission CourtFremont, CA 94539,USA

Tel: 1-510-687-4688Fax: 1-510-687-4654Email: [email protected]

Email: [email protected]

Taiwan Headquarters USA

Europe

Tsinghua Science Park Bldg. 7No. 1 Zongguancun East Road,Haidian Dist., Beijing, 100084China

Tel: 86-10-59852288Fax: 86-10-59852299Email: [email protected]

3-15-7 Ebisu MT Bldg. 6F,Higashi, Shibuya-kuTokyo 150-0011Japan

Tel: 81-3-5466-1637Fax: 81-3-5466-1638Email: [email protected]

ChinaJapan