
Getting Started and Blinky Example
MCB2929
Quick Start Guide
This
Quick Start Guide
introduces the MCB2929 board
for the
LPC2929
microcontroller device from NXP. It
shows how to install the Keil software development tools for
ARM-based devices and run a variety of example projects.
To install the evaluation version of the Keil Microcontroller
Development Kit (MDK-ARM):
n
Insert the CD-ROM into your PC.
If the opening screen does not appear, run SETUP from the
CD root directory:
n
Click Install Evaluation Software, then select ARM
Development Tools
n
Follow the setup program instructions
The SETUP program installs the Keil
m
Vision4 IDE, Debugger
and Simulator; and the ARM Compilation Tools.
Installing the Software
Connecting to your Target
Using ULINK2
Using ULINK-ME
The target is powered via your PC, through its USB port. The Keil
ULINK family of adapters connect the USB port of your PC to
the JTAG port of your target board allowing you to download and
debug embedded programs running on your target hardware.
ULINK2 and ULINK-ME support standard JTAG and Real-Time
Agent for on-the-fly target debugging.
The ULINK2 Adapter connects to the MCB2929 using the 20-pin
ribbon cable.
The ULINK-ME Adapter connects directly to the MCB2929 20-pin
JTAG connector.
Blinky Example
This example demonstrates the ease of downloading and
debugging an application on a target board.
It can be found at:
C:\Keil\ARM\Boards\Keil\MCB2929\Blinky
To use this example
n
Start
m
Vision
n
Open the Blinky project file
Project - Open
n
Compile and link the Blinky application
Project - Build
n
Program the application into on-chip Flash ROM
Flash - Download
n
The LEDs on the target blink from left to right, and back again.
Press S1 to increase, and S2 to decrease the speed of blinking.
n
Start debug mode
Using the debugger commands, you may:
n
Single step through code
n
Set breakpoints
n
Run the application
n
Review variables in the watch window
n
Reset the device to re-run the application
n
Use the yellow arrow (program counter) to view the
current assembler or C statement
www.keil.com/mcb2929