A113X1 Development Kit: User Guide
A113X1 Development Kit: User Guide
User Guide
Revision: 7.0
Release Date: 2019-01-24
Amlogic, Ltd.
A113X1 Development Kit User Guide
COPYRIGHT
© 2017 Amlogic, Ltd.
All rights reserved. No part of this document may be reproduced. Transmitted, transcribed, or translated into any
language in any form or by any means with the written permission of Amlogic, Ltd.
TRADEMARKS
AMLOGIC is a trademark of Amlogic, Ltd. All other trademarks and registered trademarks are property of their
respective companies.
DISCLAIMER
Amlogic Ltd. may make improvements and/or changes in this document or in the product described in this document
at any time.
This product is not intended for use in medical, life saving, or life sustaining applications.
Circuit diagrams and other information relating to products of Amlogic Ltd. are included as a means or illustrating
typical applications. Consequently, complete information sufficient for production design is not necessarily given.
Amlogic makes no representations or warranties with respect to the accuracy or completeness of the contents
presented in this document.
CONTACT INFORMATION
Amlogic, Ltd.
2518 Mission College Blvd, Suite 120
Santa Clara, CA 95054
U.S.A.
www.amlogic.com
Change History
Revision Section Change Description
2.0 (2018-01-18) 2.2 Get Source Code Rename for Source code tar package
5.0 (2018-05-22) 2.2 Get Source Code Note for DSP Concepts End User Evaluation License Agreement
7.0 (2017-01-24) 3.1 Note for get latest solution for DSP Concepts
Contents
1. Overview...................................................................................................................................................................... 1
1.1 Development Board Introduction.................................................................................................................1
1.2 Interface Description......................................................................................................................................2
2. Development Environment....................................................................................................................................... 4
2.1 Configuration of Build Environment............................................................................................................ 4
2.2 Get Source Code............................................................................................................................................4
2.3 Compile the System.......................................................................................................................................4
3. Developer’s Initial Test.............................................................................................................................................. 6
3.1 Get the Latest Firmware(Image) for Burning.............................................................................................6
3.2 Upgrade firmware...........................................................................................................................................6
3.2.1 Upgrade from Windows Host........................................................................................................... 6
3.2.2 Upgrade from Ubuntu Host.............................................................................................................. 7
3.3 Boot Up System..............................................................................................................................................8
3.4 Run AVS Demo.............................................................................................................................................. 8
3.4.1 Setup Wifi............................................................................................................................................ 8
3.4.2 Run AVS Demo.................................................................................................................................. 9
3.4.3 HelloWorld Test................................................................................................................................11
4. Debug Tool................................................................................................................................................................12
4.1 UART Debug Tool....................................................................................................................................... 12
4.2 Usage of ADB and Telnet...........................................................................................................................12
5. Microphone Configuration and Tuning................................................................................................................. 14
5.1 Default Microphone Configuration............................................................................................................ 14
5.2 Options for Additional Microphone Daughter Cards.............................................................................. 14
6. Support And Additional Documentation............................................................................................................... 15
6.1 Contact Information..................................................................................................................................... 15
6.2 Documents and Support.............................................................................................................................15
1. Overview
A113X is an advanced application processor designed for smart audio and smart home applications. It
integrates a powerful CPU subsystem, advanced multi-format audio processing unit, a secured runtime
environment and all major peripherals for versatile smart home applications.
The basic features for Development Board :
6 Digital Microphones in a Circular Array
High-performance DSP algorithms for Acoustic Echo Cancellation, Beamforming, and Noise Reduction.
Microphone Board 1 -
Stereo Speaker 2 -
UART Debug Board Additional purchase, support the standard RS-232 protocol device. Eg:
1 https://www.amazon.com/dp/B014PBYER4/ref=psdc_464394_t3_B00M41
OUYA
2. Development Environment
This section explains how to build the code and run it on the development kit.
Note:
Source code includes binary code which was developed by DSP-Concepts company, Amlogic has been
authorized to integrate this binary code into our Board Develop Kit. Licensee customers need to agree with
“DSP Concepts End User Evaluation License Agreement” if they want to use this kit. Details of this
agreement can be found on :
https://dspconcepts.com/sites/default/files/dsp_far-field_voice_ui_eval_with_sensory_pass-throughs_click-
through.pdf
$ cd /<your-buildroot-repo dir>/
$ source runCompile.sh
The script “runCompile.sh” will run the Compile automatically.
##########++++++++++++#########################################
###################
############################################################
#######################
c)If you can use UART debug tool, you can enter UBOOT command line mode by execute “Ctrl + C”
immediately when power on system, input “update”, then enter USB burning mode.
axg_s420_v1#<INTERRUPT>
axg_s420_v1#update
InUsbBurn
SUBSYSTEMS=="usb",ATTRS{idVendor}=="1b8e",ATTRS{idProduct}=="c003",OWNE
R="yourUserName",MODE="0666",SYMLINK+="worldcup"
c)Install the libusb driver. In your Ubuntu pc, use 'lsusb' to see whether the Ubuntu is already installed
the libusb library.
1. If you see device like this: 'ID 1b8e:c003 Amlogic. Inc.', Now your PC already can use the
'update' tool.
2. If you fail to see Amlogic worldcup device string '1b8e:c003...', you can install it using
command 'sudo apt-get install libusb-dev'.
3. Check driver if it has been correctly installed.
Step 2. Make sure plug-out and plugin the usb cable to let worldcup usb device probed by Ubuntu:
a)Use 'lsusb' to see if Amlogic device '1b8e:c003...' recognized.
b)In Ubuntu 12.04, a device called '/dev/worldcup' as descripted in you udev rules
Step 3. Connect the board to your linux pc with a usb cable, set baord to USB mode, if you have installed
properly the update binary tool, your linux machine should detect a new usb device called
/dev/worldcup
Step 4. Execute thefollowing command: $ flash-tool.sh --img=/path/to/aml_upgrade_package.img --
parts=all --wipe --soc=axg
Note:
If you want to get more detail information,please reference DOC ““Amlogic Update USB Tool User Guide” and
README for flash-tool-v4.7.
Step 2. Open web app to setup WiFi, please input the URL : 192.168.2.1 ,and then click search button, you
will find the following picture.
Step 3. Scanning nearby wifi ssid, clicks on “WIFI-LIST”, set password and connect it.
Step 2. Install “Amlogic avs apk” on your android device, and set the development board in the same LAN
with android device. <your-buildroot-repo dir>\multimedia\avs\setup_app\avs_token_app-0.3.1.apk, or
download: http://openlinux.amlogic.com:8000/download/A113/Tool.
Step 3. Run “Amlogic avs apk”,hold down the screen and slide down to discovery the IP for development
board.
Step 4. Click on IP “buildroot 192.168.199.242”, login to Amazon site with your account.
Step 5. It will update AlexaClientSDKConfig.json by “Amlogic avs apk” and show “Reflash token was
successed” message, then you need to reboot development board for running AVS demo automatically.
Step 6. Speaking to development board, then it will connect Amazon server, and reply.
buildroot/package/helloworld$ ls
buildroot/package/helloworld/src$ ls
helloworld.c Makefile
# cp /mnt/helloworld /usr/bin/
# helloworld
Hello World
argv[0]=helloworld
4. Debug Tool
Step 4. Navigate to the folder with Windows Explorer and right-mouse click it to install it with administrator
privilege.
Step 6. Connect the Micro USB to serial debug board & opposite end to Windows PC USB port.
Step 7. Bring up Windows Device Manager & expand Ports. Note the COM# for ‘Silicon Labs P210x USB to
UART Bridge’.
Step 9. Start Putty, click Serial, enter COM# (replace with number viewed in step 4), 115200 for the baud
rate, & click Open.
Step 10. Plug the 12V plug into the A113X main board power jack and the adapter into an electric outlet.
Step 11. Slide the tall black power-up switch immediately behind the power inlet on the A113x main board to
power up the board.
Step 12. Observe that the boot up output appears in the Putty terminal window.
Telnet
Set the development board in the same LAN with PC.
Execute the command: telnet IP address. Eg : telnet 192.168.199.117
# switch_mics_num.sh 2
# switch_mics_num.sh 4