User Guide for Maxim Integrated models including: MAX32666FTHR Getting Started with the Using Eclipse, MAX32666FTHR, Getting Started with the Using Eclipse, Started with the Using Eclipse, Using Eclipse, Eclipse
| Maxim Integrated
Getting Started with the MAX32666FTHR Using Eclipse UG7527; Rev 0; 8/21 Abstract This user guide contains detailed information about how to use the MAX32666FTHR application platform. This document must be used in conjunction with the corresponding Maxim Micro SDK Installation and Maintenance User Guide. Maxim Integrated Page 1 of 10 Table of Contents Introduction ................................................................................................................................ 3 How to Start a MAX32666FTHR Example Project...................................................................... 4 Prerequisites .......................................................................................................................... 4 Create the Example Project.................................................................................................... 4 Build the Example Project....................................................................................................... 7 Debugging the Example Project ............................................................................................. 9 Revision History ........................................................................................................................10 List of Figures Figure 1. Workspace selection. .................................................................................................. 4 Figure 2. Workbench button. ...................................................................................................... 4 Figure 3. Create a new project. .................................................................................................. 5 Figure 4. Enter the project name ................................................................................................ 5 Figure 5. Select project configuration. ........................................................................................ 6 Figure 6. Build the project. ......................................................................................................... 7 Figure 7. CDT build console output. ........................................................................................... 7 Figure 8. Clean the project. ........................................................................................................ 8 Figure 9: Debugging the example project................................................................................... 9 Figure 10. Run an example in the Eclipse debug window. ......................................................... 9 Maxim Integrated Page 2 of 10 Introduction The MAX32666FTHR provides a complete hardware platform to develop software applications using the Arm®-based low-power microcontrollers. These platforms are mainly aimed at the rapid development of battery optimized Bluetooth® 5 solutions, and to take advantage of the MAX32666 low-power features, and the board's 6-axis accelerometer/gyro and micro-SD card connector. The document gives details about creating, building, running, and debugging examples for the MAX32666FTHR. Arm is a registered trademark of Arm Limited. Bluetooth is a registered trademark of Bluetooth SIG. Maxim Integrated Page 3 of 10 How to Start a MAX32666 Example Project Prerequisites Before creating a MAX32666FTHR example, install the latest MSDK version. For details of the installation process, refer to the MaximSDK Installation and Maintenance User Guide. Create the Example Project Run the EclipseTM Maxim Integrated® desktop app. Select the workspace folder to save the example project and click Launch. Choose a path that contains no spaces. Figure 1. Workspace selection. Go directly to the workspace by clicking the orange play button (Workbench) in the top right corner. Figure 2. Workbench button. Eclipse is a trademark of Eclipse Foundation, Inc. Maxim Integrated® is a trademark of Maxim Integrated Products, Inc. Maxim Integrated Page 4 of 10 Start the wizard by clicking File > New > Project... Figure 3. Create a new project. Enter the project name and click Next. Figure 4. Enter the project name. Maxim Integrated Page 5 of 10 Select chip type, board type, example type, and adapter type. Figure 5. Select project configuration. Maxim Integrated Page 6 of 10 Build the Example Project · BUILD: To build the example project, right-click on the project and select Build Project. Figure 6. Build the project. After the building is complete, check the build is completed successfully. Figure 7. CDT build console output. Maxim Integrated Page 7 of 10 · CLEAN: To clean an example project, right-click on the project and select Clean Project. Figure 8. Clean the project. Maxim Integrated Page 8 of 10 Debugging the Example Project Debug the project with the following steps: Click the arrow at the right of the bug button and select the project from the dropdown. Figure 9: Debugging the example project. Use the debugger in Eclipse to debug the source code, monitor variables, set breakpoints, and watch events during the code execution. To run the example, click Resume on the toolbar. Figure 10. Run an example in the Eclipse debug window. Maxim Integrated Page 9 of 10 Revision History REV NUMBER REV DATE 0 8/21 Initial release DESCRIPTION PAGES CHANGED -- ©2021 by Maxim Integrated® Products, Inc. All rights reserved. Information in this publication concerning the devices, applications, or technology described is intended to suggest possible uses and may be superseded. MAXIM INTEGRATED® PRODUCTS, INC. DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT. MAXIM INTEGRATED® ALSO DOES NOT ASSUME LIABILITY FOR INTELLECTUAL PROPERTY INFRINGEMENT RELATED IN ANY MANNER TO USE OF INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE. The information contained within this document has been verified according to the general principles of electrical and mechanical engineering or registered trademarks of Maxim Integrated® Products, Inc. All other product or service names are the property of their respective owners. Maxim Integrated Page 10 of 10Microsoft Word for Microsoft 365