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

Similar documents
Hands-On Workshop: ARM mbed

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

Quick Start Guide for FRDM-KL05Z

Quick Start Guide for FRDM-KL46Z Rev 1

RN2483_Silica Documentation

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

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

mbed Hello World! Introduction to mbed

Quick Start Guide for FRDM-KL46Z Rev 1

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

Hands-On Workshop: ARM mbed : From Rapid Prototyping to Production

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

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

Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide

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

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

Getting Started with Kinetis SDK (KSDK) v.1.3

Freescale MKW40Z IEEE Software Quick Start Guide

QUICKSTART CODE COMPOSER STUDIO Stellaris Development and Evaluation Kits for Code Composer Studio

Getting Started with MCUXpresso SDK CMSIS Packs

OpenSDA on TWR-KW2x. User s Guide Rev 1.1

Getting Started with Kinetis SDK (KSDK) v.1.2

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

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

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

Getting Started with MCUXpresso SDK

Application Note. AN1205: Using P&E Micro Kinetis GDB Server

ELMO Board Programming Guide

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

NXP Semiconductors MCU Bootloader Demo Applications User's Guide

MakeCode. Created by Peli de Halleux. Last updated on :29:54 AM UTC

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

Kinetis Bootloader v1.2.0 Release Notes

mbed Kit User Guide of NQ62x daughter board

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

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

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

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

OM13071 LPCXpresso824-MAX Development board

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

Part Number Density Product Type Operation Temperature. W25Q80NESNIG 8Mb 1.2V Serial NOR Flash Memory Industrial (-40 C to +85 C)

You have a PC with a USB interface, running Microsoft Windows XP (SP2 or greater) or Vista You have the Workshop Installation Software Flash Drive

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

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

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

.org. IoT Development Platform

How to Enable Boot from QSPI Flash

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

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

UM QN908x Quick Start. Document information. QN908x, Quick Start, Development Kit, QN9080 DK, QN9080 Development Kit

Software Installation Guide for S32 Design Studio IDE (S32DS): FRDM-KEAZ128Q80 FRDM-KEAZ64Q64 FRDM-KEAZN32Q64

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers

Step 1: Connect the Cortex to your PC

USB Type A Female Breakout Hookup Guide

MCUXpresso IDE User Guide. Rev November, 2018

TI mmwave Training. mmwave Demo

TI mmwave Labs. Vital Signs Measurement

Freedom FRDM-KV31F Development Platform User s Guide

Install Keil Microcontroller Development Kit Version 5 for ST Microelectronics STM32F446

Kinetis Bootloader Demo Application User's Guide

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

FRDM-KL03Z User s Guide

Quick Start Guide TRK-KEA. Kinetis EA Series MCUs for Automotive Electronics Applications. StarterTRAK

TI mmwave Training. xwr16xx mmwave Demo

Heterogeneous multi-processing with Linux and the CMSIS-DSP library

IoT Sensing SDK. Getting started with IoT Sensing SDK (ISSDK) v1.7 middleware. Document information. IoT Sensing SDK, ISSDK, MCUXpresso, middleware

Getting Started in C Programming with Keil MDK-ARM Version 5

Section 2: Getting Started with a FPU Demo Project using EK-LM4F232

Getting Started in C Programming with Keil MDK-ARM Version 5

Contents. About This Guide... 2 Audience... 2 Revision History... 2 Conventions... 3 Definitions, Acronyms, and Abbreviations... 3

Quick Start Guide Demo Distance2Go. September 2017

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

Option CloudGate Asset Gateway Step-by-Step Guide

To complete this project, you will need the following folder:

User can upgrade the firmware directly using the Web or Console.

EKK-LM3S811 QUICKSTART

IDWedgeBT USB Virtual Serial Port Cable Installation, Configuration and Operation

4-1. This chapter explains HMI settings.

Quick-Start Guide. BNS Solutions. QSK62P Plus

Jabber MomentIM Help Topic

Kinetis Updater User's Guide

Wireless M-Bus Suite for Panasonic Evaluation Boards. Quick Start Guide

22080 IoT2 Appendix B: Get Started with Arduino IDE & ExpLoRer

ADC Data Capture using Capture Demo and CCS Memory Browser IWR14xx/AWR14xx example. Document Version V

Getting Started with Energia for MSP432 LaunchPad

Introduction. Purpose. Objectives. Content. Learning Time

SILICA TUSA Silica Tusa Board

RTMS - Software Setup

Application Note: 207

SILICA I The Engineers of Distribution 1

FRDM-KL82Z User s Guide

Introduction to ARDUINO/SIMULINK

QUICK START GUIDE TO THE JUMPSTART MICROBOX

Kinetis Motor Suite v1.2.0 Release Notes

FRDM-KL26Z User s Guide

Hands-On Workshop: New Kinetis Development Platform

Installing and using CW 10.x for TPMS applications. Revision 5

MCUXpresso and FRDM K64F for EE192, Spring 2018

Programming and Cloning BL6xx and RM1xx Modules with the QPK-NRF5x-01

Quick Start Guide TWR-S08DC-PT60. Tower System Daughter Card for the 5-Volt 8-bit MC9S08P Family TOWER SYSTEM

Transcription:

Quick Start Guide for mbed enabling Freescale FRDM-KL25z Freedom board FRDM-KL25Z Freedom board is a low-cost evaluation and development platform to demonstrate the capability of the Kinetis-L family of MCUs, ARM Cortex - M0+ based and targeting energy-efficient applications. Click here to learn more on FRDM-KL25Z Freedom board. The mbed platform provides experienced embedded developers with powerful and productive tools for building proof-of-concepts. For developers new to 32-bit microcontrollers, mbed provides an accessible prototyping solution to get projects built with the backing of libraries, resources and support shared in the mbed community. The mbed team worked with Freescale to ensure that it is possible to mbedenable the freedom board! Once the Freedom-KL25Z board has been upgraded, it will enable USB drag and drop programming USB Virtual COM port for serial terminal CMSIS-DAP interface for programming and debugging from offline tools Free access to the mbed online compiler, mbed C/C++ SDK, and developer community This quick start guide is designed to provide step-by-step guidelines to get you ready to develop your project using mbed on FRDM-KL25Z Freedom board within minutes. 1. Updating the interface firmware to be mbed enabled Enter FRDM-KL25Z in Bootloader mode using the following procedure: Unplug the USB cable if attached. Press and hold the RESET/Bootloader button. Plug in a USB cable from a USB Host to the OpenSDA USB port. Release the RESET/Bootloader button. A new removable drive should now be visible with a volume label of BOOTLOADER. 1

Go to the page http://mbed.org/handbook/mbed-frdm-kl25z, and download and save the file mbed_if_v2.0_frdm-kl25z.s19 in your local drive. Simply drag/drop or copy/paste the file mbed_if_v2.0_frdm-kl25z.s19 to the BOOTLOADER drive. 2

Unplug the USB cable and plug it in again. A new removable drive should now be visible with a volume label of mbed. 2. Download a program to FRDM-KL25Z Now let us see how to download a pre-complied program from mbed site, so that you get used to downloading and running programs before you start compiling your own. Go to the new mbed Drive, and click mbed.htm to open it in a web browser. 3

Choose "Signup", and create your mbed Account. This will give you access to the Website, Tools, Libraries and Documentation. Download the "Hello World!" binary from mbed website (http://mbed.org/users/chris/notebook/mbed-frdm-kl25z-downloading) Drag/drop or copy/paste the "Hello World!" binary file to mbed drive. The Status LED will flash as the PC writes the file to the Microcontroller disk. You must wait for the Status LED to stop flashing before pressing reset. 4

Press the Reset Button; When the Reset Button in pressed, the newest program on the mbed Microcontroller Disk will be loaded in to the Microcontroller FLASH memory. The Status LED will flash as this happens. When the program is has been loaded onto the microcontroller, it will then start it running; flashing the blue LED forever! If you reset the Microcontroller, or disconnect and reconnect the power, the program will simply restart. 3. Run an online example There are many sample programs on mbed website (http://mbed.org/users/chris/notebook/mbed-frdm-kl25z-example-programs/) ready to run on the FRDM-KL25Z board. You can go to any examples to run it. Here, we will show you how to run mbed FRDM-KL25Z - Hello World! example program to your FRDM-KL25Z board. 5

Go to Example Program page, and scroll down to find mbed FRDM- KL25Z - Hello World! example program. Click Import this program, it will launch the online complier tool. Select Import as Program and Click Import button, the sample program will be imported to the mbed complier. 6

From the top toolbar, click Compile, and save the complied program (.bin) directly to mbed disk. The Status LED will flash as the PC writes the file to the Microcontroller disk. You must wait for the Status LED to stop flashing before pressing reset. Press the Reset Button, the Hello World program will then start it running; flashing the red LED! 4. Getting start to create a program The mbed Compiler is an online application used to create your own programs for the mbed microcontroller. It translates program source code that you write in to a program binary that the Microcontroller can execute. Open the mbed Compiler Open the online compiler using the link in the site menu (top-right of the page). This will open the Compiler in a new tab or window. Create a New Program in your personal Program Workspace o Right-click (Mac users, Command-Click) on "My Programs", and select "New Program..." o Enter the name of the new program (e.g. "test"), and click "OK" 7

Your new program folder will be created under "My Programs". View the default program source code Click on the "main.cpp" file in your new program to open it in the file editor window. This is the main source code file in your program, and by default contains a simple program already. The code should look like: The other item in the program folder is the "mbed" library - this provides all the useful functions to start up and control the mbed Microcontroller, such as the Digital Out interface used in this example. Compile and Download the Program 8

To compile the program, click the Compile button in the top toolbar. This will compile all the program source code files within the program folder to create a binary program. After a successful compile, you will get a "Success!" message in the compiler output and the download dialog will pop up. Save it to the location of the mbed Microcontroller drive, and then p reset on the microcontroller to start it running! If there are errors, they will show up in the "Compiler Output" window, and will need to be fixed! Now you are ready to start your own programs on FRDM-KL25Z freedom board using mbed online platform! 9