User manual

AOAA Kit – Software User’s Guide
Page 9
Copyright 2012 © Embedded Artists AB
2.2 Prerequisites
This section lists what is needed to get started with application development with the AOAA kit, i.e.,
with AOA experiments and prototyping.
2.2.1 Software
The following software packages are needed to start working:
1) For program developing on the Accessory side (LPC1769 and LPC11C24), the latest version
of the LPCXpresso IDE must be downloaded and installed. See [13]
http://www.nxp.com/lpcxpresso/ for details where to download and how to install.
2) For developing the application on the Android side, download and install the Android SDK.
See [5]. Note that the Android demo applications in this document are based on Android 2.3.4
(API 10) with Google API and that support must be selected during SDK installation.
3) Download the demo applications from Embedded Artists support site. The applications are
distributed as zip-files that can easily be imported into the LPCXpresso IDE (Eclipse based).
Registration is needed before getting access to the support site. The AOAA Board is
delivered with a product serial key that must be registered to gain access.
4) To test the demo applications without compiling, it is recommended to download and install
Flash Magic (http://www.flashmagictool.com/). It is a PC tool for programming flash based
microcontrollers from NXP over the UART. This application can download pre-compiled
applications to the LPC1769 on the AOAA Board. It is not really useful for program
development and debugging.
2.2.2 Hardware
The following hardware is needed to start working:
1) An AOAA kit (AOAA Board, USB cable and product serial key for access to the support site).
2) An LPC-Link™ is needed for effective application development on the LPC processors.
Check the AOAA Board hardware user’s guide for information about how to create an LPC-
Link from an LPCXpresso target board. There is also an FAQ entry on the Embedded Artists
web site with a detailed guide on how to create an LPC-Link.
Embedded Artists sells LPCXpresso boards that have the needed modifications
done (to create an LPC-Link from an LPCXpresso Board).
3) An Android device that supports AOA. Check the AOAA Board hardware user’s guide for a list
of (confirmed) supported Android devices.
The Android application demos have not been uploaded to the Android Market. In
order to install the demos from a different source the settings in the Android device
must be changed. Go to ‘Settings’ and then ‘Applications’ in the device and select
“Unknown sources”.
On Android devices running Android 4.0 this setting has been moved from
‘Applications’ to ‘Security’
The second setting is required when developing applications for an Android device.
Go to ‘Settings’, ‘Applications’, and then ‘Development’ and enable ‘USB debugging’.
4) A +5VDC power supply. In most cases the Android device is supplied with a USB charger
(that has a USB-A connector for supplying the +5VDC). The USB charger must be capable of
supplying 0.8-1.0A.
The USB cable that is included in the AOAA kit (USB-A to USB-B) is used between
the USB charger (or your PC) and the AOAA Board.