User manual

AOAA Kit Software User’s Guide
Page 27
Copyright 2012 © Embedded Artists AB
Figure 26 LPCXpresso IDE Debug Project
In case flashing fails, an error message like below will be displayed. This is an indication that the
debugger could not connect to the LPC1769 or LPC11C24. The most common reason is that the
microcontroller was in a low-power mode where debug connection is not possible. Make sure the
microcontroller is in ISP/bootload mode and try again. Also make sure the small 10-pos flat cable is
correctly connected.
Figure 27 LPCXpresso IDE Program Failing to Flash
When the code has been downloaded execution will stop at the first line in the main function. Press F8
on the computer keyboard to resume/start execution.
4.5 Debugging an Android Application
Debugging an Android application on a device such as Nexus One or Motorola Xoom requires a USB
connection to that device. As a result it is not possible to debug the Android application while it is
connected to the AOAA Board.
To debug an Android application for the first time:
1) Make sure the Android device is connected to the PC and that the ADB drivers are installed.
1) Click (to select) project to build
2) Debug project