Kinetis Bootloader v2.0.0 Release Notes



Similar documents
TWR-KV31F120M Sample Code Guide for IAR Board configuration, software, and development tools Rev.0

Getting Started with Kinetis SDK (KSDK)

Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start

UART Boot Loader Design on the Kinetis E Series

Building and Debugging a project using Keil MDK-ARM Eclipse plug-in

HVP-KV31F120M Quick Start Guide

Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start

How To Build A Project On An Eclipse Powerbook For Anarc (Powerbook) On An Ipa (Powerpoint) On A Microcontroller (Powerboard) On Microcontrollers (Powerstation) On Your Microcontroller 2 (Powerclock

CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start

USB to SPI Device Driver Installation Instructions

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

How to Run the MQX RTOS on Various RAM Memories for i.mx 6SoloX

Installation of the MMA955xL CodeWarrior Service Pack Author: Fengyi Li Application Engineer

MED-AFEs Design Reference Manual

Production Flash Programming Best Practices for Kinetis K- and L-series MCUs

Quick Start Guide. USB Packet Sniffer/Dongle for Kinetis MKW22D and MKW24D Wireless MCUs USB-KW24D512

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

UM0985 User manual. Developing your STM32VLDISCOVERY application using the IAR Embedded Workbench software. Introduction

Windows 7: Using USB TAP on a Classic CodeWarrior Installation (MGT V9.2 DSC V8.3)

Freescale, the Freescale logo and CodeWarrior are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. Xtrinsic is a trademark of

UG103.8 APPLICATION DEVELOPMENT FUNDAMENTALS: TOOLS

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

Processor Expert Software Microcontrollers Driver Suite Getting Started Guide

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

Using WinUSB in a Visual Studio Project with Freescale USB device controller

Bootloader with AES Encryption

32-bit AVR UC3 Microcontrollers. 32-bit AtmelAVR Application Note. AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2

How To Develop A Toolstick

AN220 USB DRIVER CUSTOMIZATION

USER GUIDE EDBG. Description

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

UM1969 User manual. Getting started with STM32F746G discovery software development tools. Introduction

CodeWarrior Development Studio Floating Licensing Quick Start

Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures. Atmel Microcontrollers. Application Note. Features.

Figure 1. 8-Bit USB Debug Adapter

UM1790 User manual. Getting started with STM32L053 discovery kit software development tools. Introduction

AN10866 LPC1700 secondary USB bootloader

UM1680 User manual. Getting started with STM32F429 Discovery software development tools. Introduction

How To Use A Watt Saver On A Microcontroller (Watt Saver) On A Cell Phone Or Mp3 Player

AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Audio player on KwikStik

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or

73S1215F, 73S1217F Device Firmware Upgrade Host Driver/Application Development User s Guide April 27, 2009 Rev UG_12xxF_029

76-77 GHz RF Transmitter Front-end for W-band Radar Applications

USER GUIDE. ZigBit USB Stick User Guide. Introduction

UG103.8: Application Development Fundamentals: Tools

QorIQ espi Controller Register Setting Considerations and Programming Examples

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

ZigBee-2.4-DK 2.4 GHZ ZIGBEE DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. Figure GHz ZigBee Development Kit

How To Add A Usb Secondary Ipo Bootloader To An Lpc23Xx Flash Device To A Flash Device

MPR121 Serial Communication

Genesi Pegasos II Setup

AN3354 Application note

Operating Instructions Software (Device Monitor)

AN104 I NTEGRATING KEIL 8051 TOOLS INTO THE SILICON LABS IDE. 1. Introduction. 2. Key Points. 3. Create a Project in the Silicon Labs IDE

Adding SDIO Wi-Fi Solution to i.mx Windows CE 5.0/Windows CE 6.0

USB Stick Driver Installation Instructions

QSG105 GETTING STARTED WITH SILICON LABS WIRELESS NETWORKING SOFTWARE

Developing an Application for the i.mx Devices on the Linux Platform

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22.

Software Real Time Clock Implementation on MC9S08LG32

AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

Applied Biosystems 7500/7500 Fast Real-Time PCR Systems. SUBJECT: Memory Upgrade Requirements for 7500 Software v2.0

Using DAVE with MDK Version 5

AN220 USB DRIVER CUSTOMIZATION

Table of Contents. ARM Evaluation Board (AEB-1) Welcome Guide ARM DGI 0005D. Proprietary Notice

Freescale MAC Security Setup

STM32F4DISCOVERY. Discovery kit with STM32F407VG MCU. Features. Description

Robust Over-the-Air Firmware Updates Using Program Flash Memory Swap on Kinetis Microcontrollers

SIM900 Eclipse environment install Application Note_V1.00

Generate Makefiles from Command Line Support in Eclipse-Based CodeWarrior Software

ERIKA Enterprise pre-built Virtual Machine

Software User Guide UG-461

Software and Support Activation. Quick Start Guide

32F072BDISCOVERY. Discovery kit for STM32F072xx microcontrollers. Features. Description

PSoC Programmer Release Notes

Guide to Installing BBL Crystal MIND on Windows 7

PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram

AN10811 Programming SPI flash on EA3131 boards Rev May 2009 Application note Document information Info Content Keywords Abstract

DSO138 oscilloscope program upgrade method

Programming Audio Applications in the i.mx21 MC9328MX21

BLE113 DEVELOPMENT KIT

Point-of-Sale (POS) Users Guide Lech José Olmedo Guerrero Jaime Herrerro Gallardo RTAC Americas

INSTALLATION GUIDE. AXIS Camera Station

Using the Kinetis Security and Flash Protection Features

AN111: Using 8-Bit MCUs in 5 Volt Systems

AN655 R ANGE TEST APPLICATION FOR EZRADIO AND EZRADIOPRO. 1. Introduction. 2. Supported Radio Types

32F769IDISCOVERY. Discovery kit with STM32F769NI MCU. Features

NVIDIA CUDA GETTING STARTED GUIDE FOR MAC OS X

Operating Instructions Software (Fax Driver)

Quest vworkspace Virtual Desktop Extensions for Linux

PowerQUICC II Pro (MPC83xx) PCI Agent Initialization

13. Publishing Component Information to Embedded Software

Freescale Embedded GUI Converter Utility 2.0 Quick User Guide

Applications Development on the ARM Cortex -M0+ Free On-line Development Tools Presented by William Antunes

Embedded Linux development with Buildroot training 3-day session

The care and feeding of Pythons at the Redmond Zoo. (Using Micro Python and pyboard with Windows)

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

UM0462 User manual. STM32 and STM8 Flash loader demonstrator. Introduction

Transcription:

Freescale Semiconductor Document Number: KBTLDR200RN Release Notes Rev. 0, 04/2016 Kinetis Bootloader v2.0.0 Release Notes 1 Overview These are the release notes for the Kinetis bootloader v2.0.0. For more information and getting started instructions, see the Getting Started section of this document. The Kinetis bootloader is an application that you program into the internal flash memory of a Kinetis device. The bootloader is designed to detect communication traffic on one of the supported peripherals (USB-HID, USB-MSC, UART, SPI, I2C, and CAN), download a user application, and write the application to internal flash. The bootloader stays resident on flash along with your application. This release includes the PC-hosted Kinetis Flash Tool application. This application allows to you choose a device application image and send it to the bootloader over USB-HID or UART. Contents 1 Overview...... 1 2 Development tools...1 3 System requirements......2 4 Target requirements......2 5 Release contents......3 6 Getting started... 3 7 Features...... 3 8 Host tools...... 4 9 New features...... 4 10 Fixed issues... 5 11 Known issues... 5 12 Tool notes...5 13 Revision history... 6 2 Development tools The Kinetis bootloader 2.0 was compiled and tested with these development tools. Firmware projects: Kinetis Design Studio (KDS) IDE v.3.2.0 IAR Embedded Workbench for ARM v7.50.1 2016 Freescale Semiconductor, Inc.

System requirements NOTE The IAR tool binary path must be added to the system environment path. For example, C:\Program Files (x86)\iar Systems\Embedded Workbench 7.5\arm\bin. Host projects: Microsoft Visual Studio Professional 2015 for Windows OS Desktop Microsoft NET Framework v4.5 (included in Windows OS 8) Microsoft Visual Studio C++ Redistributable for Visual Studio 2013 (vcredist_x86.exe) Python v2.7 (www.python.org ) Keil MDK v5.18 with corresponding packs NOTE The Python path must be added to the system environment path. For example, C: \Python27. Apple Xcode v7.3 (for the blhost and elftosb tools) Linux OS GNU Compiler (GCC) v4.8.1 (for the blhost tool), libstdc++6, libudev-dev, libc6, and libgcc1 (for the blhost tool) for the Linux build. Running blhost on Linux OS requires the following libraries to be installed: libstdc+ +.so.6, libudev.so.1, libc.so.6, libgcc_s.so.1, and libpthread.so.0 Linux OS tools have been tested on Ubuntu 14.04 LTS Apple Mac OS host tools have been tested on Mac OS 10.11.4 3 System requirements System requirements are based on the requirements for the development tools and the Kinetis Flash Tool application. The recommended PC configuration is 2 GHz processor, 2 GB RAM, and 2 GB free disk space. Windows OS applications like QCBGenerator.exe require installation of Visual C++ redistributable 2013 or greater..net framework 4.5 JP version: www.microsoft.com/ja-jp/download/details.aspx?id=30653 US version: www.microsoft.com/en-us/download/details.aspx?id=30653 VS++ redistributable 2013 JP version: www.microsoft.com/ja-jp/download/details.aspx?id=40784 US version: www.microsoft.com/en-us/download/details.aspx?id=40784 4 Target requirements This release of the Kinetis bootloader supports the following platforms: FRDM-K64F Freedom Development platform FRDM-KL25Z Freedom Development platform FRDM-KV31F Freedom Development platform FRDM-K82F Freedom Development platform FRDM-KL82Z Freedom Development platform FRDM-K66F Freedom Development platform FRDM-KL28T Freedom Development platform MAPS-KS22F256 MAPS Development platform 2 Freescale Semiconductor, Inc.

Release contents TWR-K22F120M Tower System module TWR-K64F120M Tower System module TWR-KV46F150M Tower System module TWR-KV31F120M Tower System module TWR-K24F120M Tower System module TWR-K65F180M Tower System module TWR-KV11Z75M Tower System module TWR-K80F150M Tower System module TWR-KL82Z72M Tower System module TWR-KL28Z72M Tower System module TWR-KV58F220M Tower System module TWR-KL25Z48M Tower System module There are no special requirements for the hardware other than what the board requires to operate. 5 Release contents This table describes the release contents. Deliverable Host flash tool and demo applications Host binaries and utilities Documentation Bootloader and host tools source code Tool chain build projects Host validation tools build projects Table 1. Release contents <install_dir>/apps/... <install_dir>/bin/... <install_dir>/doc/... <install_dir>/src/... <install_dir>/targets/... <install_dir>/validation/... Location 6 Getting started See the Kinetis Bootloader Demo Applications User's Guide (document KBTLDRDEMOUG) for a description of how to use the Kinetis bootloader to load a user application on the Kinetis MCUs. See the Getting Started with Kinetis ROM Bootloader (document KBTLDRUG) for Kinetis ROM-specific information. See the Getting Started with Kinetis Flashloader (document KFLLDRUG) for Kinetis Flashloader-specific information. For porting information, see Chapter 10, "Kinetis bootloader porting" in the Kinetis Bootloader v2.0.0 Reference Manual (document KBTLDR200RM). For customization, see Chapter 11, "Create a custom flash-resident bootloader" in the Kinetis Bootloader v2.0.0 Reference Manual (document KBTLDR200RM). 7 Features Freescale Semiconductor, Inc. 3

Host tools The bootloader release contains source code and toolchain projects for building flash-resident bootloaders and flashloaders for the supported platforms (see Section 4, Target Requirements ). A flash-resident bootloader stays resident in flash along with the user application. The flash-resident bootloader can be used to download and program an initial application image into a blank area on the flash, and to later update the application. In contrast, a flashloader gets replaced in flash by the user application and thus is a one-time programming aid. The Kinetis bootloader supports the following communication interfaces for downloading an application. Not all interfaces are supported on all platforms. See the individual platform reference manual for supported interfaces. USB-HID USB-MSD UART I2C SPI CAN Usually, USB-HID, USB-MSC, and UART connections are made directly to a PC, whereas I2C, SPI, and CAN require additional hardware. The bootloader, running on the target platform, acts as a communication slave. The bootloader can automatically detect which peripheral is being used to download the application and, for UART and CAN, automatically detect the baud rate. The application image is downloaded to the target through a series of command and data packets sent from a host PC or embedded host platform. 8 Host tools The bootloader release contains source code and build projects for the following PC-based host tools: blhost - command line debug tool to send individual commands to the bootloader. KinetisFlashTool - GUI application to download and flash an application image. Elftosb - command line tool to convert ELF formatted application image to SB format. Mfgtool2 - GUI application to be used in factory production. For more information, see the Kinetis blhost User s Guide (document KBLHOSTUG) and Kinetis Flash Tool User s Guide (document KFLASHTOOLUG), the Kinetis Elftosb User's Guide (document KBLEFLTOSBUG), and the Manufacturing Tool v2.0.0 (Mfgtool2) for Kinetis Bootloader User's Guide (document KBLMFGTOOLUG). 9 New features The following new features were introduced in this release: Addition of new supported platforms as indicated in Section 4, Target Requirements. Support for the latest version of KDS toolchain. Addition of embedded_host example. The Kinetis Updater host tool has been replaced by the Kinetis Flash Tool. The Elftosb host tool has been added. The Embedded Host example has been added. Support for the Manufacturing Tool has been added. Support for the KEIL toolchain has been added. The QSPI demo and QCBGenerator tool have been added. Support has been added for a Reliable Update feature. The Receive-sb-file bootloader command is now fully supported. 4 Freescale Semiconductor, Inc.

Fixed issues 10 Fixed issues The following issues were fixed since the previous release: Compiler warnings for the KDS tool chain have been fixed. 11 Known issues The following are known issues with this release: The KDS IDE tool chain does not support debugging or downloading the application image via CMSIS-DAP yet. Instead, use J-Link, replace the CMSIS-DAP firmware with J-Link-CDC firmware on the target platform. When using USB-MSC (drag-and-drop to an attached target), the USB connection may abort with a timeout if the SB file contains a command to erase QSPI. Use a different peripheral interface to erase the QSPI, such as USB-HID. 12 Tool notes When changing an IAR project to generate additional output (Options->Output Converter->Generate additional output), the output filename extension (Linker->Output->Output filename) must be changed to.out. The blhost tool accepts any speed setting in the --buspal option for the SPI and I2C peripherals. However, the maximum effective speed settings when using the BusPal example are approximately 300 khz for I2C and 8000 khz for SPI. When running blhost on Mac and Linux OS, it may be required to run as super user so that the tool have access to the device ports, i.e., 'sudo blhost'. When running blhost on Linux OS, it may be necessary to press the reset button on the target platform after the CDC device has been enumerated by the OS. This restarts the bootloader's UART autobaud operation. When running on Mac OS, open the "cu" device instead of the "tty" device. This prevents the OS from trying to initialize the target as a modem, i.e., 'blhost -p /dev/cu.usbmodem*' When using KDS, load projects using File->Import->Existing Projects into Workspace. Do not use File->Import- >Projects of Projects. Each bootloader target supports one or more of the following project types: 1. tower bootloader - bootloader designed to execute from target flash memory on the Tower platform. 2. freedom bootloader - bootloader designed to execute from target flash memory on the Freedom platform. 3. maps bootloader bootloader designed to execute from target flash memory on the MAPS platform. 4. flashloader bootloader designed to execute from target RAM memory on either the Freedom, Tower, or MAPS platform. 5. flashloader_loader bootstrap loader designed to execute from flash memory on either the Freedom or Tower platform. This loader copies an image of the flashloader into RAM, then executes the flashloader from RAM. The flashloader_loader project uses the output of the flashloader build to create the flashloader image to load into RAM. For this reason, the flashloader project must be built before building the flashloader_loader project. When debugging flashloader with ARM Keil MDK compiler, there is no need to use the load button. The "Start/Stop Debug Session" button correctly downloads the flashloader image into the target RAM address and starts executing it. However, the flashloader_loader and flash-resident bootloader are required to use the load button to properly program the internal flash. Freescale Semiconductor, Inc. 5

Revision history There is an intermittent issue with ARM Keil MDK when it uses J-Link to load the image. An error message pops up indicating flash download failed. The workaround to this issue is to load the Keil-built image separately, using J-Link, and not through Keil. 13 Revision history The following table contains a history of changes made to this document. Table 2. Revision history Revision number Date Substantive changes 0 04/2016 Kinetis bootloader v2.0.0 initial release 6 Freescale Semiconductor, Inc.

How to Reach Us: Home Page: nxp.com Web Support: nxp.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 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: nxp.com/salestermsandconditions. Freescale, the Freescale logo, and Kinetis are trademarks of Freescale Semiconductor, Inc., Reg. U.S. Pat. & Tm. Off. All other product or service names are the property of their respective owners. ARM, ARM Powered Logo, Keil, and Cortex are registered trademarks of ARM limited (or its subsidiaries) in the EU and/or elsewhere. All rights reserved. 2016 Freescale Semiconductor, Inc. Document Number: KBTLDR200RN Rev. 0 04/2016