How to Reach Us:
Home Page:
www.freescale.com
Web Support:
http://www.freescale.com/support
USA/Europe or Locations Not Listed:
Freescale Semiconductor, Inc.
Technical Information Center, EL516
2100 East Elliot Road
Tempe, Arizona 85284
1-800-521-6274 or +1-480-768-2130
www.freescale.com/support
Europe, Middle East, and Africa:
Freescale Halbleiter Deutschland GmbH
Technical Information Center
Schatzbogen 7
81829 Muenchen, Germany
+44 1296 380 456 (English)
+46 8 52200080 (English)
+49 89 92103 559 (German)
+33 1 69 35 48 48 (French)
www.freescale.com/support
Japan:
Freescale Semiconductor Japan Ltd.
Headquarters
ARCO Tower 15F
1-8-1, Shimo-Meguro, Meguro-ku,
Tokyo 153-0064
Japan
0120 191014 or +81 3 5437 9125
support.japan@freescale.com
Asia/Pacific:
Freescale Semiconductor China Ltd.
Exchange Building 23F
No. 118 Jianguo Road
Chaoyang District
Beijing 100022
China
+86 10 5879 8000
support.asia@freescale.com
For Literature Requests Only:
Freescale Semiconductor Literature Distribution Center
P.O. Box 5405
Denver, Colorado 80217
1-800-441-2447 or +1-303-675-2140
Fax: +1-303-675-2150
LDCForFreescaleSemiconductor@hibbertgroup.com
Information in this document is provided solely to enable system and software
implementers to use Freescale Semiconductor products. There are no
express or implied copyright licenses granted hereunder to design or
fabricate any integrated circuits or integrated circuits based on the
information in this document.
Freescale Semiconductor reserves the right to make changes without further
notice to any products herein. Freescale Semiconductor makes no warranty,
representation or guarantee regarding the suitability of its products for any
particular purpose, nor does Freescale Semiconductor assume any liability
arising out of the application or use of any product or circuit, and specifically
disclaims any and all liability, including without limitation consequential or
incidental damages. “Typical” parameters that may be provided in Freescale
Semiconductor data sheets and/or specifications can and do vary in different
applications and actual performance may vary over time. All operating
parameters, including “Typicals”, must be validated for each customer
application by customer’s technical experts. Freescale Semiconductor does
not convey any license under its patent rights nor the rights of others.
Freescale Semiconductor products are not designed, intended, or authorized
for use as components in systems intended for surgical implant into the body,
or other applications intended to support or sustain life, or for any other
application in which the failure of the Freescale Semiconductor product could
create a situation where personal injury or death may occur. Should Buyer
purchase or use Freescale Semiconductor products for any such unintended
or unauthorized application, Buyer shall indemnify and hold Freescale
Semiconductor and its officers, employees, subsidiaries, affiliates, and
distributors harmless against all claims, costs, damages, and expenses, and
reasonable attorney fees arising out of, directly or indirectly, any claim of
personal injury or death associated with such unintended or unauthorized
use, even if such claim alleges that Freescale Semiconductor was negligent
regarding the design or manufacture of the part.
Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. ARC, the ARC logo, ARCangel, ARCform, ARChitect,
ARCompact, ARCtangent, BlueForm, CASSEIA, High C/C++, High C++,
iCon186, MetaDeveloper, MQX, Precise Solution, Precise/BlazeNet,
Precise/EDS, Precise/MFS, Precise/MQX, Precise/MQX Test Suites,
Precise/RTCS, RTCS, SeeCode, TotalCore, Turbo186, Turbo86, V8 µ
RISC,
V8 microRISC, and VAutomation are trademarks of ARC International. High
C
and MetaWare are registered under ARC International.
All other product or service names are the property of their respective
owners.
© Freescale Semiconductor, Inc. 2012. All rights reserved.
Rev. 1
2/2012
Table of Contents
Table of Contents .................................................................................................................................. 1
1 Introduction ........................................................................................................................................ 2
2 Requirements ..................................................................................................................................... 2
2.1 Development tools ........................................................................................................................ 2
2.2 System Requirements ................................................................................................................... 2
2.3 Target Requirements ..................................................................................................................... 2
3. Features ............................................................................................................................................. 3
3.1 Key Features ................................................................................................................................. 3
3.2 Example Applications .................................................................................................................... 3
3.3 Unsupported features :.................................................................................................................. 4
3.4 Release contents .......................................................................................................................... 4
4 Installation Instructions..................................................................................................................... 5
4.1 Installation Guide .......................................................................................................................... 5
4.2 Board-specific information related to TWR-K21D50M ................................................................. 5
4.2.1 TWR-K21D50M-KIT ............................................................................................................... 5
4.2.2 Important jumper settings ...................................................................................................... 5
4.2.3 Building procedure ................................................................................................................ 5
4.2.4 Board-specific build targets: ................................................................................................... 6
5 Known issues .................................................................................................................................... 6
5.1 Compact Flash card Driver ........................................................................................................... 6
5.2 Ram target .................................................................................................................................... 6
5.3 Flashing issues in CW 10.2........................................................................................................... 6
6 Other notes ......................................................................................................................................... 6
K21D50M Standalone Package Release Notes
Freescale Semiconductor
1
1 Introduction
This release note documents the K21D50M standalone package for Freescale MQX™ RTOS
3.8.0. Freescale K21D50M is a member of the Kinetis Arm Cortex processor family. The software is
built base on MQX version 3.8.0. It includes RTOS basic and standard set of peripheral drivers.
For more detailed information about MQX please see Freescale MQX™ 3.8.0 Release notes
and Getting started documents.
2 Requirements
This package can be installed and used standalone.
2.1 Development tools
The TWR-K21D50M Package for Freescale MQX 3.8.0 was tested with the following development
tools:
-
CodeWarrior Development Studio for Microcontrollers Version 10.2 with ARM compiler
Service Pack installed (MCU update Version MCU10_2SP for K21).
o
Support available for Kinetis and ColdFire devices
o
See build projects in
cw10
subdirectories
IAR Embedded Workbench for ARM Version 6.30 or higher
o
Support available for Kinetis ARM®CortexM4 devices
o
See build projects in
iar
subdirectories
KEIL ARM 4.53 or higher
o
Support available for Kinetis ARM®CortexM4 devices
o
See build projects in
uv4
subdirectories
-
-
2.2 System Requirements
The system requirements are defined by the development tool requirements. There are no special
host system requirements for hosting the Freescale MQX™ RTOS distribution itself.
2.3 Target Requirements
The TWRK21D50M Freescale MQX 3.8 was tested with the following hardware configuration:
-
-
-
-
TWR- K21D50M Rev. A processor board
TWR-SER Rev. C serial board
TWR-ELEV Primary and Secondary - four-storey elevator boards
TWR-MEM Rev. B memory extension board
K21D50M Standalone Package Release Notes
Freescale Semiconductor
2
3. Features
3.1 Key Features
This package brings initial support of TWR-K21D50M platform. Standard set of features and
example application is provided.
This section describes the major changes and new features implemented in this release.
Core clock: 48MHz
Bus clock: 48MHz
Default console: ttyc
BSP timer: system tick
New MK21D50M support files :
-
-
-
PSP support for K21D50M platform
BSP for TWR- K21D50M evaluation kit
Standard set of I/O drivers supporting the K21D50M peripherals including:
•
•
•
•
•
•
•
•
•
•
•
•
•
-
-
ADC driver
CRC driver
GPIO driver.
LWGPIO driver
LWADC driver
Serial interrupt and polled driver
SPI interrupt and polled driver.
I2C interrupt and polled driver.
Flash Driver
RTC Driver.
Timer
SD card driver
Compact Flash Card Driver
USB Host and Device drivers and stacks.
Example and demo applications demonstration MQX, USB and MFS usage
3.2 Example Applications
MQX 3.8.0 K21D50M standalone package release contains applications demonstrating kernel,
peripheral, USB functionality on TWR-K21D50M tower kit. The applications can be found on following
location:
-
<install_dir>/mqx/examples
- standard set of examples for kernel features and basic
peripheral drivers
-
<install_dir>/mfs/examples
- example applications demonstrating the MFS file system
features
-
<install_dir>/usb/host/examples
- examples demonstrating USB Host stack features and
class drivers
-
<install_dir>/usb/device/examples
- examples demonstrating USB Device class
implementations
-
<install_dir>/demo/
- various demo application showing more complex examples
K21D50M Standalone Package Release Notes
Freescale Semiconductor
3