QUICK START GUIDE ARTiGO A630 - VIA Technologies,...
Transcript of QUICK START GUIDE ARTiGO A630 - VIA Technologies,...
![Page 1: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/1.jpg)
QUICK START GUIDE
ARTiGO A630 Linux EVK v1.0.1
1.00-08292017-100800
![Page 2: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/2.jpg)
Copyright
Copyright © 2017 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 ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/3.jpg)
Version Date Remarks1.00 08/29/2017 Initial release.
Revision History
iii
![Page 4: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/4.jpg)
ARTiGO-A630 Linux EVK v1.0.1 Quick Start Guide
Table of Content1. Introduction ....................................................................................................................... 1
1.1 EVK Package Content ............................................................................................................................ 11.1.1 Firmware Folder Contents ............................................................................................................. 11.1.2 Document Folder Contents ............................................................................................................ 1
1.2 VersionInformationandSupportedFeatures ...................................................................................... 2
2. ImageInstallation ............................................................................................................. 32.1 Requirements ...................................................................................................................................... 32.2 BootingfromtheSPIROMwitheMMC ................................................................................................ 3
3. HardwareFuction ............................................................................................................. 43.1 SettingUpU-BootParameters ............................................................................................................. 43.2 SettingUpGPIO .................................................................................................................................... 6
3.2.1 SettingUpDIOPortforGPIOFunctionality ................................................................................... 63.2.2 SettingUpGPIMode...................................................................................................................... 73.2.3 SettingUpGPOMode .................................................................................................................... 7
3.3 ConfiguringUART ................................................................................................................................. 83.4 ConfiguringWatchdogTimer ................................................................................................................ 9
4. Accessories ...................................................................................................................... 104.1 ConfiguringtheEMIO-2531miniPCIe/EMIO-5531USB ......................................................................... Wi-Fi&BluetoothModule ................................................................................................................. 10
4.1.1 ConnectingtotheInternet .......................................................................................................... 104.1.2 EnablingBluetooth ...................................................................................................................... 12
4.1.2.1 SettingUpBluetoothA2DPProfile 124.1.2.2 SettingUptheBluetoothSPPProfile 13
4.2 ConfiguringtheEMIO-2550miniPCIeMobileBroadbandModule .................................................... 144.2.1 ConnectingtotheInternet .......................................................................................................... 14
iv
![Page 5: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/5.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
1
1. IntroductionThisQuickStartGuideprovidesanoverviewonhowtoboottheLinuxEVKsystemimageontheARTiGOA630andconfigurethesupportedhardwarefunctionsinthebuild.
TheARTiGOA630LinuxEVKisdevelopedbasedondebian-8.6.0-lxde-player(Debian8.6)anditenablesthehardwarefeaturesoftheARTiGOA630system.
1.1 EVK Package ContentTherearetwofoldersinthepackagelistedasbelow.
ARTiGO-A630 Linux EVK contents
1.1.1 Firmware Folder ContentsARTiGO_A630_Linux_EVK_v1.0.1.zip:containsinstallationscriptfilesandtheprecompiledU-bootandimageforevaluatingtheARTiGOA630system.
1.1.2 Document Folder ContentsARTiGO_A630_Linux_EVK_v1.0.1_ Quick_Start_Guide_v1.00_20170829.pdf:ThisQuickStartGuideprovidesanoverviewonhowtoboottheLinuxEVKsystemimageintheARTiGOA630systemandconfigurethesupportedhardwarefunctionsinthebuild.
Firmware folder Description
ARTiGO_A630_Linux_EVK_v1.0.1.zip PrecompiledImageDocument folder DescriptionARTiGO_A630_Linux_EVK_ v1.0.1_Quick_Start_Guide_v1.00_20170829.pdf
Quick Start Guide
![Page 6: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/6.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
2
1.2 VersionInformationandSupportedFeatures
• U-Bootversion:1.1.4
• Kernelversion:3.4.5
• Evaluationimage:Debian8.6
• DevelopmentbasedonWM8980
• SupportsSPIwitheMMCboot
• SupportsHDMIdisplay
• SupportsHDMIaudiooutput
• SupportsMicroUSB2.0OTGport
• SupportsDebugUARTconnector
• Supports10/100MbpsEthernet
• SupportsLine-outandMic-in
• SupportsEMIO-5531USBWi-Fi&Bluetoothmodule
º SupportsBluetoothA2DPandSPPprofile
• SupportsEMIO-2531miniPCIeWi-Fi&Bluetoothmodule
º SupportsBluetoothA2DPandSPPprofile
• SupportsEMIO-2550miniPCIeMobileBroadbandmodule
• SupportsGPIO,UARTandWatchdogtimer
![Page 7: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/7.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
3
2. ImageInstallationTheARTiGOA630onlysupportsbootingLinuxfromtheSPIROMwitheMMC.ThissectionexplainsthesetuprequirementsforbootingfromtheSPIROMwitheMMC.
Theinstallationscriptfiles,theprecompiledU-bootandimageareprovidedinthe“Firmware”folder.
2.1 Requirements • Hostmachine
• MicroSDcard
• EVKpackage:ARTiGO_A630_Linux_EVK_v1.0.1.zip
2.2 BootingfromtheSPIROMwitheMMCThefirststepistoinsertaMicroSDcardintothehostmachineandcreateaFATformattedpartition.Next,extractthe ARTiGO_A630_Linux_EVK_v1.0.1.zipandcopythebspinst folder and scriptcmdfileontotheMicroSD card.
InsertthepreparedMicroSDcardintotheARTiGOA630,connectanHDMIdisplay,andpoweronthedevicetoinitiatetheupdateprocess.
Update process screen
*Note:
Keepthepoweronduringtheinstallationprocess.Aftertheinstallationprocesshascompleted,thesystemwillautomaticallyrestart.
Waitfortheloginprompttoappear.Thedefaultusernameisdebianandthepasswordisdebian.
![Page 8: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/8.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
4
3. HardwareFuctionThissectionexplainshowtoenableandtestthehardwarefunctionsprecompiledintheARTiGOA630LinuxEVKincludingsettingupU-Bootparameters,configuringdisplayparameter,configuringwatchdogtimer,settingupGPIO,andconfiguringUART.
3.1 SettingUpU-BootParametersVIArecommendsthatconsoleboard(P/N:15GCU000000-20)andconsolecable(P/N:99G33-192486)areusedinordertoconfiguretheARTiGOA630parameters.
Thefirststepistoconnectthehostmachinetotheconsoleboard,thenconnecttheconsoleboardtotheARTiGOA630throughtheDebugUARTconnector(J1).UseaserialportcommunicationprogramsuchasPuTTY,GtkTerm,orMinicom,toconfiguretheserialportsettingandconnecttothedebugconsole.ThereyouwillbeabletoseetheU-BootbootlogandadjustsettingsintheU-Bootconsole.
Serial port setting of host machine
Debug UART connector (J1) diagram
LOCK
OPEN
J11
![Page 9: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/9.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
5
Debug UART connector (J1) pinout table
Next,powerontheARTiGOA630toinitiatethebootprocess.Whenprompted,pressanykeytostopthebootprocessandentertheU-Bootconsoleasillustratedbythescreenshotbelow.
Debug console view of boot process
WonderMedia Technologies, Inc.W-Load Version : 0.21.00.00
Uncompressing U-Boot... done, booting U-Boot.
U-Boot 1.1.4 (Jan 24 2017 - 15:55:04)WonderMedia Technologies, Inc.U-Boot Version : 0.32.00.00logo = 675 msHit any key to stop autoboot: 0WMT #
Pin Signal1 UART0TXD2 UART0RXD3 SFCLK4 GND5 SFDO6 SFDI7 SFCS0-8 VCC_SF
![Page 10: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/10.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
6
3.2 SettingUpGPIOTheDIOportontheARTiGOA630systemconsistsof15pins.Pins1~7and10~12aretheactivepins.Thefollowingsectionexplainssettingupthesepinsforinput/outputcommunication.
DIO port diagram
3.2.1 SettingUpDIOPortforGPIOFunctionalityTheechovalueofGPIOpinsarelistedbelow:
DIO port pinout table
Typethefollowingcommandtologintoroot’sshell:
TosetthemultifunctionpinasaGPIOpin.HereistheexampleforGPIOpin1:
TodisablethemultifunctionpinasaGPIOpin.HereistheexampleforGPIOpin1:
Pin Signal GPIOechovalue1 GPIO-1 12 GPIO-2 23 GPIO-3 34 GPIO-5 55 GPIO-6 66 GPIO-7 77 GPIO-8 88 GND9 NC
10 GPIO-12 1211 GPIO-13 1312 GPIO-14 1413 VO_3314 VO_3315 GND
$ sudo –i
# echo 1 > /sys/class/gpio/export
# echo 1 > /sys/class/gpio/unexport
5 14 3 2
678910
1112131415
DIO
![Page 11: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/11.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
7
TodisplaythemultifunctionpinasaGPIOpinstatus:
3.2.2 SettingUpGPIModeTosetapinto“input”mode(GPI),usethefollowingcommand(hereistheexampleforGPIOpin1):
ToreadtheGPIinputvalue,usethefollowingcommand:
3.2.3 SettingUpGPOModeTosetapinto“output”mode(GPO),usethefollowingcommand(hereistheexampleforGPIOpin1):
Tooutputa“Low”valueontheGPOpin,usethefollowingcommand:
Tooutputa“High”valueontheGPOpin,usethefollowingcommand:
# cat /sys/kernel/debug/gpio
# echo in > /sys/class/gpio/gpio1/direction
# cat /sys/class/gpio/gpio1/value
# echo out > /sys/class/gpio/gpio1/direction
# echo 0 > /sys/class/gpio/gpio1/value
# echo 1 > /sys/class/gpio/gpio1/value
![Page 12: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/12.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
8
3.3 ConfiguringUARTTheCOMportoftheARTiGOA630systemsupportsRS-232mode(SerialDevice:/dev/ttyS1)andTX/RXcommunicationwithotherdevices.
ThefirststepistoconnectthehostmachinetotheCOMportontheARTiGOA630usinganRS-232cable.
Nextonthehostmachine,andARTiGOA630startaserialcommunicationprogramsuchasPutty,GtkTermorMinicomwiththesameserialportsettingusingtheappropriateserialdevice.
COM port diagram
COM port pinout table
TostarttheMinicomserialcommunicationprogramontheARTiGOA630,usethefollowingcommand:
Startaserialcommunicationprogramonthehostmachinewiththesamecommunicationsettingsusingtheappropriateserialdevice.AfterwardsthehostmachineandtheARTiGOA630willbeabletocommunicatethroughtheprograms(forexamplesendingakeypressononemachinewillbeshownontheothermachine).
Pin Signal
1 NC2 IC_RXD13 IC_RXD14 NC5 GND6 NC7 NC8 NC9 NC
# minicom -s
51 432
6 7 8 9
COM
![Page 13: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/13.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
9
3.4 ConfiguringWatchdogTimerAWatchdogtimerisanelectronictimerthatisusedtodetectandrecoversystemmalfunctions.
Thewdt_driver_test.outprovidesanapplicationtoconfiguretheWatchdogtimer.
ToenabletheWatchdogwiththedefaulttimeout(60seconds),usethefollowingcommand:
Tochangethetimeout<value>andthesystemreboot<value>(seconds),usethefollowingcommand:
Tosendkeep-aliverequeststotheWatchdog<value>(seconds),usethefollowingcommand:
Whenthevalueof“set_keep_alive”issmallerthanthevalueof”set_timeout”,thesystemwillnotreboot.
TodisabletheWatchdog,usethefollowingcommand:$ sudo ./wdt_driver_test.out disable
$ sudo ./wdt_driver_test.out enable
$ sudo ./wdt_driver_test.out set_timeout <value>
$ sudo ./wdt_driver_test.out set_keep_alive <value>
![Page 14: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/14.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
10
4. AccessoriesThissectionexplainshowtoinstallandconfigurethevariousEMIOwirelessmodulesavailablefortheARTiGO A630 system.
4.1 ConfiguringtheEMIO-2531miniPCIe/EMIO-5531USB Wi-Fi&BluetoothModuleTheARTiGOA630defaultdriversupportstheEMIO-2531miniPCIe/EMIO-5531USBWi-Fi&Bluetoothmodule.
4.1.1 ConnectingtotheInternetThefirststepistoinserttheEMIO-2531moduleintotheminiPCIeslotorconnecttheEMIO-5531moduletotheonboardUSBconnector(JUSB1)usingtheUSBcable(P/N:99G3-190042).Afterinstallingeithermodule,connecttheprovidedantennatothemodule.Finally,powerontheARTiGOA630.
Inserting the EMIO-2531 module
Installing the EMIO-5531 module
LOCK
OPEN
30
LOCK
OPEN
1
2
![Page 15: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/15.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
11
Connecting the USB Wi-Fi & Bluetooth cable
Whenthebootprocessiscompleted,clickonthe“NetworkManager”icontoconfiguretheWi-Fi.
AlistofWi-Ficonnectionswillappearonthescreen,selecttheappropriatedevicetocompletetheWi-Ficonnection.
Aftertheconnectioniscreated,connecttotheinternetthroughyourwebbrowser.
LOCK
OPEN1
2
![Page 16: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/16.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
12
4.1.2 EnablingBluetoothThefollowingsectionsshowhowtoenabletheBluetoothAdvancedAudioDistributionProfile(A2DP)toallowaudioplaybackthroughaconnectedBluetoothdeviceaswellashowtoconfiguretheBluetoothSerialPortProfile(SPP).
4.1.2.1 SettingUpBluetoothA2DPProfileThefirststepistoextracttoBT_Config.zipfile.Next,copythepulseaudio-system.conf,bluetooth.confandsystem.pafilesto/etc/dbus-1/system.d/foldertoreplacetheoriginalpulseaudio-system.conf,Bluetooth.confandsystem.pafilesinordertoaddtheA2DPsupportintothesystem.
ToenabletheBluetoothservice,usethefollowingcommand:
Usethefollowingcommandstorunthe“bluetoothctl”toshowtheEMIO-2531BluetoothMACaddressandsetuppairingmode.
ToenableBluetoothdevice,usethefollowingcommands:
$ rfkill unblock bluetooth$ hciconfig hci0 up$ /usr/lib/bluez5/bluetooth/bluetoothd -C -d &$ hciconfig hci0 piscan
$ bluetoothctl[NEW] Controller 5C:F3:70:24:4B:2E[bluetooth]#[bluetooth]# showController 5C:F3:70:24:4B:2E Name: BlueZ 5.25 Alias: BlueZ 5.25 …..[bluetooth]# select 5C:F3:70:24:4B:2E[bluetooth]# power onChanging power on succeeded[bluetooth]# agent onAgent registered[bluetooth]# default-agentDefault agent request successful[bluetooth]# discoverable onChanging discoverable on succeeded[CHG] Controller 5C:F3:70:24:4B:2E Discoverable: yes[bluetooth]# pairable onChanging pairable on succeeded[bluetooth]# scan onDiscovery started[CHG] Controller 5C:F3:70:24:4B:2E Discovering: yes[NEW] Device 00:1D:82:BC:C1:C4 Jabra BT-530…[bluetooth]# scan off[bluetooth]# devicesDevice 00:1D:82:BC:C1:C4 Jabra BT-530Device …[bluetooth]# pair 00:1D:82:BC:C1:C4[bluetooth]# trust 00:1D:82:BC:C1:C4
[bluetooth]# connect 00:1D:82:BC:C1:C4[bluetooth]# info 00:1D:82:BC:C1:C4[bluetooth]# quit
![Page 17: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/17.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
13
4.1.2.2 SettingUptheBluetoothSPPProfileTheARTiGOA630supportsSPPservermodeandSPPclientmode.
Usethefollowingcommandstorunthe“bluetoothctl”toshowtheBluetoothMACaddressandsetuppairingmodefortheEMIO-2531orEMIO-5531module.
SPP server mode:Ifyoudonotchangethelistenchannelnumber,theservicewillautomaticallyusethedefaultchannelnumber.MakesuretheserverorclientmodeisusingthesameBluetoothchannelnumber.
TosetuptheSPPservermodeandallowotherdevicestoconnect,usethefollowingcommands:
SPP client mode:Ifyoudonotchangethelistenchannelnumber,theservicewillautomaticallyusethedefaultchannelnumber.Makesuretheserverorclientmodeisusingthesamelistenchannelnumber.
UsethefollowingcommandstosetuptheSPPclientmodeandrequestaconnectiontoSPPserver.
Toopentheminicomserialcommunicationprogram,usethefollowingcommand:
Connecttothe/dev/rfcomm0serialdevicewiththefollowingsettings:
Serial port setting
StartaserialcommunicationprogramonthehostmachinewiththesamecommunicationsettingsusingtheappropriateBluetoothSPPdevice.AfterwardstheBluetoothSPPdeviceandtheARTiGOA630willbeabletocommunicatethroughtheprograms(forexamplesendingakeypressononemachineshouldbeshownontheothermachine).
$ bluetoothctl[NEW] Controller 5C:F3:70:24:4B:2E[bluetooth]# scan onDiscovery started[CHG] Controller 5C:F3:70:24:4B:2E Discovering: yes[NEW] Device 5C:F3:70:25:DD:33 BlueZ 5.25…[bluetooth]# scan off[bluetooth]# devicesDevice 5C:F3:70:25:DD:33 BlueZ 5.25Device …[bluetooth]# pair 5C:F3:70:25:DD:33[bluetooth]# trust 5C:F3:70:25:DD:33[bluetooth]# quit
# sdptool add SPSerial Port service registered# rfcomm listen hci0Waiting for connection on channel 1Connection from 5C:F3:70:25:DD:33 to /dev/rfcomm0Press CTRL-C for hangup
# sdptool add SPSerial Port service registered# rfcomm connect hci0 5C:F3:70:24:4B:2EConnected /dev/rfcomm0 to 5C:F3:70:24:4B:2E on channel 1Press CTRL-C for hangup
# minicom -s
![Page 18: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/18.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
14
4.2 ConfiguringtheEMIO-2550miniPCIeMobileBroadband ModuleTheEMIO-2550miniPCIeMobileBroadbandmodulesupports3Gfunctions.
4.2.1 ConnectingtotheInternetThefirststepistoinsertanactiveSIMcardintotheSIMcardslotontheARTiGOA630system,andtheninserttheEMIO-2550moduleintotheminiPCIeslot.Afterinstallingthemoduleconnecttheprovidedantennatothemodule.Next,makesuretounpluganyLANcablesorUSBWi-Fidonglesyouhaveinstalled.Finally,powerontheARTiGOA630.
Inserting the SIM card
Next,inserttheEMIO-2550moduleintotheminiPCIeslot.Finally,powerontheARTiGOA630.
LOCK
OPEN
1 2 3 4
Open
Lock
![Page 19: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/19.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
15
Inserting the EMIO-2550 module
ToconfiguretheMobilebroadbandconnection,clickonthe“NetworkManager”iconlocatedinthenotificationareathenclick“NewMobileBroadbandconnection”andawizardwillappear;followthewizardscreendialogueboxtocreatetheconnection.
Network Manger configuration
Fillintherequiredfieldstosetupyourconnection.Ifyouareunsureofwhattherequiredfieldsandvaluesare,checkwithyourMobileBroadbandprovider.
3G connection configuration
LOCK
OPEN
![Page 20: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/20.jpg)
ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide
16
Aftertheconnectioniscreated,clickonthe“NetworkManager”iconagainandselecttheconnectionyoujustcreated.
Thesuccessfulconnectionlookslikethis:
Successful connection screen
![Page 21: QUICK START GUIDE ARTiGO A630 - VIA Technologies, Inc.cdn.viaembedded.com/products/docs/artigo-a630/Liunx... · 2017. 8. 29. · 1 ARTiGO A630 Linux EVK v1.0.1 Quick Start Guide 1.](https://reader036.fdocuments.net/reader036/viewer/2022081403/6090c9780a6a306ea61bf416/html5/thumbnails/21.jpg)
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