Mcuxpresso IDE User Guide Rev
Total Page:16
File Type:pdf, Size:1020Kb
MCUXpresso IDE User Guide Rev. 10.3.0 — 19 February, 2019 User guide NXP Semiconductors MCUXpresso IDE User Guide 19 February, 2019 Copyright © 2018 NXP Semiconductors All rights reserved. MCUXpresso IDE User Guide - All information provided in this document is subject to legal disclaimers © 2018 NXP Semiconductors. All rights reserved. User Guide Rev. 10.3.0 — 19 February, 2019 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 10.3.0 ..................................................................... 8 2.1. New Features introduced in MCUXpresso IDE version 10.2.0 ............................... 9 3. IDE Overview ............................................................................................................ 11 3.1. Documentation and Help ................................................................................. 11 3.2. Workspaces .................................................................................................... 12 3.3. Perspectives and Views ................................................................................... 12 3.4. Major Components of the Develop Perspective ................................................. 14 3.4.1. Project Settings .................................................................................... 15 3.4.2. Updating MCUXpresso IDE ................................................................... 16 3.4.3. Updating MCUXpresso IDE on Mac or Linux hosts ................................. 17 3.4.4. Locating IDE Components ..................................................................... 18 3.5. Help us improve MCUXpresso IDE ................................................................... 18 4. Debug Solutions Overview ......................................................................................... 19 4.1. Starting a Debug Session ................................................................................ 19 4.2. An Introduction to Launch Configuration Files ................................................... 21 4.3. LinkServer Debug Connections ........................................................................ 24 4.4. LinkServer Debug Operation ............................................................................ 24 4.5. LinkServer Global and Live Global Variables ..................................................... 25 4.6. LinkServer Live Global Variable Graphing ......................................................... 28 4.6.1. LinkServer Live Global Variable Graphing details .................................... 29 4.7. LinkServer Troubleshooting .............................................................................. 32 4.7.1. Debug Log ........................................................................................... 32 4.7.2. Flash Programming .............................................................................. 34 4.7.3. LinkServer executables ......................................................................... 35 4.8. P&E Debug Connections ................................................................................. 35 4.9. P&E Debug Operation ..................................................................................... 35 4.9.1. P&E Differences from LinkServer Debug ................................................ 36 4.9.2. P&E Micro Software Updates ................................................................ 36 4.10. SEGGER Debug Connections ........................................................................ 36 4.10.1. SEGGER software installation ............................................................. 37 4.11. SEGGER Debug Operation ............................................................................ 38 4.11.1. SEGGER Differences from LinkServer Debug ....................................... 38 4.12. SEGGER Troubleshooting ............................................................................. 39 5. SDKs and Preinstalled Part Support Overview ............................................................. 42 5.1. Preinstalled Part Support ................................................................................. 42 5.2. SDK Part Support ........................................................................................... 42 5.2.1. Differences in Preinstalled and SDK Part Handling .................................. 43 5.3. Viewing Preinstalled Part Support .................................................................... 43 5.4. Obtaining and Installing an SDK ...................................................................... 44 5.4.1. Installed SDKs Operations .................................................................... 46 5.4.2. Installed SDKs Features ....................................................................... 48 5.4.3. Advanced Use: SDK Importing and Configuration ................................... 48 5.4.4. Important notes for SDK Users .............................................................. 50 5.5. Enhanced Project Sharing Features ................................................................. 52 5.5.1. Project Drag and Drop .......................................................................... 52 5.5.2. Project Local SDK Part Support ............................................................ 52 5.5.3. Project Local Support files .................................................................... 54 6. Creating New Projects using installed SDK Part Support .............................................. 57 6.1. New Project Wizard ......................................................................................... 57 6.1.1. SDK New Project Wizard: Basic Project Creation and Settings ................. 59 6.1.2. SDK New Project Wizard: Advanced Project Settings .............................. 62 6.2. SDK Build Project ........................................................................................... 64 MCUXpresso IDE User Guide - All information provided in this document is subject to legal disclaimers © 2018 NXP Semiconductors. All rights reserved. User Guide Rev. 10.3.0 — 19 February, 2019 iii NXP Semiconductors MCUXpresso IDE User Guide 7. Importing Example Projects (from installed SDKs) ........................................................ 65 7.1. SDK Example Import Wizard ........................................................................... 66 7.1.1. SDK Example Import Wizard: Basic Selection ........................................ 66 7.1.2. SDK Example Import Wizard: Advanced options ..................................... 69 7.1.3. SDK Example Import Wizard: Import from XML fragment ......................... 70 7.1.4. Importing Examples to non default locations ........................................... 72 8. SDK Project Component Management ........................................................................ 73 8.1. SDK Project Component Management example ................................................ 73 8.2. SDK Project Refresh ....................................................................................... 76 9. Creating New Projects using Preinstalled Part Support ................................................. 77 9.1. New Project Wizard ......................................................................................... 77 9.2. Creating a Project ........................................................................................... 78 9.2.1. Selecting the Wizard Type .................................................................... 79 9.2.2. Configuring the Project ......................................................................... 80 9.2.3. Wizard Options ..................................................................................... 80 9.2.4. Project Created .................................................................................... 83 10. Importing Example Projects (from the file system) ...................................................... 84 10.1. Code Bundles for LPC800 Family Devices ...................................................... 84 10.2. LPCOpen Software Drivers and Examples ...................................................... 85 10.3. Importing an Example Project ........................................................................ 85 10.3.1. Importing Examples for the LPCXpresso4337 Development Board ......... 87 10.4. Exporting Projects ......................................................................................... 88 10.5. Building Projects ............................................................................................ 89 10.5.1. Build Configurations ............................................................................ 89 11. Debugging a Project ................................................................................................. 90 11.1. Debugging Overview ..................................................................................... 90 11.1.1. Debug Launch