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

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

EFM8 Laser Bee Family QSG110: EFM8LB1-SLSTK2030A Quick Start Guide

μc/probe on the RIoTboard (Linux)

μc/probe on the element14 BeagleBone Black

EFM32 Happy Gecko Family EFM32HG-SLSTK3400A Quick-Start Guide

EFM8 Busy Bee Family EFM8BB2-SLSTK2021A Quick Start Guide

QSG114: CPT007B SLEX8007A Kit Quick- Start Guide

EFM32 Pearl Gecko Family QSG118: EFM32PG1 SLSTK3401A Quick- Start Guide

AN999: WT32i Current Consumption

EFM8 Universal Bee Family EFM8UB2 Errata

AN125 INTEGRATING RAISONANCE 8051 TOOLS INTO THE S ILICON LABS IDE. 4. Configure the Tool Chain Integration Dialog. 1. Introduction. 2.

QSG119: Wizard Gecko WSTK Quick-Start Guide

SMBus. Target Bootloader Firmware. Master Programmer Firmware. Figure 1. Firmware Update Setup

QSG144: CP2615-EK2 Quick-Start Guide

Humidity/Temp/Optical EVB UG

QSG123: CP2102N Evaluation Kit Quick- Start Guide

Software Release Note

QSG153: Micrium s μc/probe Tool Quick- Start Guide

EFM32 EFM32GG11 Giant Gecko Family QSG149: EFM32GG11-SLSTK3701A Quick-Start Guide

UG345: Si72xx Eval Kit User's Guide

Date CET Initials Name Justification

QSG159: EFM32TG11-SLSTK3301A Quick- Start Guide

QSG107: SLWSTK6101A Quick-Start Guide

Translate HCSL to LVPECL, LVDS or CML levels Reduce Power Consumption Simplify BOM AVL. silabs.com Building a more connected world. Rev. 0.

Si1146 UVIRSlider2EK Demo Kit

Date CET Initials Name Justification

Figure 1. CP2108 USB-to-Quad UART Bridge Controller Evaluation Board

AN976: CP2101/2/3/4/9 to CP2102N Porting Guide

Router-E and Router-E-PA Wireless Router PRODUCT MANUAL

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

CP2103-EK CP2103 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

CP2104-EK CP2104 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

EFR32MG13, EFR32BG13 & EFR32FG13 Revision C and Data Sheet Revision 1.0

Figure 1. Precision32 AppBuilder

QSG155: Using the Silicon Labs Dynamic Multiprotocol Demonstration Applications

QSG107: SLWSTK6101A/B Quick-Start Guide

CP2105-EK CP2105 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

UG322: Isolated CAN Expansion Board User Guide

AN1143: Using Micrium OS with Silicon Labs Thread

WT12 EVALUATION KIT DATA SHEET. Monday, 09 September Version 1.7

AN1160: Project Collaboration with Simplicity Studio

QSG126: Bluetooth Developer Studio Quick-Start Guide

UG274: Isolated USB Expansion Board User Guide

UG254: CP2102N-MINIEK Kit User's Guide

AN1117: Migrating the Zigbee HA Profile to Zigbee 3.0

Si1140-DK. Si1140 DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. Figure 1. Si1143 Evaluation Board

AN1106: Optimizing Jitter in 10G/40G Data Center Applications

EFM8 Universal Bee Family EFM8UB1 Errata

Bluegiga WF111 Software Driver Release Notes

The Si50122-Ax-EVB is used to evaluate the Si50122-Ax. Table 1 shows the device part number and corresponding evaluation board part number.

Figure 1. Traditional Biasing and Termination for LVPECL Output Buffers

ETRX3DVK Development Kit Quick-Start Guide

UG294: CPT213B SLEXP8019A Kit User's Guide

UG365: GATT Configurator User s Guide

Date CET Initials Name Justification

QSG107: SLWSTK6101A/B Quick-Start Guide

AN0059.1: UART Flow Control

EFR32 Mighty Gecko Family EFR32MG1 with Integrated Serial Flash Errata History

UG271: CP2615-EK2 User's Guide

AN888: EZR32 Quick Start Guide

EFM8 Busy Bee EFM8BB1 Errata

8-Bit MCU C8051F85x/86x Errata

AN324 ADVANCED ENCRYPTION STANDARD RELEVANT DEVICES. 1. Introduction. 2. Implementation Potential Applications Firmware Organization

Si7005USB-DONGLE. EVALUATION DONGLE KIT FOR THE Si7005 TEMPERATURE AND HUMIDITY SENSOR. 1. Introduction. 2. Evaluation Kit Description

CP2114 Family CP2114 Errata

UG369: Wireless Xpress BGX13P SLEXP8027A Kit User's Guide

QSG166: WF200 Wi-Fi Development Kit Quick Start Guide

AN1095: What to Do When the I2C Master Does Not Support Clock Stretching

AN719 PRECISION32 IDE AND APPBUILDER DETAILED TUTORIAL AND WALKTHROUGH. 1. Introduction. Figure 1. Precision32 IDE and AppBuilder Walkthrough Overview

Wireless Development Suite (WDS) is a software utility used to configure and test the Silicon Labs line of ISM band RFICs.

UG313: Thunderboard Sense 2 Bluetooth Low Energy Demo User's Guide

BRD4300B Reference Manual MGM111 Mighty Gecko Module

AN1083: Creating and Using a Secure CoAP Connection with ARM s mbed TLS

UG352: Si5391A-A Evaluation Board User's Guide

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

USBXpress Family CP2102N Errata

ADC Evaluation Platform GUI User s Guide

EFM32 Zero Gecko EFM32ZG Errata

Software Design Specification

AN0059.0: UART Flow Control

C8051F411-EK C8051F411 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Kit Overview. 3. Evaluation Board Interface LCD User Interface

AN888: EZR32 Simple TRX Application Quick Start Guide

UG232: Si88xxxISO-EVB User's Guide

TS9004 Demo Board FEATURES ORDERING INFORMATION

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

AN1139: CP2615 I/O Protocol

Termination Options for Any-Frequency Si51x XOs, VCXOs

EFM32G Product Revision E

FM-DAB-DAB Seamless Linking I2S SRAM. I2C / SPI Host Interface. FLASH Interface MOSI/SDA INTB MISO/A0 RSTB SCLK/SCL SSB/A1 SMODE

AN1083: Creating and Using a Secure CoAP Connection with ARM s mbed TLS

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

AN690. Si4010 DEVELOPMENT KIT QUICK-START GUIDE. 1. Purpose. 2. Kit Content. Table 1. Kit Content

Software Design Specification

UG366: Bluetooth Mesh Node Configuration User s Guide

AN1006: Differences Between Si534x/8x Revision B and Revision D Silicon

FBOUT DDR0T_SDRAM0 DDR0C_SDRAM1 DDR1T_SDRAM2 DDR1C_SDRAM3 DDR2T_SDRAM4 DDR2C_SDRAM5 DDR3T_SDRAM6 DDR3C_SDRAM7 DDR4T_SDRAM8 DDR4C_SDRAM9 DDR5T_SDRAM10

Not Recommended for New Designs. Si Data Sheet Errata for Product Revision B

2. Key Points. F93x F92x F91x F90x. Figure 1. C8051F93x-C8051F90x MCU Family Memory Size Options

UG103.7: Tokens Fundamentals

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

Transcription:

Micriµm µc/os-iii and µc/probe on the Freescale FRDM-KL46Z Introduction This document will guide you through the necessary steps to run the precompiled example of Micriµm s µc/os-iii and µc/probe on the FRDM-KL46Z Rev. C. The process involves the use of the onboard OpenSDA adapter. OpenSDA features a mass storage device bootloader, which provides a quick and easy mechanism for loading different OpenSDA applications such as flash programmers and run-control debug interfaces. The process also requires the use of the following files found in the Micriµm Quick Start Package for the FRDM-KL46Z: MSD-FRDM-KL46Z48M_Pemicro_v113.SDA OpenSDA application to program the flash. CMSIS-DAP_OpenSDA.S19 OpenSDA application that implements the CMSIS-DAP debugging interface. Micrium_FRDM-KL46Z_OS3.srec Precompiled example of Micriµm s µc/os-iii in S-record format. Micrium_FRDM-KL46Z_OS3.out Precompiled example of Micriµm s µc/os-iii in ELF format. Micrium_FRDM-KL46Z.wspx Workspace example of Micriµm s µc/probe. Page 1 of 7

Quick Start Guide The following steps will guide you through the process of loading the Micriµm s precompiled example and the CMSIS-DAP debug interface. 1. Download the Micriµm Quick Start Package for the FRDM-KL46Z from the following link: http://micrium.com/probe/micrium_frdm-kl46z_qsp.zip 2. Download and install the Windows USB Drivers to support OpenSDA from the PE micro website: http://www.pemicro.com/opensda/ 3. Place the board in Bootloader mode by holding the Reset button down while connecting a USB cable between the Board s OpenSDA mini-b USB connector and a Windows PC as shown in the image below: Reset Button OpenSDA 4. After a few seconds, your board will then appear in the PC file system as a removable drive with a volume labeled BOOTLOADER. At this time, you can release the Reset button. Page 2 of 7

5. Copy the file MSD-FRDM-KL46Z48M_Pemicro_v113.SDA from the Quick Start Package for the FRDM-KL46Z that you downloaded in Step # 1 by simply dragging and dropping it onto the BOOTLOADER drive as shown in the image below: 6. Power cycle the board by disconnecting and reconnecting the USB cable to the OpenSDA connector (do not press the Reset button). 7. This time your board will appear in the PC file system as a removable drive with a volume labeled FRDM-KL46Z. Page 3 of 7

8. Copy the file Micrium_FRDM-KL46Z_OS3.srec from the Quick Start Package for the FRDM-KL46Z that you downloaded in Step # 1 by simply dragging and dropping it onto the FRDM-KL46Z drive as shown in the following image: 9. Place the board once again in Bootloader mode by holding the Reset button down and connecting a USB cable between the Board s OpenSDA mini-b USB connector and a Windows PC as previously described in Step # 3. 10. After a few seconds, your board will then appear in the PC file system as a removable drive with a volume labeled BOOTLOADER. At this time, you can release the Reset button. Page 4 of 7

11. Copy the file CMSIS-DAP_OpenSDA.S19 from the Quick Start Package for the FRDM-KL46Z that you downloaded in Step # 1 by simply dragging and dropping it onto the BOOTLOADER drive as shown in the image below: 12. Now you can power cycle the board which will not only start µc/os-iii but also be µc/probe ready because of the CMSIS-DAP interface you loaded in Step # 11. 13. Download and install µc/probe 3.3 Windows Installer from the following link: http://micrium.com/tools/ucprobe/software-and-docs/ 14. With the purchase of the FRMD-KL46Z from Premier-Farnell, you are eligible for a 1-month subscription to the Professional Edition of µc/probe. You can choose to activate your license at any time, but because the subscription period begins from the moment you activate it, we recommend activating it at a later time as this demo simply requires the Evaluation Edition of µc/probe. Whenever you are ready to activate your license, you will need internet access and then you can activate it by simply clicking File -> Activation and enter the 20-characters license key provided by Premier-Farnell. Page 5 of 7

15. Open µc/probe and then open the demo workspace by clicking File -> Open and browsing to the file Micrium_FRDM-KL46Z.wspx from the Quick Start Package that you downloaded in Step # 1. 16. You will receive an error message for a missing ELF file. The file is actually the output file from the compiling and linking process and it is part of the Quick Start Package. Simply browse to the file Micrium_FRDM-KL46Z_OS3.out to update the path. 17. Open the µc/probe Settings and select the communication interface CMSIS-DAP. You should be able to select your CMSIS-DAP debugger from the drop-down box labeled JTAG/SW Adapter as shown below: Page 6 of 7

18. Finally, click the Run button in µc/probe. Your Freedom board will come to live and you will be able to control the LCD by entering each of the four digits. Touch the capacitive slider and the touch position along the slider will be displayed in µc/probe as shown below: 19. Click the µc/probe tab labeled µc/os-iii KA to display the Kernel Awareness window as shown in the following image: 20. Creating Dashboards for your Freedom board similar to the ones above is very easy with µc/probe. For more information on how to use µc/probe, download the User s Manual from: http://micrium.com/tools/ucprobe/software-and-docs/ Page 7 of 7

Disclaimer Silicon Labs intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using or intending to use the Silicon Labs products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and "Typical" parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Labs reserves the right to make changes without further notice and limitation to product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the included information. Silicon Labs shall have no liability for the consequences of use of the information supplied herein. This document does not imply or express copyright licenses granted hereunder to design or fabricate any integrated circuits. The products are not designed or authorized to be used within any Life Support System without the specific written consent of Silicon Labs. A "Life Support System" is any product or system intended to support or sustain life and/or health, which, if it fails, can be reasonably expected to result in significant personal injury or death. Silicon Labs products are not designed or authorized for military applications. Silicon Labs products shall under no circumstances be used in weapons of mass destruction including (but not limited to) nuclear, biological or chemical weapons, or missiles capable of delivering such weapons. Trademark Information Silicon Laboratories Inc., Silicon Laboratories, Silicon Labs, SiLabs and the Silicon Labs logo, Bluegiga, Bluegiga Logo, Clockbuilder, CMEMS, DSPLL, EFM, EFM32, EFR, Ember, Energy Micro, Energy Micro logo and combinations thereof, "the world s most energy friendly microcontrollers", Ember, EZLink, EZRadio, EZRadioPRO, Gecko, ISOmodem, Precision32, ProSLIC, Simplicity Studio, SiPHY, Telegesis, the Telegesis Logo, USBXpress and others are trademarks or registered trademarks of Silicon Labs. ARM, CORTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. All other products or brand names mentioned herein are trademarks of their respective holders. Silicon Laboratories Inc. 400 West Cesar Chavez Austin, TX 78701 USA http://www.silabs.com