Mcuxpresso IDE User Guide Rev

Total Page:16

File Type:pdf, Size:1020Kb

Mcuxpresso IDE User Guide Rev MCUXpresso IDE User Guide Rev. 11.4.1 — 15 September, 2021 User guide NXP Semiconductors MCUXpresso IDE User Guide 15 September, 2021 Copyright © 2021 NXP Semiconductors All rights reserved. MCUXpresso IDE User Guide - All information provided in this document is subject to legal disclaimers © 2021 NXP Semiconductors. All rights reserved. User Guide Rev. 11.4.1 — 15 September, 2021 ii NXP Semiconductors MCUXpresso IDE User Guide 1. Introduction to MCUXpresso IDE ................................................................................... 1 1.1. MCUXpresso IDE Overview of Features ............................................................. 1 1.1.1. Summary of Features ............................................................................. 2 1.1.2. Supported Debug Probes ........................................................................ 3 1.1.3. Development Boards ............................................................................... 4 2. New Features in MCUXpresso IDE version 11.4.1 ......................................................... 7 2.1. Features in MCUXpresso IDE version 11.4.0 ...................................................... 7 2.2. Feature Highlights from previous releases of MCUXpresso IDE ............................ 8 3. IDE Overview ............................................................................................................. 11 3.1. Workspaces ..................................................................................................... 11 3.2. Welcome View ................................................................................................. 11 3.3. Documentation and Help .................................................................................. 12 3.4. Perspectives and Views ................................................................................... 13 3.5. Major Components of the Develop Perspective ................................................. 15 3.5.1. Dark Theme .......................................................................................... 17 3.6. The Quickstart Panel ....................................................................................... 18 3.7. Project Explorer and New Projects ................................................................... 20 3.8. Updating MCUXpresso IDE .............................................................................. 21 3.8.1. Locating IDE Components ..................................................................... 22 4. Part Support Overview (Preinstalled and via SDKs) ...................................................... 23 4.1. Preinstalled Part Support ................................................................................. 23 4.1.1. Differences in Preinstalled and SDK Part Handling .................................. 23 4.1.2. Viewing Preinstalled Part Support .......................................................... 24 4.2. SDK Part Support ............................................................................................ 25 4.2.1. Obtaining and Installing a Plugin SDK .................................................... 25 4.2.2. SDK Part Support via SDK Builder ........................................................ 27 4.2.3. Obtaining and Installing an SDK via SDK Builder .................................... 27 4.2.4. Installed SDKs Operations ..................................................................... 29 4.2.5. Installed SDKs Features ........................................................................ 32 4.2.6. Advanced Use: SDK Importing and Configuration ................................... 33 4.2.7. Advanced Use: SDK Misc Options ......................................................... 35 4.2.8. Important notes for SDK Users .............................................................. 36 4.3. Enhanced Project Sharing Features .................................................................. 38 4.3.1. Project Drag and Drop .......................................................................... 38 4.3.2. Project Local SDK Part Support ............................................................. 38 4.3.3. Project Local Support files ..................................................................... 40 5. Creating New Projects using installed SDK Part Support .............................................. 43 5.1. New Project Wizard ......................................................................................... 43 5.1.1. SDK New Project Wizard: Basic Project Creation and Settings ................. 45 5.1.2. SDK New Project Wizard: Advanced Project Settings .............................. 48 5.2. Project Build .................................................................................................... 50 5.2.1. Build Configurations .............................................................................. 51 6. Importing Example Projects (from installed SDKs) ........................................................ 52 6.1. SDK Example Import Wizard ............................................................................ 53 6.1.1. SDK Example Import Wizard: Basic Selection ......................................... 55 6.1.2. SDK Example Import Wizard: Advanced options ..................................... 57 6.1.3. SDK Example Import Wizard: Import from XML fragment ......................... 58 6.1.4. Importing Examples to non default locations ........................................... 60 7. SDK Project Component Management ........................................................................ 61 7.1. SDK Project Component Management example ................................................ 61 7.2. SDK Project Refresh ........................................................................................ 64 8. Creating New Projects using Preinstalled Part Support ................................................. 65 8.1. New Project Wizard ......................................................................................... 65 8.2. Creating a Project ............................................................................................ 66 8.2.1. Selecting the Wizard Type ..................................................................... 67 8.2.2. Configuring the Project .......................................................................... 68 8.2.3. Wizard Options ..................................................................................... 68 8.2.4. Project Created ..................................................................................... 71 MCUXpresso IDE User Guide - All information provided in this document is subject to legal disclaimers © 2021 NXP Semiconductors. All rights reserved. User Guide Rev. 11.4.1 — 15 September, 2021 iii NXP Semiconductors MCUXpresso IDE User Guide 9. Importing Example Projects (from the file system) ........................................................ 72 9.1. Code Bundles for LPC800 Family Devices ........................................................ 72 9.2. LPCOpen Software Drivers and Examples ........................................................ 73 9.3. Importing an Example Project ........................................................................... 73 9.3.1. Importing Examples for the LPCXpresso4337 Development Board ........... 75 9.4. Exporting Projects ............................................................................................ 76 9.5. Building Projects .............................................................................................. 77 9.5.1. Build Configurations .............................................................................. 77 10. Debug Solutions Overview ........................................................................................ 78 10.1. Starting a Debug Session ............................................................................... 78 10.2. An Introduction to Launch Configuration Files .................................................. 79 10.3. LinkServer Debug Connections ....................................................................... 82 10.4. LinkServer Debug Operation .......................................................................... 82 10.4.1. LinkServer Debug Scripts .................................................................... 84 10.5. LinkServer Troubleshooting ............................................................................ 85 10.5.1. Debug Log .......................................................................................... 85 10.5.2. Flash Programming ............................................................................. 87 10.5.3. LinkServer executables ........................................................................ 88 10.6. PEmicro Debug Connections .......................................................................... 88 10.7. PEmicro Debug Operation .............................................................................. 89 10.7.1. PEmicro Differences from LinkServer Debug ........................................ 89 10.7.2. PEmicro Software Updates .................................................................. 90 10.8. SEGGER Debug Connections ........................................................................ 90 10.8.1. SEGGER software installation .............................................................. 90 10.9. SEGGER Debug Operation ...........................................................................
Recommended publications
  • NXP Powerpoint Template Confidential 16:9 Widescreen
    NXP MCU PRODUCT UPDATE & ROADMAP Q4 2016 NXP’S MCU POWERHOUSE PORTFOLIO 1 PUBLIC USE NXP Microcontrollers Business Line Why Customers Choose Us Applications • Comprehensive portfolio supporting the diverse IoT landscape Wearable / Healthcare • Fitness & Wireless Healthcare • Extensive software and development environment • Diabetes & Cardiac Care • Diagnostics & therapy • Industry leading customer support, quality, and longevity Home & Building Automation • Broad ecosystem of partners enabling system solutions • Smart meters & grid • Integrated wireless connectivity solutions • Ease of use solutions tailored for mass market • Home energy control Smart Accessories • Game controllers and consoles Example Customers • Wearable computing • eReaders, tablets, portable navigation Vehicle Networking & Information • Infotainment, software define radio • Navigation systems, E-call Home Appliances • Energy efficient refrigerators, dishwashers • Human-machine interface • Connected appliances Industrial Controls & Factory Automation • Machine-to-machine • Motor control Products • Industrial networking Kinetis & LPC 32-bit i.MX ARM® Applications 2 ARMPUBLIC® Microcontrollers USE Processors NXP MCUs - Powerhouse Portfolio ARM Expertise Broadest licensee of ARM cores in industry Most scalable portfolio with Expansive Portfolio optimized performance and capabilities Development Tools Best-in-class hardware platforms and software solutions Ecosystem Leadership Industry leading partnerships for innovation and differentiation Experienced global support team
    [Show full text]
  • Introduction to Programming in Fortran 77 for Students of Science and Engineering
    Introduction to programming in Fortran 77 for students of Science and Engineering Roman GrÄoger University of Pennsylvania, Department of Materials Science and Engineering 3231 Walnut Street, O±ce #215, Philadelphia, PA 19104 Revision 1.2 (September 27, 2004) 1 Introduction Fortran (FORmula TRANslation) is a programming language designed speci¯cally for scientists and engineers. For the past 30 years Fortran has been used for such projects as the design of bridges and aeroplane structures, it is used for factory automation control, for storm drainage design, analysis of scienti¯c data and so on. Throughout the life of this language, groups of users have written libraries of useful standard Fortran programs. These programs can be borrowed and used by other people who wish to take advantage of the expertise and experience of the authors, in a similar way in which a book is borrowed from a library. Fortran belongs to a class of higher-level programming languages in which the programs are not written directly in the machine code but instead in an arti¯cal, human-readable language. This source code consists of algorithms built using a set of standard constructions, each consisting of a series of commands which de¯ne the elementary operations with your data. In other words, any algorithm is a cookbook which speci¯es input ingredients, operations with them and with other data and ¯nally returns one or more results, depending on the function of this algorithm. Any source code has to be compiled in order to obtain an executable code which can be run on your computer.
    [Show full text]
  • A Beginner's Guide to Freebasic
    A Beginner’s Guide to FreeBasic Richard D. Clark Ebben Feagan A Clark Productions / HMCsoft Book Copyright (c) Ebben Feagan and Richard Clark. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". The source code was compiled under version .17b of the FreeBasic compiler and tested under Windows 2000 Professional and Ubuntu Linux 6.06. Later compiler versions may require changes to the source code to compile successfully and results may differ under different operating systems. All source code is released under version 2 of the Gnu Public License (http://www.gnu.org/copyleft/gpl.html). The source code is provided AS IS, WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Microsoft Windows®, Visual Basic® and QuickBasic® are registered trademarks and are copyright © Microsoft Corporation. Ubuntu is a registered trademark of Canonical Limited. 2 To all the members of the FreeBasic community, especially the developers. 3 Acknowledgments Writing a book is difficult business, especially a book on programming. It is impossible to know how to do everything in a particular language, and everyone learns something from the programming community. I have learned a multitude of things from the FreeBasic community and I want to send my thanks to all of those who have taken the time to post answers and examples to questions.
    [Show full text]
  • Schedule 14A Employee Slides Supertex Sunnyvale
    UNITED STATES SECURITIES AND EXCHANGE COMMISSION Washington, D.C. 20549 SCHEDULE 14A Proxy Statement Pursuant to Section 14(a) of the Securities Exchange Act of 1934 Filed by the Registrant Filed by a Party other than the Registrant Check the appropriate box: Preliminary Proxy Statement Confidential, for Use of the Commission Only (as permitted by Rule 14a-6(e)(2)) Definitive Proxy Statement Definitive Additional Materials Soliciting Material Pursuant to §240.14a-12 Supertex, Inc. (Name of Registrant as Specified In Its Charter) Microchip Technology Incorporated (Name of Person(s) Filing Proxy Statement, if other than the Registrant) Payment of Filing Fee (Check the appropriate box): No fee required. Fee computed on table below per Exchange Act Rules 14a-6(i)(1) and 0-11. (1) Title of each class of securities to which transaction applies: (2) Aggregate number of securities to which transaction applies: (3) Per unit price or other underlying value of transaction computed pursuant to Exchange Act Rule 0-11 (set forth the amount on which the filing fee is calculated and state how it was determined): (4) Proposed maximum aggregate value of transaction: (5) Total fee paid: Fee paid previously with preliminary materials. Check box if any part of the fee is offset as provided by Exchange Act Rule 0-11(a)(2) and identify the filing for which the offsetting fee was paid previously. Identify the previous filing by registration statement number, or the Form or Schedule and the date of its filing. (1) Amount Previously Paid: (2) Form, Schedule or Registration Statement No.: (3) Filing Party: (4) Date Filed: Filed by Microchip Technology Incorporated Pursuant to Rule 14a-12 of the Securities Exchange Act of 1934 Subject Company: Supertex, Inc.
    [Show full text]
  • AN125: Integrating Raisonance 8051 Tools Into The
    AN125 INTEGRATING RAISONANCE 8051 TOOLS INTO THE SILICON LABS IDE 1. Introduction 4. Configure the Tool Chain This application note describes how to integrate the Integration Dialog Raisonance 8051 Tools into the Silicon Laboratories Under the 'Project' menu, select 'Tool Chain Integration’ IDE (Integrated Development Environment). Integration to bring up the dialog box shown below. Raisonance provides an efficient development environment with (Ride 7) is the default. To use Raisonance (Ride 6), you compose, edit, build, download and debug operations can select it from the 'Preset Name' drop down box integrated in the same program. under 'Tools Definition Presets'. Next, define the Raisonance assembler, compiler, and linker as shown in 2. Key Points the following sections. The Intel OMF-51 absolute object file generated by the Raisonance 8051 tools enables source-level debug from the Silicon Labs IDE. Once Raisonance Tools are integrated into the IDE they are called by simply pressing the ‘Assemble/ Compile Current File’ button or the ‘Build/Make Project’ button. See the “..\Silabs\MCU\Examples” directory for examples that can be used with the Raisonance tools. Information in this application note applies to Version 4.00 and later of the Silicon Labs IDE and Ride7 and later of the Raisonance 8051 tools. 4.1. Assembler Definition 1. Under the ‘Assembler’ tab, if the assembler 3. Create a Project in the Silicon executable is not already defined, click the browse Labs IDE button next to the ‘Executable:’ text box, and locate the assembler executable. The default location for A project is necessary in order to link assembly files the Raisonance assembler is: created by the compiler and build an absolute ‘OMF-51’ C:\Program Files\Raisonance\Ride7\bin\ma51.exe output file.
    [Show full text]
  • 4 Using HLA with the HIDE Integrated Development Environment
    HLA Reference Manual 5/24/10 Chapter 4 4 Using HLA with the HIDE Integrated Development Environment This chapter describes two IDEs (Integrated Development Environments) for HLA: HIDE and RadASM. 4.1 The HLA Integrated Development Environment (HIDE) Sevag has written a nice HLA-specified integrated development environment for HLA called HIDE (HLA IDE). This one is a bit easier to install, set up, and use than RadASM (at the cost of being a little less flexible). HIDE is great for beginners who want to get up and running with a minimal amount of fuss. You can find HIDE at the HIDE home page: http://sites.google.com/site/highlevelassembly/downloads/hide Contact: [email protected] Note: the following documentation was provided by Sevag. Thanks Sevag! 4.1.1 Description HIDE is an integrated development environment for use with Randall Hyde's HLA (High Level Assembler). The HIDE package contains various 3rd party programs and tools to provide for a complete environment that requires no files external to the package. Designed for a system- friendly interface, HIDE makes no changes to your system registry and requires no global environment variables to function. The only exception is ResEd (a 3rd party Resource Editor written by Ketil.O) which saves its window position into the registry. 4.1.2 Operation HIDE is an integrated development environment for use with Randall Hyde's HLA (High Level Assembler). The HIDE package contains various 3rd party programs and tools to provide for a complete environment that requires no files external to the package. Designed for a system- friendly interface, HIDE makes no changes to your system registry and requires no global environment variables to function.
    [Show full text]
  • SOMNIUM® DRT Benchmarks Whitepaper DRT 4.0 Release : March 2017
    SOMNIUM® DRT Benchmarks Whitepaper DRT 4.0 release : March 2017 www.somniumtech.com SOMNIUM® DRT is a complete C/C++ embedded software Microchip SAM examples Atmel START was used to create an "empty" C program including Atmel Software Framework development environment which supports ARM® Cortex® M (ASF) routines to configure the on-chip PLL to highest devices from leading semiconductor vendors. possible frequency on a SAMD21 device (32KByte ROM, Vendor Family Cortex 4KByte RAM). IAR Embedded Workbench uses less memory than vanilla GNU tools from Atmel Studio, DRT Microchip SAM M0+, M3, M4 does even better and uses the smallest amount of ROM. Kinetis M0+, M4 NXP ROM RAM LPC M0, M0+, M3, M4 DRT is smaller DRT is smaller KBytes KBytes (% and bytes) (% and bytes) STMicroelectronics STM32 M0, M0+, M3, M4 DRT 1.5 n/a n/a 8.7 n/a n/a Other software vendors use adjectives. SOMNIUM use Atmel STUDIO 1.8 24.1% 360 8.7 0.0% 0 facts. This whitepaper compares benchmarking results for IAR 1.5 2.4% 36 8.6 -0.4% -32 SOMNIUM DRT against other toolchain products to demonstrate that DRT builds the smallest, fastest most energy efficient code with no source code changes required. NXP Kinetis examples We used NXP's Kinetis SDK v2 (now No defeat devices! Unlike many well known software renamed as MCUXpresso SDK) tools to create an "empty" C vendors, SOMNIUM play fair and do not put “benchmark program (including use of Kinetis SDK v2 routines to enable special” features in our products to change their behavior in the on-chip PLL) for a KL25Z device.
    [Show full text]
  • TSO/E Programming Guide
    z/OS Version 2 Release 3 TSO/E Programming Guide IBM SA32-0981-30 Note Before using this information and the product it supports, read the information in “Notices” on page 137. This edition applies to Version 2 Release 3 of z/OS (5650-ZOS) and to all subsequent releases and modifications until otherwise indicated in new editions. Last updated: 2019-02-16 © Copyright International Business Machines Corporation 1988, 2017. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents List of Figures....................................................................................................... ix List of Tables........................................................................................................ xi About this document...........................................................................................xiii Who should use this document.................................................................................................................xiii How this document is organized............................................................................................................... xiii How to use this document.........................................................................................................................xiii Where to find more information................................................................................................................ xiii How to send your comments to IBM......................................................................xv
    [Show full text]
  • Lpc43s6x Product Data Sheet
    LPC43S6x 32-bit ARM Cortex-M4/M0 MCU; up to 1 MB flash and 154 kB SRAM; Ethernet, two High-speed USB, LCD, EMC, AES engine Rev. 1.3 — 13 January 2020 Product data sheet 1. General description The LPC43S6x are ARM Cortex-M4 based microcontrollers for embedded applications which include an ARM Cortex-M0 coprocessor and an ARM Cortex-M0 subsystem for managing peripherals, up to 1 MB of flash and 154 kB of on-chip SRAM, 16 kB of EEPROM memory, a quad SPI Flash Interface (SPIFI), advanced configurable peripherals such as the SCTimer/PWM and the Serial General Purpose I/O (SGPIO) interface, security features with AES engine, two High-speed USB controllers, Ethernet, LCD, an external memory controller, and multiple digital and analog peripherals. The LPC43S6x operate at CPU frequencies of up to 204 MHz. The ARM Cortex-M4 is a 32-bit core that offers system enhancements such as low power consumption, enhanced debug features, and a high level of support block integration. The ARM Cortex-M4 CPU incorporates a 3-stage pipeline, uses a Harvard architecture with separate local instruction and data buses as well as a third bus for peripherals, and includes an internal prefetch unit that supports speculative branching. The ARM Cortex-M4 supports single-cycle digital signal processing and SIMD instructions. A hardware floating-point processor is integrated into the core. The LPC43S6x include an application ARM Cortex-M0 coprocessor and a second ARM Cortex-M0 subsystem for managing the SGPIO and SPI peripherals.The ARM Cortex-M0 coprocessor is an energy-efficient and easy-to-use 32-bit core which is upward code- and tool-compatible with the Cortex-M4 core.
    [Show full text]
  • A Peek Under the IDE Hood Overview
    Intro to Arduino A Peek Under the IDE Hood Overview Grades: 5-7 Time: 5-15 minutes Subject: Computer Science, Electronics This PDQ provides a quick and easy peek at some sample Arduino Code. Have no fear – it’s simple and clear! Background Arduino is both an Open Source hardware AND software platform that enables creators, inventors, students and just about anyone to learn basic electronics and coding to make projects. The FREE software for programming your Arduino hardware is called Arduino IDE. IDE stands for Integrated Development Environment. The IDE is available for computers running Windows, MacOS, and LINUX. Let’s take a look! Objectives • Understand & Recognize: • “Arduino” as a hardware and software platform for making projects. • “Open Source” as a model of creating and sharing information. • “input” and “output” in both hardware and software based on looking at Arduino projects. • “Community” in the sense of people connected through a common interest such as making cool projects with Arduino. • “Computer programming” or “coding” means writing instructions for the hardware to follow. What You'll Need The activities in this module only require you to have some kind of Internet connected device and a browser! Chromebook, smart phone, supercomputer – whatever you have on hand to search the Internet is all you need! Important Terms Open Source: A model of sharing inventions and information for others to use, improve and share again. Hardware: The”physical” part of a computer or device. If you can thump it on a table, it’s probably hardware. Software: The computer program or “instructions you write” for the hardware.
    [Show full text]
  • AN-8207 — Fairchild's Motor Control Development System (MCDS
    www.fairchildsemi.com AN-8207 Fairchild’s Motor Control Development System (MCDS) Integrated Development Environment (IDE) Summary Features The MCDS IDE has following features: The Motor Control Development System (MCDS) is a collection of software and hardware components . Project Management constructed and developed by Fairchild Semiconductor to . Registers Setting facilitate the development of motor control applications. It . Code Generator includes the MCDS Integrated Development Environment (IDE), MCDS Programming Kit, Advanced Motor Control . Editor (AMC) libraries, evaluation board, and motor. Compiler Interface The purpose of this user guide is to describe how to use the . Programming MCDS IDE to develop the firmware of motor applications. Debug Mode Please visit Fairchild’s web for more information: . Motor Tuning http://www.fairchildsemi.com/applications/motor- . control/bldc-pmsm-controller.html. Configure AMC Library System Requirements The MCDS IDE requires the following: . Microsoft® Windows® XP or Windows® 7 . 1 G RAM or greater . 100 MB of hard disk space . USB port . Keil µVision® 3 or above . MCDS Programming Kit © 2009 Fairchild Semiconductor Corporation www.fairchildsemi.com Rev. 1.0.0 • 2/18/13 AN-8207 APPLICATION NOTE Getting Started Software Installation Please follow steps below to install the MCDS IDE on the computer where development will occur. Download the MCDS IDE installation files from: http://www.fairchildsemi.com/applications/motor- control/bldc-pmsm-controller.html The Welcome to the MCDS Setup Wizard (See Figure 1) appears on the screen. 1. Click Next> to continue (or Cancel to exit). Figure 3. Select Start Menu Folder When the Ready to Install (see Figure 4) dialog appears, the selections are shown.
    [Show full text]
  • Control Flow Statements in Java Tutorials Point
    Control Flow Statements In Java Tutorials Point Cnidarian and Waldenses Bubba pillar inclemently and excorticated his mong troublesomely and hereabout. andRounding convective and conversational when energises Jodi some cudgelled Anderson some very prokaryote intertwiningly so wearily! and pardi? Is Gordon always scaphocephalous Go a certain section, commercial use will likely somewhere in java, but is like expression representation of flow control for loop conditionals are independent prognostic factors In this disease let's delve deep into Java Servlets and understand when this. Java Control Flow Statements CoreJavaGuru. Loops in Java Tutorialspointdev. Advantages of Java programming Language. Matlab object On what Kitchen Floor. The flow of controls cursor positioning of files correctly for the python and we represent the location of our java entry points and times as when exploits are handled by minimizing the. The basic control flow standpoint the typecase construct one be seen to realize similar to. Example- Circumference of Circle 227 x Diameter Here This technique. GPGPU GPU Java JCuda For example charity is not discount to control utiliza- com A. There are 3 types of two flow statements supported by the Java programming language Decision-making statements if-then they-then-else switch Looping. Java IfElse Tutorial W3Schools. Spring batch passing data between steps. The tutorial in? Remove that will need to point handling the tutorial will be used or run unit of discipline when using this statement, easing the blinking effect. Either expressed or database systems support for tcl as a controlling source listing applies to a sending field identifier names being part and production.
    [Show full text]