MDK4_ Pdf Mdk 2010

User Manual: keil -

Open the PDF directly: View PDF PDF.
Page Count: 6

DownloadMDK4_ Pdf Mdk 2010
Open PDF In BrowserView PDF
MDK-ARM
Microcontroller Development Kit
™

The Keil Microcontroller Development Kit (MDK) is the
complete software development environment for all ARM®
and Cortex™-M processor-based microcontrollers.
It combines the Keil µVision®4 IDE/Debugger with the
industry leading ARM Compilation Tools, to provide
developers with an easy to use, feature-rich environment
optimized for ARM-Powered devices.
MDK provides many unique features designed to help you
quickly develop your project. Save time by using the
Device Database which automatically configures device
and project parameters. Optimize and verify your
applications with new Trace and Analysis Tools, enabling
you to measure performance and code coverage. Bring
resource management to your applications by using the
fully functional RTX Real-Time operating system.

ARM Compiler Performance
MDK is based on the ARM compilation tools, which deliver
the tightest, highest performing code for all ARM-Powered
devices. Further code size savings can be gained by selecting
the MicroLib, which has been specifically developed and
optimized for microcontrollers.

ARM C/C++ Compilation
Tools with MicroLib
µVision4 IDE Supports
Complete Development Cycle
Powerful Debugger with
Real-Time Analysis Tools
JTAG & Serial Wire Debug
plus Real-Time Trace
Full Featured Royalty-Free
RTX RTOS Kernel

25

Dhrystone 2.0 Benchmark

MDK-ARM
Microcontroller Development Kit
ARM C/C++ Compiler

15

RTX RTOS Kernel
µVision
Device Database & IDE

10

µVision
Debugger & Analysis Tools

5

Device Peripheral Simulation

Examples and Templates

Code Size (KBytes)

20

0
ARM Mode

Thumb Mode

Standard Library

Cortex-M3
MicroLib

By using MicroLib, the library code sizes can be significantly reduced,
enabling product memory and cost savings.

www.keil.com

The MDK-ARM Microcontroller Development
Kit offers a complete development environment
for ARM and Cortex-M devices.

MDK-ARM

Visit www.keil.com/arm/mdk.asp for more information.

Installation
µVision
Project Management
The Disassembly and Source
windows are fully synchronized

Each project may contain multiple
target configurations

Debug Restore Views allow you to
save multiple window layouts.

µVision allows you to have multiple
Watch and Memory windows

The Configuration Wizard simplifies
tool and device setup

The System Viewer provides
information of peripheral registers

The µVision IDE incorporates a Device Database of
supported ARM-Powered microcontrollers. In µVision
projects, required options are set automatically when you
select the device from the Device Database. µVision displays
only those options that are relevant to the selected device.

The Editor includes all the standard features you expect in
a professional editor. Workflow is optimized with intuitive
toolbars providing quick access to editor functions, most of
which are also available while debugging for easy source
code changes.

The Flexible Window Management System enables you
to drag and drop individual windows anywhere on the visual
surface. This interface allows you to make better use of your
screen space and to organise multiple windows.

The integrated Source Browser provides access to all
application symbols, together with name, type, and class
information. It allows you to instantly navigate to the
definition and references of any symbol.
MDK-ARM Microcontroller Development Kit

2

µVision Program Debugging and Simulation
Debugger and Simulator

System Viewer

The Debugger can be configured as a Simulator or as a
Target Debugger. It provides one environment in which you
may test your application.

The System Viewer provides an advanced method of
viewing and modifying peripheral registers. Detailed status
information is displayed while the processor runs, and can be
changed directly from within the System Viewer window.

The µVision Debugger simulates a complete ARM-Powered
MCU including the instruction set and on-chip peripherals.

Debug Windows
The Debugger provides windows and dialogs to help you
monitor and control your system. These include:
n
Memory Window

- used to review and modify memory

contents.
n
Watch Window

- view and modify program variables
and lists the current function call nesting.

n
Symbol Window

- view debug symbol information of
the application program.

n
Disassembly Window

- synchronized with the Source
Windows making program debugging easier.

n
Call Stack Window

- view current call nesting including

variable values.
n
Breakpoints

- allows you to define stop conditions for
program execution.

n
Browse Window

- search for objects in your code.

ULINK2 and ULINKpro Adapters
The ULINK family of USB-JTAG Adapters connect your PC's
USB port to your target system (via JTAG or SWD), allowing
you to debug and analyze embedded programs running on
target hardware.
The new ULINKpro provides unique streaming trace directly
to your PC, enabling advanced analysis and optimization of
your applications.

Analysis Tools
The advanced analysis tools work with the simulator or with
target hardware via the ULINKpro streaming trace adapter.
The configurable Logic Analyzer provides a graphical
display of signals and variables.You may click on variable
changes to display the instructions that caused that change
in the source code editor window.
The Debugger provides Code Coverage statistics to verify
applications that require certification testing and validation.
Color coding highlights the execution status of instructions
helping you to refine your testing.
The Performance Analyzer displays the execution time
recorded for functions in your application. Bar graphs display
the time spent in a function, and the number of calls to it.
The Execution Profiler records execution statistics for
each CPU instruction, including the execution count and
execution time for each instruction. These can be reviewed
in the editor and disassembler windows.

Features

ULINKpro

ULINK2

Run control debug (ARM & Cortex-M)

Yes

Yes

Memory + Breakpoint (while running)

Yes

Yes

Data Trace (Cortex-M3/M4)

Yes

Yes

Instruction Trace (Cortex-M3/M4)

Yes

-

CPU Clock speed

200MHz

200MHz

JTAG Clock speed

50MHz

10MHz

Memory read/write

1MByte/s

25KByte/s

Performance

Data Trace streaming (UART mode)

-

1Mbit/s

Data Trace streaming (Manchester mode)

100Mbit/s

-

ETM Trace streaming

800Mbit/s

-

Logic Analyzer

Yes

Yes

Performance Analyzer

Yes

-

Execution Profiler

Yes

-

Code Coverage

Yes

-

Analysis Tools

Further information at: www.keil.com/ULINK
MDK-ARM Microcontroller Development Kit

3

Target Debugging and System Analysis
InstructionTrace

Cortex-M CoreSight
All Cortex-M based devices feature the ARM CoreSight
technology with advanced debug and trace capabilities.

™

MDK, together with a ULINK adapter, uses these features to
enable you to debug your program.You are able to:
n
Control
n
Single

the CPU allowing program start/stop.

Step one source or assembler line.

n
Set breakpoints

while the processor is running.

n
Read/write

memory and peripheral registers on-the-fly,
while it is running at full-speed.

All Cortex-M devices with ETM provide instruction trace.
The Keil ULINKpro is the only Trace adapter which
streams instruction trace directly to your PC. This enables
debugging of historical sequences, execution profiling, and
code coverage analysis.
The virtually unlimited stream of trace information enables
MDK to provide complete Code Coverage of your
program. Code coverage identifies every instruction that
has been executed, ensuring thorough testing of your
application. This is an essential requirement for complete
software verification and certification.

Data and Event Trace
All Cortex-M3 and Cortex-M4 devices provide data and
event trace. MDK provides a number of ways to analyze this
information while your system is running:
n
Trace Window

- Display program flow by capturing
timestamps, PC samples, and Read/Write accesses.

n
Debug

(printf) Viewer - Displays the printf-style output
of the Instrumented Trace (ITM).

n
Exceptions

window - Displays statistical information
about program exceptions and interrupts.

n
Event

Counters - Display real-time values of specific
event counters providing performance indications.

n
Logic Analyzer

- Graphically displays variable changes in
captured data trace.

Code Coverage shows the percentage of instructions that have executed.

ULINKpro allows applications to be run for long periods of
time while collecting trace information. This can be used
by the Execution Profiler and Performance Analyzer
to identify program bottlenecks, optimize your application,
and to isolate problems.

Data Trace Windows provide information from the running target for program
data, exceptions, variables, and printf-style outputs

The performance analyzer displays time spent in each part of your program.

MDK-ARM Microcontroller Development Kit

4

RTX RTOS Kernel
RTX Kernel

RTX Kernel

Today, microcontroller applications often require
simultaneous execution of multiple tasks in a real-time
environment.
While it is possible to implement an embedded program
without using a real-time kernel, the proven Keil RTX allows
you to focus on application development, enabling you to
save time, and produce a more reliable, expandable system.
RTX is a royalty-free, real-time kernel specifically developed
for the ARM and Cortex-M feature-sets. RTX provides
features to manage system resources:
n
Applications
n
Extensive

separated into independent tasks (threads).

time control (scheduling, time delay/intervals).

n
Deterministic

execution times and task scheduling.

n
Inter-task

communication, resource sharing, and memory
allocation features with message pools.

n
Supports

development with error checking, debug and
test facilities.

Mailbox

Memory
Pool

Mutex

Scheduler

Delay &
Interval
Event &
Semaphore

RTX Kernel Function Overview
n
Task

Management Functions allows you to
create and delete tasks. RTX supports up to 254
active tasks, each with 254 priority levels.
n
Task Stacks are allocated from a stack memory
pool or can be supplied when a task is created.
n
Fast Memory Pool Management allows you to
create an unlimited number of fixed size pools.
n
Event Flag Management allows synchronization
with up to 16 event flags per task.
n
Time Management and Timer Callback
Functions provide task time delays/intervals.

RTX is provided as fully configurable object code within
MDK, and as source code in RL-ARM Real-Time Library.
Visit www.keil.com/rl-arm/kernel.asp for more information.

RTX Real-Time Kernel Specifications
General Specifications
Defined Tasks (max)

Kernel-Aware Debugging
RTX is fully integrated in the µVision Debugger making it
easy to monitor task status and kernel activity.
The kernel-aware dialog is available in simulation and also
when running on target hardware. It displays information
about all aspects of the kernel and the running tasks. This
enables you to view statistics about the active tasks, stack
loading, and system resource usage.

Unlimited

Active Tasks (max)

254

Task Priority Levels

1 - 254

Signals / Events

16 per task

User Timers

Unlimited

Semaphores / Mailboxes / Mutexes

Unlimited

Context Switch

<4µS

Memory Requirements
CODE Space
RAM Space (Kernel)
RAM Space (Task)

<4KB
~500 Bytes
TaskStackSize + 52 Bytes

Typical Timing Performance (based on a Cortex-M running at 72MHz)

Task and event timing is conveniently displayed in the Event Viewer.

Initialize system, start task

22.1µs

Create defined task, (no task switch)

8.1µs

Create defined task, (with task switch)

9.3µs

Delete task

4.8µs

Task switch (by os_tsk_pass)

3.9µs

Set event (no task switch)

1.9µs

Send semaphore (no task switch)

1.6µs

Send message (no task switch)

2.5µs

CODE and RAM space depend on which RTX functions are used. Detailed
performance figures are available at www.keil.com/support/man/docs/rlarm.

MDK-ARM Microcontroller Development Kit

5

ARM Microcontroller Development Tools
Microcontroller Development Kit (MDK)
n
Best-in-class ARM

C/C++ Compilation Tools.
n
Genuine Keil µVision®4 IDE/Debugger/Simulator.
n
Royalty-free RTX Real-Time Operating System.
n
Easy device configuration with Device Database support
for more than 500 ARM-Powered devices.
MDK-ARM
Microcontroller Development Kit
A/D Converter

I/O Ports

Debug
Run-Control

Timer/Counter

Interrupt System

Debug
Channel

Royalty-Free RTX RTOS
µVision
Device Database & IDE
µVision
Debugger & Analysis Tools

Examples and Templates

ARM C/C++ Compilers

ULINK® USB Adapters
n
JTAG

PWM

UART

Device Peripheral Simulation

Flash ROM

CPU

RAM

Real-Time
Clock

I2C/SPI

& Serial Wire Interface.
Programming.
n
On-the-fly Target Debugging.
n
Real-Time Data Trace.
n
ETM Instruction Trace (ULINKpro).
n
Flash

DMA

RL-ARM

Ethernet

Real-Time Library

SD/MMC
Interface

USB

CAN

Evaluation Boards

Flash File System

USB Device Interface

CAN Interface

RTOS and Middleware
n
RTX Real-Time

OS with Source Code.
Suite with Server Applications.
n
File System for ROM and Memory Cards.
n
Direct suport for USB and CAN interfaces.
n
TCP/IP

Europe:

United States:

Keil
Bretonischer Ring 16
85630 Grasbrunn
Germany

Keil
4965 Preston Park Road
Suite 650
Plano TX 75093

Phone
Support
FAX

+49 89 / 45 60 40 - 20
+49 89 / 45 60 40 - 24
+49 89 / 46 81 62

Phone

Email

sales.intl@keil.com
support.intl@keil.com

FAX
Email

+1 800 348 8051
+1 972 312 1107
+1 972 312 1159
sales.us@keil.com
support.us@keil.com

Keil provides a wide range of evaluation boards
for 8, 16 and 32-bit devices

Information in this data sheet is subject to change
without notice and does not represent a
commitment on the part of Keil or ARM.

All brand names or product names are the property of their respective holders. Neither the whole nor any part of the information contained in, or the product described in, this document may be adapted or reproduced in any material form except
with the prior written permission of the copyright holder. The product described in this document is subject to continuous developments and improvements. All particulars of the product and its use contained in this document are given in good faith.
All warranties implied or expressed, including but not limited to implied warranties of satisfactory quality or fitness for purpose are excluded. This document is intended only to provide information to the reader about the product. To the extent
permitted by local laws ARM shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information.

Program examples and detailed technical information are available from your distributor and our web site (www.keil.com).

MDK-ARM Microcontroller Development Kit

6

Keil 0223-3/01.10

TCPnet Networking Suite

Examples and Templates

RTX RTOS Source Code



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : No
XMP Toolkit                     : Adobe XMP Core 4.2.1-c043 52.372728, 2009/01/18-15:08:04
Format                          : application/pdf
Creator                         : Tracy Robinson
Title                           : MDK4_ pdf.cdr
Subject                         : Cortex-M, Cortex-M0, Cortex-M1, Cortex-M3, Cortex-M4, Debugger, MPU, UML, MDK-ARM, MDK, RTOS, RTX, RL-ARM, CMSIS, Compiler, IDE, Integrated Development Environment, C/C++, ULINK, Microlib
Creation Date--Text             : 
Mod Date--Text                  : 
Producer                        : Corel PDF Engine Version 14.0.0.567
Creator Tool                    : CorelDRAW
Modify Date                     : 2010:02:23 13:37:36Z
Metadata Date                   : 2010:02:23 13:37:36Z
Create Date                     : 2010:02:23 13:26:16Z
Document ID                     : uuid:e96ac287-60af-49e5-af83-b3cc4ef4f639
Instance ID                     : uuid:0f57f480-d88b-4e5e-b78e-9244f09bd65b
Page Count                      : 6
Author                          : Tracy Robinson
Keywords                        : Cortex-M, Cortex-M0, Cortex-M1, Cortex-M3, Cortex-M4, Debugger, MPU, UML, MDK-ARM, MDK, RTOS, RTX, RL-ARM, CMSIS, Compiler, IDE, Integrated Development Environment, C/C++, ULINK, Microlib
Warning                         : [Minor] Ignored duplicate Info dictionary
EXIF Metadata provided by EXIF.tools

Navigation menu