background image

 

MaaXBoard-Android-UM-V1.0 

http://www.avnet.me/maaxboard   

13 

3.2.2  Common Important Options 

Developers options include some important settings, while ordinary users may not need this, 

it’s very 

important for developers, such as: 

  Stay awake 

  USB debugging 

  Default USB configuration 

  Input 

  Drawing 

  Apps 

 

 

 

 

Summary of Contents for MAAXBOARD

Page 1: ...MaaXBoard AES MC SBC IMX8M G Android User Manual V1 0 ...

Page 2: ...buted or duplicated in any approach and form without the written permission issued by Avnet Manufacturing Services Disclaimer Avnet Manufacturing Services does not take warranty of any kind either expressed or implied as to the program source code software and documents provided along with the products and including but not limited to warranties of fitness for a particular purpose The entire risk ...

Page 3: ...MaaXBoard Android UM V1 0 http www avnet me maaxboard 3 Revision History Rev Description Author Date V1 0 Initial version Sandy 20200301 ...

Page 4: ...oper options 12 3 2 1 Enable Developer options 12 3 2 2 Common Important Options 13 3 3 USB Debug 14 3 3 1 Enable USB Debugging 14 3 3 2 Connect to device 15 3 3 3 Start and Connect ADB 16 3 3 4 Issuing ADB Commands 16 3 3 5 Issue shell commands 16 3 3 6 Install an app 17 3 3 7 Uninstall an app 17 3 3 8 Copy files to from a device 18 3 4 Button 19 3 4 1 PWR 19 3 4 2 BACK HOME 20 3 4 3 Virtual Butt...

Page 5: ...tooth 4 2 37 3 11 1 Start Bluetooth 37 3 11 2 Scan and Connect the Bluetooth Devices 39 3 12 LED 40 3 13 UART 40 3 13 1 UART1 40 3 13 2 UART2 41 3 14 Storage 42 3 15 USB 3 0 Interface 42 3 15 1 USB Host 42 3 15 2 USB Device 44 Chapter 4 Burn or update the system Image 47 4 1 Burn the System Image to SD Card under Windows OS 47 4 2 Burn the System Image to SD Card under Android OS 48 4 3 Update Sys...

Page 6: ...MaaXBoard Android UM V1 0 http www avnet me maaxboard 6 6 1 Technical Support 50 6 2 Warranty Conditions Error Bookmark not defined Chapter 7 Contact Information Error Bookmark not defined ...

Page 7: ...older tree 01Doc Description MaaXBoard Android ReleaseNote Vxx pdf Release Note MaaXBoard Android UserManual Vxx pdf User Manual MaaXBoard Android DevelopmentGuide Vxx pdf Development Guide 01AndroidSourceCode Description Readme txt xx tar gz Git Library path or Source Code package 02AndroidShipmentImage Description MaaXBoard AndroidShipmentImage Vxxx img Android system image file 03AndroidTools D...

Page 8: ...Evaluation image Android P 9 Development based on NXP i MX 8M Micro SD boot 1 Gigabit Ethernet RJ45 2 USB 3 0 can work in Host Device mode 2 UART TTL include debug port External interfaces I2C UART SPI SAI and GPIO WIFI BLE 4 2 MIPI DSI Display HDMI Display and Audio MIPI camera and USB Camera Bluetooth audio USB audio ...

Page 9: ...elect different image file according to the screen used For example MIPI DSI screen MaaXBoard AndroidShipmentImage SDcard MIPI V1 0 2r03 img HDMI screen MaaXBoard AndroidShipmentImage SDcard HDMI V1 0 2r03 img 2 2 Boot from SDCard Install the Serial Communication software e g PUTTY select the corresponding port number baudrate as 115200 data bits as 8 stop bits as 1 parity as none Connect the debu...

Page 10: ...onnect MIPI DSI screen to J16 Insert the SD card with pre burned image into the card slot J2 Powered the board with a 5V 2A Type C interface power to J4 When the system start up the screen will show the Android boot up GUI After the boot the screen will display the Android lock screen wallpaper Slide up to unlock the screen and enter HOME page ...

Page 11: ...consistent while the screen direction might be different Most HDMI display screens don t have the touch screen function we can connect the USB mouse and keyboard to instead of using touch screen operation First of all please refer to the previous chapter and boot up the system Then configure or use the functions according to the following guidance 3 1 Software version Go to HOME page slide up to s...

Page 12: ...tablet and tap Build number for 7 times When you tap the option it will prompt You are now x steps away from being a developer Continue tap until the system prompt You are now a developer Then go back to the System page you will find Developer options Tap on this option then you can enable or disable the developer mode Note After disabling the Developer options system settings screen will hide it ...

Page 13: ...maaxboard 13 3 2 2 Common Important Options Developers options include some important settings while ordinary users may not need this it s very important for developers such as Stay awake USB debugging Default USB configuration Input Drawing Apps ...

Page 14: ...ill with Android ADB and WIN10 as an example to introduce how to use the USB debugging capabilities Download address https developer android com studio releases platform tools Or download directly from https dl google com android repository platform tools latest windows zip Reference Usage https developer android com studio command line adb 3 3 1 Enable USB Debugging Enable USB Debugging in Develo...

Page 15: ...terface J5 to PC Windows will detect Universal serial bus device EM_SBC_IMX8M 2 Then set the default USB connection to File Transfer in Developer options Note You may need to execute this step each time connect the device 3 Windows will install the USB driver automatically After that you will find the following 2 devices in device manager ...

Page 16: ...and should be directed For example D work platform tools adb s 161211d6f060954c pull sdcard sdcard2 sdcard 5 files pulled 0 skipped 0 8 MB s 464703 bytes in 0 565s This operation copies the sdcard folder from the device serial number 161211d6f060954c to the developers machine path of adb tool sdcard2 folder 3 3 5 Issue shell commands You can use the shell command to issue device commands through a...

Page 17: ...t usb configfs rc odm sbin vendor em_sbc_imx8m exit em_sbc_imx8m To exit an interactive shell press Control D or type exit D work platform tools adb shell em_sbc_imx8m D D work platform tools adb shell em_sbc_imx8m exit 3 3 6 Install an app Execute commands adb install path_to_apk For example D work platform tools adb install D work apk com shenyaocn android usbcamera apk Performing Streamed Insta...

Page 18: ...m shenyaocn android usbcamera Success 3 3 8 Copy files to from a device Use the pull and push commands to copy files to and from a device To copy a file or directory and its sub directories from the device execute the command adb pull remote local for example D work platform tools adb s pull sdcard sdcard2 sdcard 5 files pulled 0 skipped 0 8 MB s 464703 bytes in 0 565s To copy a file or directory ...

Page 19: ...XBoard support 3 physical buttons BACK HOME and PWR 3 4 1 PWR 1 Short press PWR button system will enter sleep mode press PWR again the system will resume from sleep mode 2 Long press PWR it will prompt 3 option on the right side of screen Power off Restart and Screenshot ...

Page 20: ...n Camera quickly by press PWR twice 3 4 2 BACK HOME HOME Back to HOME page BACK Back to last screen 3 4 3 Virtual Button In the bottom of the screen there are three virtual buttons in turn BACK HOME TASK The function of BACK and HOME is the same with psychical button Tap TASK button to open recent task list the you can switch to or clear all running applications ...

Page 21: ...n Interface HDMI Default screen 720p 1080p 2k 4k J9 Standard HDMI Interface MIPI DSI 720 1280 J16 3 5 1 1 HDMI Most models of HDMI displayer can be automatic recognized and matching if not please contact us In common situation HDMI displayer is landscape touch screen is not support so connect a USB mouse is necessary HDMI displayer do not support backlight brightness adjustment 3 5 1 2 MIPI DSI SC...

Page 22: ...xboard 22 3 5 2 Display Settings Go to Settings Display to configure displayer In this screen user could adjust Brightness level Sleep Font size Display size Screen saver etc You can also adjust brightness level by slide down from the top of screen ...

Page 23: ...y taps when you touch the screen A circle appears under your finger or stylus and follows you as you move around the screen Enable Pointer Location to show the pointer tap location on the device with cross hairs A bar appears across the top of the screen to track the cross hair coordinates As you move the pointer the coordinates in the bar track the cross hair location and the pointer path draws o...

Page 24: ...o output from HDMI audio Connect the audio output device you can play audio from HDMI device 3 7 1 2 USB AUDIO DEVICE MaaXBoard could support USB audio device which do not need specified driver to play audio Connect USB audio device to USB 1 you can play audio from USB audio device 3 7 1 3 BLUETOOTH AUDIO MaaXBoard also support play audio files via the Bluetooth audio device such as Bluetooth head...

Page 25: ...Board Android UM V1 0 http www avnet me maaxboard 25 3 7 2 Play Audio Copy wav or mp3 files to a U disk connect it to USB1 then open Settings Storage SanDisk USB drive double click the audio file to play it ...

Page 26: ...MaaXBoard Android UM V1 0 http www avnet me maaxboard 26 You can also copy the audio file to the Music folder of Android internal storage open Music application to play the music ...

Page 27: ...MaaXBoard Android UM V1 0 http www avnet me maaxboard 27 3 7 3 Volume Adjustment Go to Settings Sound drag the volume bar to adjust it ...

Page 28: ...MIPI Camera Connect the Camera module to J16 before system boot up The Android system provide a Camera application which could be used with MIPI Camera to catch photos 3 8 1 1 PREVIEW AND CATCH PHOTOS 1 Open the Camera APP choose Allow in the Pop up windows then come into the UI of preview 2 Click catch key to catch a photo ...

Page 29: ...mera Connect USB Camera to USB1 after system start up If you connect the MIPI Camera and USB Camera to one board open the default Camera APP the USB Camera is used as Secondary Camera You could switch to the USB Camera in the Camera APP As the default Camera APP of Android system could not support USB camera independently we suggest to use another USB Camera APP you should install it at the first ...

Page 30: ...5 255 255 0 inet6 addr fe80 4443 d4ea 45c9 22c6 64 Scope Link UP BROADCAST RUNNING MULTICAST MTU 1500 Metric 1 RX packets 221 errors 0 dropped 0 overruns 0 frame 0 TX packets 72 errors 0 dropped 0 overruns 0 carrier 0 collisions 0 txqueuelen 1000 RX bytes 23360 TX bytes 4458 em_sbc_imx8m ping www bing com PING cn 0001 cn msedge net 202 89 233 100 56 84 bytes of data 64 bytes from 202 89 233 100 ic...

Page 31: ...MaaXBoard Android UM V1 0 http www avnet me maaxboard 31 You could also use the WebView Browser Tester APP to browse website Input the address in the address bar ...

Page 32: ... maaxboard 32 3 10 Wi Fi The on board Wi Fi module support 2 4G 5G network and hotspot 3 10 1 Enable and Disable Wi Fi There are 2 kinds of way to enable and disable the Wi Fi the first one is to click the Wi Fi icon in the system drop down box ...

Page 33: ...MaaXBoard Android UM V1 0 http www avnet me maaxboard 33 You also could open the Wi Fi at Settings APP steps as below ...

Page 34: ... avnet me maaxboard 34 3 10 2 Connect the Wi Fi Network Click the Wi Fi enable Use Wi Fi it could auto scan the available Wi Fi networks click the network you want to connect and input the password then you could using the Wi Fi network ...

Page 35: ...MaaXBoard Android UM V1 0 http www avnet me maaxboard 35 3 10 3 Delete the network Click the network details and click the FORGET key ...

Page 36: ...net to start the configuration of Wi Fi Hotspot 1 Enable the Hotspot Click the Hotspot tethering into the Hotspot configuration Then click into the Wi Fi hotspot and slide the enable key to On the Wi Fi hotspot is enabled 2 Disable the Hotspot Slide the enable key to Off and the Wi Fi Hotspot would be disable 3 The configuration parameter Setup the Hostname Security and Hotspot Password as SSID Se...

Page 37: ...MaaXBoard Android UM V1 0 http www avnet me maaxboard 37 3 11 Bluetooth 4 2 3 11 1 Start Bluetooth There is 2 ways to open the Bluetooth first way is the Bluetooth icon of the system drop down box ...

Page 38: ...oid UM V1 0 http www avnet me maaxboard 38 1 Another way is using Settings APP start the APP go to the Connected Device Connection preferences in proper sequence and slide the key to ON then the Bluetooth is enabled ...

Page 39: ...oard 39 3 11 2 Scan and Connect the Bluetooth Devices Click the Pair new device system could scan the Bluetooth device click the device you want connect in the available devices list The board support the Bluetooth earphone sound box and mobile phone ...

Page 40: ...mx8m echo 1 tee sys class leds usr_led brightness em_sbc_imx8m echo 1 tee sys class leds sys_led brightness 3 13 UART MaaXBoard supports 2 UART interface MaaXBoard CPU Interface Type UART1 UART TTL Debug Interface UART2 UART TTL 3 13 1 UART1 UART1 is the default debug interface for Android OS which can be used to login the shell environment of MaaXBoard Connection methods 1 Connect the debug inter...

Page 41: ...ion for root type su command em_sbc_imx8m ls sdcard ls sdcard Permission denied 1 em_sbc_imx8m su em_sbc_imx8m ls sdcard Alarms DCIM Movies Notifications Podcasts Android Download Music Pictures Ringtones 3 13 2 UART2 In the Android system the node for UART2 is dev ttymxc1 Users could also write their own applications to control the LED ...

Page 42: ...CE or use Storage manger to manage storage If you need to write or read files from the storage use Files app 3 15 USB 3 0 Interface The USB 3 0 interface J5 on have 2 USB Host Interface the upper one is USB1 the lower one is USB0 USB1 support USB HOST function USB0 support USB Device function 3 15 1 USB Host USB1 supports USB device such as USB HUB U disk USB Camera key board mouse etc ...

Page 43: ...oard 43 Insert a U disk to USB1 system will mount the storage device automatically In drop down list it will display as follows Users could open U disk to explore the files or eject the U disk In Settings Storage screen you will find portable storage ...

Page 44: ... the system image USB debug or transfer files For USB debug guide refer to USB Debug Note Connect USB0 and PC after the system start up 3 15 2 1 BURNING MODE Connect USB0 and PC before power on the board The system will not boot normally it will enter burning mode Then users could burn the system image to the development board using uuu tools For the detail information refer to MaaXBoard EMMC burn...

Page 45: ...5 2 2 TRANSFER FILES Start up the system then connect USB0 and PC open default USB configuration option in Developer options 1 Choose File Transfer The device manager on the computer will show portable device EM_SBC_IMX8M open computer you will find EM_SBC_IMX8M ...

Page 46: ...board 46 Open EM_SBC_IMX8M users could edit all the files folders under sdcard of the board 2 Choose PTP EM_SBC_IMX8M will be listed in device manager and computer Users could visit sdcard Pictures and sdcard DCIM on the board edit the files folders ...

Page 47: ...e to SD Card under Windows OS 1 Firstly you should prepare a SD card which is no less than 16GB 2 Then download and install Win32 Disk Imager from https sourceforge net projects win32diskimager 3 Select the system images file eg MaaXBoard AndroidShipmentImage SDcard MIPI V1 0 2r03 img 4 Click Write button to burn the images ...

Page 48: ...dc2 dev sda1 dev sda5 dev sdb1 dev sdb5 dev sdc1 3 If SD Card is mounted umount it sudo umount dev sdc1 sudo umount dev sdc2 4 Burn the SD card with following instructions bmaptool create o burn map MaaXBoard AndroidShipmentImage SDcard MIPI V1 0 2r03 img sudo bmaptool copy bmap burn map MaaXBoard AndroidShipmentImage SDcard MIPI V1 0 2r03 img dev sdc 4 3 Update System Image in eMMC USB0 The lower...

Page 49: ...and Android system for the detail software introduction please refer to related user manual Linux MaaXBoard Linux Software Release Note MaaXBoard Linux Software User Manual MaaXBoard Linux Software Development Guide Android MaaXBoard Android Software Release Note MaaXBoard Android Software User Manual MaaXBoard Android Software Development Guide 5 3 Android Develop https android googlesource com h...

Page 50: ... http www avnet me maaxboard 50 Chapter 6 Technical Support 6 1 Technical Support To receive technical support please post any questions you may have to the forum on https www avnet me maaxboard or contact your local Avnet FAE ...

Reviews: