MCBTWRK60
Quick Start Guide
Installing the Software
All examples shown in this quick start guide will work with the
Note: MDK-ARM will be installed in your root directory by
default. This ensures all included examples work correctly.
Connecting to the MCBTWRK60
MDK-ARM supports ULINK2, ULINKpro and OS-JTAG
downloading and debugging for the MCBTWRK60 board.
To connect via ULINK2 or ULINKpro to your PC you need:
To connect via OS-JTAG to your PC you need:
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\Freescale\TWR-K60N512\Blinky
To use this example
This Quick Start Guide
software development tools and run a variety of example
projects on the MCBTWRK60 board containing the Freescale
MK60N512VMD100 device.
The MCBTWRK60 works with the Keil MDK-ARM
(Microcontroller Development Kit) which features the
industry-standard ARM compiler, the µVision4 IDE/Debugger
and analysis tools.
MDK-Lite Edition:
Open the Blinky.uv2 project file
Compile and link the Blinky application
Program the application into on-chip Flash ROM
Download the latest version of MDK-ARM from:
Double click the downloaded file and follow the
instructions to install MDK-ARM into your root directory
The evaluation version does not require a license key
USB A-miniB cable to power the board.
ULINK2 or ULINKpro Debug Adapter with USB A-B cable
USB A-miniB cable (provides power & debug connection).
Start Vision
Project - Open
Project - Build
Flash - Download
www.keil.com/demo/eval/arm.htm
®
shows how to install the Keil
Getting Started and Blinky Example
www.keil.com
Using a ULINK Adapter or OS-JTAG
The ULINK family of debug adapters connect your PC’s USB
port to the Cortex Debug connector on your target board
allowing you to download and analyze embedded programs
running on your target hardware.
ULINK2 supports JTAG, Serial Wire Debug (SWD), and Serial
Wire Viewer (SWV) for on-the-fly debug and analysis. ULINKpro
supports these interfaces plus ETM Instruction Trace.
The ULINK2 and
MCBTWRK60 using the Cortex Debug connector.
The OS-JTAG JTAG interface from P&E Micro is included on the
MCBTWRK60 board. The USB cable provides the power and the
debug connection from the PC to the MCBTWRK60.
Using the debugger commands, you may:
The LEDs on the target are controlled by the potentiometer
setting. As the setting increases, the LEDs scroll faster.
Start debug mode
Single step through code
Set breakpoints
Run the application
Review variables in the watch window
Reset the device to re-run the application
Use the yellow arrow (program counter) to view the
current assembler or C statement
ULINKpro
adapters connect to the