
Atmel Studio 7 User Guide Atmel Studio 7 Preface Atmel Studio is an Integrated Development Environment (IDE) for writing and debugging AVR®/ARM® applications in Windows® XP/Windows Vista®/Windows 7/8 environments. Atmel Studio provides a project management tool, source file editor, simulator, assembler, and front-end for C/C++, programming, and on-chip debugging. Atmel Studio supports the complete range of Microchip AVR tools. Each new release contains the latest updates for the tools as well as support for new AVR/ARM devices. Atmel Studio has a modular architecture, which allows interaction with 3rd party software vendors. GUI plugins and other modules can be written and hooked to the system. Contact Microchip for more information. © 2018 Microchip Technology Inc. User Guide DS50002718A-page 1 Atmel Studio 7 User Guide Table of Contents Preface............................................................................................................................ 1 1. Introduction................................................................................................................5 1.1. Features....................................................................................................................................... 5 1.2. New and Noteworthy....................................................................................................................5 1.3. Installation.................................................................................................................................. 12 1.4. Contact Information....................................................................................................................13 2. Getting Started........................................................................................................ 15 2.1. AVR® and SAM Development Tools Overview........................................................................... 17 2.2. AVR® and SAM HW Tools and Debuggers.................................................................................18 2.3. Data Visualizer and Power Debugging Demo............................................................................ 20 2.4. Installation and Updates.............................................................................................................22 2.5. Microchip Gallery and Studio Extensions...................................................................................24 2.6. Atmel START Integration............................................................................................................25 2.7. Creating a New Project.............................................................................................................. 30 2.8. Creating From Arduino Sketch...................................................................................................36 2.9. In-System Programming and Kit Connection............................................................................. 37 2.10. I/O View and Other Bare-Metal Programming References ....................................................... 44 2.11. Editor: Writing and Re-Factoring Code (Visual Assist)...............................................................56 2.12. AVR Simulator Debugging..........................................................................................................65 2.13. Debugging 1: Break Points, Stepping, and Call Stack............................................................... 70 2.14. Debugging 2: Conditional- and Action-Breakpoints ...................................................................80 2.15. Debugging 3: I/O View Memory View and Watch.......................................................................87 3. Project Management............................................................................................... 95 3.1. Introduction.................................................................................................................................95 3.2. GCC Projects............................................................................................................................. 98 3.3. Assembler Projects.................................................................................................................. 131 3.4. Import of Projects..................................................................................................................... 136 3.5. Debug Object File in Atmel Studio........................................................................................... 145 4. Debugging............................................................................................................. 151 4.1. Introduction...............................................................................................................................151 4.2. Starting a Debug Session.........................................................................................................151 4.3. Ending a Debug Session..........................................................................................................151 4.4. Attaching to a Target................................................................................................................ 152 4.5. Start without Debugging...........................................................................................................152 4.6. Debug Control.......................................................................................................................... 153 4.7. Breakpoints.............................................................................................................................. 155 4.8. Data Breakpoints......................................................................................................................160 4.9. QuickWatch, Watch, Locals, and Autos Windows....................................................................174 4.10. DataTips................................................................................................................................... 180 4.11. Disassembly View ................................................................................................................... 183 © 2018 Microchip Technology Inc. User Guide DS50002718A-page 2 Atmel Studio 7 User Guide 4.12. I/O View....................................................................................................................................184 4.13. Processor View ....................................................................................................................... 185 4.14. Register View........................................................................................................................... 187 4.15. Memory View............................................................................................................................187 4.16. Call Stack Window................................................................................................................... 187 4.17. Object File Formats..................................................................................................................190 4.18. Trace........................................................................................................................................ 191 4.19. Trace View................................................................................................................................193 5. Programming Dialog..............................................................................................200 5.1. Introduction...............................................................................................................................200 5.2. Interface Settings..................................................................................................................... 203 5.3. Tool Information........................................................................................................................207 5.4. Board Settings/Tool Settings.................................................................................................... 207 5.5. Card Stack................................................................................................................................210 5.6. Device Information....................................................................................................................211 5.7. Oscillator Calibration................................................................................................................ 212 5.8. Memories..................................................................................................................................213 5.9. Fuse Programming...................................................................................................................215 5.10. Lock Bits...................................................................................................................................216 5.11. Production Signatures..............................................................................................................216 5.12. Production Files........................................................................................................................217 5.13. Security.................................................................................................................................... 220 5.14. Automatic Firmware Upgrade Detection.................................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages359 Page
-
File Size-