Quick Start Guide for FRDM-KL05Z

Similar documents
Quick Start Guide for FRDM-KL46Z Rev 1

Quick Start Guide for the Freescale Freedom Development Platform FRDM-KL43Z

Quick Start Guide for FRDM-KL46Z Rev 1

OpenSDA on TWR-KW2x. User s Guide Rev 1.1

Freescale MKW40Z IEEE Software Quick Start Guide

TWR-KV10Z32 Sample Code Guide for CodeWarrior Board configuration, software, and development tools

TWR-KV10Z32 Sample Code Guide for IAR Board configuration, software, and development tools

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

Quick Start Guide for FRDM-FXS-MULTI-B

P1010RDB-PB Quick Start Guide

Component Development Environment Getting Started Guide

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, the Energy Efficient Solutions logo, mobilegt, PowerQUICC,

Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

FRDM-KE04Z User s Guide User Guide

HVP-KV31F120M User s Guide

FRDM-KL03Z User s Guide

HVP-KV10Z32 User s Guide

FRDM-KL26Z User s Guide

Quick Start Guide (QSG) for - FRDM-KEAZ128 - FRDM-KEAZ64 - FRDM-KEAZN32

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,

New VLE Instructions for Improving Interrupt Handler Efficiency Robert Moran Applications Engineer Microcontroller Solutions Group

Mask Set Errata for Mask 2N27B

Load Position-Independent Code (PIC) on a Kinetis Platform Using the IAR EWARM Compiler

CodeWarrior U-Boot Debugging

FRDM-KE02Z User s Manual

Reference Design KL25-AGMP01 User Guide 10-Axis Data Logger Tool Kit

Freedom FRDM-KV31F Development Platform User s Guide

Freedom FRDM-MC-LVBLDC Development Platform User s Guide

Getting Started with Freescale MQX RTOS for Kinetis SDK and MDK-ARM Keil

S12Z MagniV LIN Bootloader

Getting Started with Freescale MQX RTOS for Kinetis SDK and Kinetis Design Studio IDE

FRDM-K64F Board Errata

Using the Xtrinsic FXOS8700CQ Command Line Interface Software

Freescale Semiconductor Inc. Microcontroller Solutions Group. FRDM-KL46Z User s Manual FRDM-KL46Z-UM Rev. 1.0

A brief intro to MQX Lite. Real work: hands-on labs. Overview, Main features and Code Size

FRDM-KEA QUICK START GUIDE (QSG) FRDM-KEAZ128 FRDM-KEAZ64 FRDM-KEAZN32 Ultra-Reliable MCUs for Industrial and Automotive Applications

QN9080 QN908x RF Certification Guide

Quick Start Guide. TWR-KV10Z32 Development Kit for Kinetis KV1x Family TOWER SYSTEM

S32K148 EVB QUICK START GUIDE REV1 APPLIES FOR: S32K148 EVB (SCH REV A/B) EXTERNAL USE

Working around ERR7026 according to application needs

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

Adding a run control interface into an existing CodeWarrior for MCU v10.x project

S32K118 EVB QUICK START GUIDE APPLIES FOR: S32K118 EVB (SCH_29945 REV B) EXTERNAL USE

Using VRC_CTL to Control an External VDD_LV Supply on the MPC5748G

Kinetis Updater User's Guide

S32K144 EVB QUICK START GUIDE REV4.2 APPLIES FOR: S32K144 EVB (SCH REV B) EXTERNAL USE

IMXPINSQSUG Quick Start Guide on Pins Tool for i.mx Processors

i.mxrt1060 Product Lifetime Usage Estimates

Choice of 2 technology platforms. Flexibility in Timing. Flexibility in Teams

Migrating Applications from MC9S12VR64 to MC9S12VR32 by: Manuel Rodríguez

Qorivva MPC5744P Evaluation Board 144LQFP Expansion Board User s Guide Barbara Johnson Applications Engineering

Getting Started with Freescale MQX RTOS for Kinetis SDK and ARM GCC

Freescale. TWR-KL25Z Tower Module User Manual TWR-KL25Z-UM Rev. 1.0

i.mx 6ULZ Migration Guide

QCVS Frame Distributor Wizard User Guide

PMSM Field-Oriented Control Using MC56F84789 DSC With Encoders Demo Guide

S32K118 EVB QUICK START GUIDE APPLIES FOR: S32K118 EVB (SCH_29945 REV B) EXTERNAL USE

Mask Set Errata for Mask 3N86B

CodeWarrior Development Studio for Advanced Packet Processing v10.3.1

Offline Flash Programmer for Kinetis K- and L-series MCUs

TWR-LS1021A Getting Started

S32K1xx Bootloader. 1. Introduction. 2. Architecture description. NXP Semiconductors. Application Notes Rev. 1, 10/2018. Contents

Quick Start Guide. TWR-VF65GS10 For Vybrid Controller Solutions Based on ARM Cortex -A5 and Cortex-M4 Processors with the DS-5 Toolchain TOWER SYSTEM

Kinetis USB-KW41Z Wireless Protocol Sniffer Quick Start Guide

Wai Chee Wong Sr.Member of Technical Staff Freescale Semiconductor. Raghu Binnamangalam Sr.Technical Marketing Engineer Cadence Design Systems

MMA845x Driver: Quick Start Guide

µc/probe on the Freescale FRDM-KL05Z without an RTOS

Freescale, the Freescale logo, AltiVec, C- 5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,

Emulating I2C Bus Master by using FlexIO

Quick Start Guide for mbed enabling Freescale FRDM-KL25z Freedom board

The process also requires the use of the following files found in the Micriµm Quick Start Package for the FRDM-KL46Z:

Contents 2. Contents

Kinetis Bootloader v1.2.0 Release Notes

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC,

DDR Validation Tool Getting Started Guide

MC34708TRN Rev /1/2011

MQX RTOS Release Notes for Kinetis SDK FRDM- KV10Z Freescale Freedom Development Platform

S32K142 EVB QUICK START GUDE REV3.1 APPLIES FOR: S32K142 EVB (SCH_29701 REV D/C) EXTERNAL USE

IMXPINSQSUG Pins Tool for i.mx Processors Installation User's Guide

HVP-MC56F82748 User s Guide

Kinetis Bootloader to Update Multiple Devices in a Field Bus Network

Emulating Dual SPI Using FlexIO

Exception and fault checking on S32K1xx

TWR-KL28Z User s Guide

How to Reduce SoC Power when Running M4 with A53 on i.mx8m

TWR-LS1021A Getting Started

Watt Saver Software Component (WSC)

Getting Started with the MCU Flashloader

Quick Start Guide. TWR-K60D100M Low-Power MCU with USB, Ethernet and Encryption TOWER SYSTEM

KIT09XS3400EVBE Evaluation Board User Guide Featuring the MC09XS3400

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis,

Stéphane Gervais-Ducouret

Processor Expert Software for i.mx Processors Version 1.0

TWR-K60F120M Quick Start Guide

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM MC9S08MM128. The industry s most complete solution for portable medical applications

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C- Ware, the Energy Efficient Solutions logo, Kinetis,

Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC,

DDR Memory controller fundamentals review

Bharat Bhushan, Stuart Yoder

Transcription:

Quick Start Guide for FRDM-KL05Z Contents: Quick Start Package Overview Get to Know the FRDM-KL05Z Getting Started Out of the Box Introduction to OpenSDA Explore Further www.freescale.com/frdm-kl05z 1 Quick Start Guide for FRDM-KL05Z Rev 1.0

These documents are available as part of the Quick Start Package: Name Type Description Quick Start Guide PPT This document OpenSDA Applications Folder OpenSDA Applications for the FRDM-KL05Z Precompiled Examples Folder S-record images of example projects for use with the MSD Flash Programmer Additional reference documents are available on freescale.com/frdm-kl05z: Name FRDM-KL05Z User s Manual FRDM-KL05Z Pinouts FRDM-KL05Z Schematics FRDM-KL05Z Design Package OpenSDA User s Guide Description Word document that provides an overview and detailed information for the FRDM-KL05Z hardware. Spreadsheet of pin connections for all MCU pins. Includes pinout for the I/O headers, Arduino R3 compatibility chart, and OpenSDA MCU pinout. PDF schematics for the FRDM-KL05Z hardware Zip file containing all design source files for the FRDM-KL05Z hardware Overview and instructions for use of the OpenSDA embedded debug circuit 2 Quick Start Guide for FRDM-KL05Z

3 Quick Start Guide for FRDM-KL05Z

The Freescale Freedom development platform is a set of software and hardware tools for evaluation and development. It is ideal for rapid prototyping of microcontroller-based applications. The Freescale Freedom KL05Z hardware, FRDM-KL05Z, is a simple, yet sophisticated design featuring a Kinetis L Series microcontroller, the industry s first microcontroller built on the ARM Cortex -M0+ core. Features: MKL05Z32VFM4 MCU 48MHz, 32KB Flash, 4KB SRAM, 32 QFN Capacitive touch slider, MMA8451Q accelerometer, Tri-color LED Flexible power supply options USB, coin cell battery, external source Easy access to MCU I/O Battery-ready, power-measurement access points Form factor compatible with Arduino R3 pin layout New, OpenSDA debug interface Mass storage device flash programming interface (default) no tool installation required to evaluate demo apps P&E Debug interface provides run-control debugging and compatibility with IDE tools CMSIS-DAP interface: new ARM standard for embedded debug interface Refer to the FRDM-KL05Z User s Manual and OpenSDA User s Guide for more information. 4 Quick Start Guide for FRDM-KL05Z

Installing Drivers and Running the Out of Box Demo 0 1 Optional: Download and Install the P&E OpenSDA USB Drivers found at www.pemicro.com/opensda. Plug in a USB cable (not included) from a USB host to the OpenSDA mini-b USB connector. The FRDM- KL05Z will be powered by this USB connection. 2 a. Open Device Manager b. Locate and right-click on OpenSDA CDC Serial Port c. Select Update Driver Software d. Browse and select the FRDM-KL05Z drive e. Click Next to complete the installation FRDM-KL05Z comes with the mass-storage device (MSD) Flash Programmer OpenSDA Application preinstalled. It will appear as a removable storage drive with a volume label of FRDM-KL05Z. The MSD Flash Programmer also includes a USB virtual serial port which requires an.inf file for proper installation in Windows. The necessary.inf file is available in the P&E OpenSDA USB Drivers (Step 0) and also on the FRDM-KL05Z removable drive. If the USB CDC Serial Port fails to automatically install in Windows, follow the instructions in Step 2. Otherwise, skip to Step 3. 3 4 The pre-installed demo running on the KL05Z MCU will cycle through several colors on the RGB LED. After this completes, tilt the board. The color mix of the RGB LED will change based on the accelerometer data. Touch the capacitive slider. The touch position along the slider will determine the brightness of the LED. 5 Quick Start Guide for FRDM-KL05Z

OpenSDA is an open-standard serial and debug adapter. It bridges serial and debug communications between a USB host and an embedded target processor. OpenSDA software includes a flash-resident USB mass-storage device (MSD) bootloader and a collection of OpenSDA Applications. FRDM-KL05Z comes with the MSD Flash Programmer OpenSDA Application preinstalled. Follow these instructions to run the OpenSDA Bootloader and update or change the installed OpenSDA Application. Enter OpenSDA Bootloader Mode 1 Unplug the USB cable if attached. 2 Press and hold the Reset button (SW1). 3 Plug in a USB cable (not included) between a USB host and the OpenSDA USB connector (labeled SDA ).. 4 Release the Reset button. A removable drive should now be visible in the host file system with a volume label of BOOTLOADER. You are now in OpenSDA Bootloader mode. IMPORTANT NOTE: Follow the Load an OpenSDA Application instructions to update the MSD Flash Programmer on your FRDM-KL05Z to the latest version. It is likely that the version provided in this package is newer than what was preprogrammed on your FRDM- KL05Z. Load an OpenSDA Application 1 2 3 4 While in OpenSDA Bootloader mode, double-click SDA_INFO.HL in the BOOTLOADER drive. A web browser will open the OpenSDA homepage containing the name and version of the installed Application. This information can also be read as text directly from SDA_INFO.HL. Locate the OpenSDA Applications folder in the FRDM-KL05Z Quick Start Package. Copy & paste or drag & drop the MSD Flash Programmer Application (MSD-FRDM- KL05Z_vXYZ_Pemicro.SDA)to the BOOTLOADER drive. Unplug the USB cable and plug it in again. The new OpenSDA Application should now be running and a FRDM-KL05Z drive should be visible in the host file system. You are now running the latest version of the MSD Flash Programmer. Use this same procedure to load other OpenSDA Applications. 6 Quick Start Guide for FRDM-KL05Z

The MSD Flash Programmer is a composite USB application that provides a virtual serial port and an easy, convenient way to program applications into the KL05Z MCU. It emulates a FAT16 file system, appearing as a removable drive in the host file system with a volume label of FRDM-KL05Z. Raw binary and Motorola S-record files that are copied to the drive are programmed directly into the flash of the KL05Z and executed automatically. The virtual serial port enumerates as a standard serial port device that can be opened with any standard serial terminal application. Using the MSD Flash Programmer 1 2 Locate the Precompiled Examples folder in the FRDM-KL05Z Quick Start Package. Copy & paste or drag & drop one of the.srec files to the FRDM-KL05Z drive. The new application should now be running on the FRDM- KL05Z. Starting with v1.03 of the MSD Flash Programmer, you can program repeatedly without the need to unplug and reattach the USB cable before reprogramming. Program FRDM_KL05Z_OOBE_Demo.srec example to replace the out-of-box demo on your FRDM-KL05Z. Using the Virtual Serial Port 1 Determine the symbolic name assigned to the FRDM-KL05Z virtual serial port. In Windows open Device Manager and look for the COM port named PEMicro/Freescale CDC Serial Port. 2 3 Open the serial terminal emulation program of your choice. Examples for Windows include Tera Term, PuTTY, and HyperTerminal. Program one of the example applications from the Precompiled Examples folder using the MSD Flash Programmer. Configure the terminal program. Most embedded 4 examples use 8 data bits, no parity bits, and one stop bit (8-N-1). Match the baud rate to the selected serial test application and open the port. 5 Press and release the Reset button (SW1) at anytime to restart the example application. Resetting the embedded application will not affect the connection of the virtual serial port to the terminal program. NOTE: Refer to the OpenSDA User s Guide for a description of a known Windows issue when disconnecting a virtual serial port while the COM port is in use. NOTE: Flash programming with the MSD Flash Programmer is currently only supported on Windows operating systems. However, the virtual serial port has been successfully tested on Windows, Linux and Mac operating systems. 7 Quick Start Guide for FRDM-KL05Z

Now that you are familiar with the FRDM-KL05Z and OpenSDA, it s time to explore the additional software and lab guides available on www.freescale.com/frdm- KL05Z. Select your next path from the links in the Jump Start Your Design section. 8 Quick Start Guide for FRDM-KL05Z

How to Reach Us: Home Page: freescale.com Web Support: freescale.com/support Information in this document is provided solely to enable system and software implementers to use Freescale 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 reserves the right to make changes without further notice to any products herein. Freescale makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Freescale 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 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 does not convey any license under its patent rights nor the rights of others. Freescale sells products pursuant to standard terms and conditions of sale, which can be found at the following address: http://www.reg.net/v2/webservices/freescale/docs/termsandconditions.htm Freescale, the Freescale logo, Altivec, C-5, CodeTest, CodeWarrior, ColdFire, C_Ware, Energy Efficient Solutions logo, Kinetis, mobilegt, PowerQUICC, Processor Expert, QorIQ, Qorriva, StarCore, Symphony, and VortiQa are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Airfast, BeeKit, BeeStack, ColdFire+, CoreNet, Flexis, MadniV, MXC, Platform in a Package, QorIQ Qonverge, QUICC Engine, Ready Play, SafeAssure, SMAROS, TurboLink, Vybrid, and Xtrinsic are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc. 2012. All rights reserved. 9 Quick Start Guide for FRDM-KL05Z