Release Notes. Freescale MQX for TWR-K21D50M. Freescale MQX RTOS for TWR-K21D50M PRODUCT VERSION: 1.0 PRODUCT:

Similar documents
Freescale MQX RTOS TWR-MCF51JF Patch. Release Notes

Keil uvision 4 Kinetis Support for Freescale MQX RTOS Release Notes

TWR-MCF54418 Patch for Freescale MQX RTOS 3.6.2

Updating the Firmware on USB SPI Boards (KITUSBSPIEVME, KITUSBSPIDGLEVME)

MC56F825x/MC56F824x (2M53V) Chip Errata

MTIM Driver for the MC9S08GW64

MPC5200(b) ATA MDMA, UDMA Functionality BestComm Setup Recommendations

Using the CAU and mmcau in ColdFire, ColdFire+ and Kinetis

Design Recommendations to Implement Compatibility Between the MC13783VK and the MC13783VK5

USB Bootloader GUI User s Guide

Upgrade the Solution With No Changes 2 Upgrade the Solution With No Changes If a Codebase does not contain updates to its properties, it is possible t

SGTL5000 I 2 S DSP Mode

MPC7410 RISC Microprocessor Hardware Specifications Addendum for the MPC7410TxxnnnLE Series

Electrode Graphing Tool IIC Driver Errata Microcontroller Division

MC33696MODxxx Kit. 1 Overview. Freescale Semiconductor Quick Start Guide. Document Number: MC33696MODUG Rev. 0, 05/2007

PCB Layout Guidelines for the MC1321x

MSC8144AMC-S Getting Started Guide

Managing Failure Detections and Using Required Components to Meet ISO7637 pulse 1 on MC33903/4/5 Common Mode Choke Implementation

MPR121 Jitter and False Touch Detection

16-bit MCU: S12XHY256 Automotive Cluster Demo by: Jose M. Cisneros Steven McLaughlin Applications Engineer Microcontroller Solutions Group, Scotland

PDB Driver for the MC9S08GW64

IIC Driver for the MC9S08GW64

Using the ColdFire+ Family Enhanced EEPROM Functionality Melissa Hunter Derrick Klotz

etpu General Function Set (Set 1) David Paterson MCD Applications Engineer

Differences Between the DSP56301, DSP56311, and DSP56321

MPC8349E-mITX-GP Board Errata

Introduction to the S12G Family EEPROM Including a Comparison between the S08DZ, S12XE, and S12P Families

Utilizing Extra FC Credits for PCI Express Inbound Posted Memory Write Transactions in PowerQUICC III Devices

Component Development Environment Installation Guide

Using the PowerQUICC II Auto-Load Feature

ColdFire Convert 1.0 Users Manual by: Ernest Holloway

56F8300 BLDC Motor Control Application

Using DMA to Emulate ADC Flexible Scan Mode on Kinetis K Series

Using the Kinetis Family Enhanced EEPROM Functionality

Using the Asynchronous DMA features of the Kinetis L Series

Sensorless BLDC Motor Control Based on MC9S08PT60 Tower Board User Guide

MCF54451, MCF54452, MCF54453, MCF54454,

Using IIC to Read ADC Values on MC9S08QG8

3-Phase BLDC Motor Control on Kinetis. User s Guide

1 Introduction. 2 Problem statement. Freescale Semiconductor Engineering Bulletin. Document Number: EB727 Rev. 0, 01/2010

Symphony SoundBite: Quick Start with Symphony Studio. Installation and Configuration

MPR121 Proximity Detection

MCF5445x Configuration and Boot Options Michael Norman Microcontroller Division

etpu Automotive Function Set (Set 2)

EchoRemote Evaluation Software for Windows

Converting Earlier Versions of CodeWarrior for StarCore DSPs Projects to Version

Freescale MQX RTOS TWR-K64F120M Release Notes

Mask Set Errata for Mask 2M40J

Using PE to quickly use common communication interfaces on Kinetis

i.mx31 PDK Power Measurement with GUI

Migrating from the MPC852T to the MPC875

Using an I 2 C EEPROM During MSC8157 Initialization

Mechanical Differences Between the 196-pin MAP-BGA and 196-pin PBGA Packages

Interfacing MPC5500 Microcontrollers to the MFR4310 FlexRay Controller Robert Moran MCD Applications, East Kilbride, Scotland

Introduction to the 16-bit Tower Boards Using the MC9S12GN32

56F805. BLDC Motor Control Application with Quadrature Encoder using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers

Pad Configuration and GPIO Driver for MPC5500 Martin Kaspar, EMEAGTM, Roznov Daniel McKenna, MSG Applications, East Kilbride

i.mx31 PDK 1.3 to PDK 1.4 Revision Changes Linux

Use of PGA on MC56F800x Interaction of PDB, PGA and ADC

Using the Project Board LCD Display at 3.3 volts

Interrupts in Decoupled Parallel Mode for MPC5675K Configuration and Usage

Freescale USB Stack v4.0.3 Release Notes

HC912D60A / HC912Dx128A 0.5µ Microcontrollers Mask sets 2K38K, 1L02H/2L02H/3L02H & K91D, 0L05H/1L05H/2L05H

Using the Multi-Axis g-select Evaluation Boards

SCI Driver for the MC9S08GW64

Power Cycling Algorithm using the MMA73x0L 3-Axis Linear Accelerometer

Optically-Isolated Multilink BDM Interface for the S08/S12 Microcontrollers by Michael A. Steffen

PowerQUICC HDLC Support and Example Code

Using the Knock Window etpu Function

Mask Set Errata for Mask 5L35K

Interfacing MPC5xx Microcontrollers to the MFR4310 FlexRay Controller David Paterson MCD Applications, East Kilbride

Changing the i.mx51 NAND Flash Model for Windows Embedded CE TM 6.0

MC9S08DZ60 Migrating from the 3M05C to M74K Mask Set D. Scott Brown Applications Engineering Microcontrollers Solutions Group Austin, TX, USA

Supporting New Toolchains with Freescale MQX RTOS Michal Princ and Michal Hanak Freescale MSG Software Team Roznov

MC33794 Touch Panel System Using E-Field Sensor Setup Instructions

MC9S12VR Family Demonstration Lab Training Carlos Aceff Automotive & Industrial Solutions Group, Mexico

MPR083 Proximity Evaluation Kit User s Guide

MC9S08DZ60 Flash Usage Considerations Andy McKechan Applications Engineer East Kilbride

VortiQa Enterprise Quick Start Guide

Writing Touch Sensing Software Using TSI Module

Using GCR4 to Adjust Ethernet Timing in MSC8144 DSPs

Interfacing HCS12 Microcontrollers to the MFR4200 FlexRay Controller

Interfacing and Configuring the i.mx25 Flash Devices

PMSM Vector Control with Encoder on Kinetis Setup Guide for Demo Kits without a Tablet PC

56F805. Digital Power Factor Correction using Processor Expert TM Targeting Document. 56F bit Digital Signal Controllers. freescale.

MPC8260 IDMA Timing Diagrams

Errata to MPC8569E PowerQUICC III Integrated Processor Reference Manual, Rev. 2

Freescale BeeStack Documentation Overview Document Number: BSDO Rev /2008

Functional Differences Between the DSP56307 and DSP56L307

Introduction to LIN 2.0 Connectivity Using Volcano LTP

Affected Chips Description Impact and Workaround

MC33897 Single-Wire CAN Transceiver Reliability and Quality Documents

MQX RTOS Release Notes for Kinetis SDK v1.2.0 for KL33Z64 for FRDM-KL43Z Freescale Freedom Development Platform

Integrating FreeMASTER-Time Debugging Tool with CodeWarrior for Microcontrollers v10.x Project

Integrating the MC9S08JS16/8 USB Bootloader to Your Application

Clock Mode Selection for MSC8122 Mask Set K98M

MPC8569E Instruction RAM Microcode Package Release 169

Mask Set Errata for Mask 2N40C

DSP56F827 Digital Signal Controller

Asymmetric C++ Multicore Application for StarCore DSPs

Transcription:

Freescale MQX 3.8.0 for TWR-K21D50M Release Notes PRODUCT: Freescale MQX RTOS 3.8.0 for TWR-K21D50M PRODUCT VERSION: 1.0 DESCRIPTION: Freescale MQX RTOS 3.8.0 standalone package for TWR-K21D50M RELEASE DATE: July 5 th, 2012, Inc., 2012. All rights reserved.

How to Reach Us: Home Page: www.freescale.com Web Support: http://www.freescale.com/support USA/Europe or Locations Not Listed:, 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: 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: 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: 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 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. reserves the right to make changes without further notice to any products herein. makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does 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. does not convey any license under its patent rights nor the rights of others. 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 product could create a situation where personal injury or death may occur. Should Buyer purchase or use 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 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., 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 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 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 3

3.3 Unsupported features : - These modules which are not supported in the current standalone package are listed as below: o o Lowpower mode BSP with Processor Expert enabled. 3.4 Release contents This section gives an overview about the release content. Deliverable Pre-compiled MQX Libraries MQX PSP Library MQX BSP Library MQX MFS (File System) MQX USB Libraries MQX RTCS TCP/IP stack libraries MQX Shell Library MQX PSP Source Code and Examples MQX PSP source code for Cortex MQX PSP build projects MQX example applications MQX BSP Source Code MQX BSP source code for TWRK21D50M board MQX BSP build projects RTCS Source Code and Examples RTCS source code RTCS build projects RTCS example applications USB Host Drivers Source Code and Examples USB Host source code and class drivers HUB Class Driver Human Interface Device (HID) Class Driver Mass Storage (MSD) Class Driver Printer Class Driver CDC Class Driver USB Host build projects USB Host example applications USB Device Drivers Source Code and Examples USB Device source code USB Device build projects USB Device example applications Shell Library Source Code Shell source code Shell build projects CodeWarrior Support MQX Task-aware Debugger plug-in for CW10 PC Host Tools TFS Make Utility Check for Latest Version tool Documentation Location <install_dir>/lib/....../lib/twrk21d50m.cw10/psp.../lib/twrk21d50m.cw10/bsp.../lib/twrk21d50m.cw10/mfs.../lib/twrk21d50m.cw10/usb.../lib/twrk21d50m.cw10/rtcs.../lib/twrk21d50m.cw10/shell <install_dir>/mqx/....../mqx/source/psp/cortex.../mqx/build/cw10/psp_twrk21d50m /.../mqx/examples/... <install_dir>/mqx/....../mqx/source/bsp/twrk21d50m../mqx/build/cw10/bsp_twrk21d50m / <install_dir>/rtcs/....../rtcs/source.../rtcs/build/cw10/rtcs_twrk21d50m.../rtcs/examples <install_dir>/usb/host/....../usb/host/source.../usb/host/source/classes/hub.../usb/host/source/classes/hid.../usb/host/source/classes/msd.../usb/host/source/classes/printer.../usb/host/source/classes/cdc.../usb/host/build/cw10/usb_hdk_twrk21d50m.../usb/host/examples <install_dir>/usb/device/....../usb/device/source.../usb/device/build/cw10/usb_ddk_twrk21d50m.../usb/device/examples <install_dir>/shell/....../shell/source.../shell/build/cw10/shell_twrk21d50m <CodeWarrior_dir>/... <cw10_dir>/mcu/bin/plugins/debugger/rtos <install_dir>/tools /tools/mktfs.exe /tools/webchk.exe <install_dir>/doc 4

User Guides and Reference Manuals for MQX RTOS, RTCS, MFS, IO Drivers, USB etc. RTOS, IO Drivers, etc. /doc 4 Installation Instructions 4.1 Installation Guide Run the K21D50M Package installer and proceed according to instructions. This package can be used independently of the current MQX 3.8.0 folder. 4.2 Board-specific information related to TWR-K21D50M All jumper and other hardware switches not specifically described below are expected in factory default positions. Please refer to the board User s Guide for the default settings. 4.2.1 TWR-K21D50M-KIT The K21D50M Package supports 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. 4.2.2 Important jumper settings For basic operations, make sure following jumper settings are applied : - For using Tower USB : o TWR_K21D50M board, shoot 6-8 on J11 o Install R224, R226 on nets USB0_DP and USB0_DN and remove R225, R227 on K21_MICRO_USB_DP and K21_MICRO_USB_DN. - For using Micro USB in K21 tower board : o TWR_K21D50M board, shoot 5-6 on J11 o Leave R225 and R227 on nets K21_MICRO_USB_DP and K21_MICRO_USB_DN and do not populate R224 and R226 on USB0_DP and USB0_DN. - For using USB Host mode, jumpers on position o TWR-SER board, J16 on position 1-2(VB_HOST) o TWR-SER board, J10 on default position 1-2(USB host) - For using USB Device mode, jumpers on position o TWR-SER board, J16 on position 3-4(VB_DEV) o TWR-SER board, J10 on position 2-3(USB device) - For using UART0 with Primary Elevator ( PTA14 and PTA15 ), jumper J13 on position 2-3 4.2.3 Building procedure Run the self-extracting K21D50M package installer and proceed according to instructions. The files are installed directly into the specified folder. PSP and BSP libraries must to be built before using any application or have any change kernel or I/O drivers. The PSP Platform-specific code from /mqx/source/psp/cortex is built together with generic MQX core files. The BSP Board-specific code from /mqx/source/bsp/twrk21d50m is built with 5

I/O driver files from /mqx/source/bsp/io. Step1 Build PSP library Build project at location: <install_dir>/mqx/build/cw10/psp_ twrk21d50m Step2 Build BSP library Build project at location: <install_dir>/mqx/build/cw10/bsp_ twrk21d50m Step3 Build applications MQX 3.8 K21D50M package release contains applications demonstrating kernel, peripherals, TWR- K21D50M tower kit. Refer section 3.2 for applications location. 4.2.4 Board-specific build targets: Internal Flash (Debug and Release) - these targets enable to build applications suitable for booting the system up from Internal Flash memory. After the reset the code will be executed from Internal Flash 5 Known issues 5.1 Compact Flash card Driver - Some Compact Flash cards does not work correctly with TWR-MEM and MQX CF Card driver. An issue in the TWR-MEM CPLD code REV A causes incorrect communication with some types of cards (e.g. Kingston). A fixed CPLD firmware is available in <install_dir>/mqx/source/io/pccard/twr_mem_pccard_cpld/ folder. The firmware can be loaded to the TWR-MEM CPLD using Altera Quartus II design tool and BLASTER connection cable. 5.2 Ram target - Example projects contain different build configurations for code execution from Flash or RAM memory. The RAM-based execution may be faster to debug but not all examples fit into RAM and may fail to link. 5.3 Flashing issues in CW 10.2 - K21D50M has issues flashing by J-Link in CW 10.2 6 Other notes - For KEIL ARM Compiler, the libraries are pre-compiled for Release target only, Debug target need to be compiled before first use. 6