Presentation is loading. Please wait.

Presentation is loading. Please wait.

Class 3: Understanding Software Development

Similar presentations


Presentation on theme: "Class 3: Understanding Software Development"— Presentation transcript:

1 Class 3: Understanding Software Development
MCU Software Development- A Step by Step Guide (Using a Real Eval Board) Class 3: Understanding Software Development 9/24/2014 Warren Miller

2 This Week’s Agenda 9/22/14 An Intro to MCU Software Development 9/23/14 An Intro to the Atmel XMEGA & Eval Bd 9/24/14 Understanding Software Development 9/25/14 Digging Deeper into the Tools 9/26/14 An Example Design- in Detail

3 Course Description Are you interested in learning how to develop software for MCUs? Need a refresher on the newest trends in MCU software tools? Would using a real development board as part of the learning process help? You are in luck! This class will use the Atmel AVR XMEGA Xplained evaluation kit and free downloadable software to take you step-by-step thru the modern MCU software development process.

4 Todays Goals and Objectives
Step by Step- the Atmel Software Tool Flow Atmel Studio 6 Download Use for an example design Understand The tool flow for developing software for the Atmel XMEGA MCU family will be described and the process for downloading and running example designs will be shown so that the interested student can follow along using their own versions of free, downloadable tools.

5 Atmel XMEGA CPU and Peripherals
CPU and Memory DMA, Interrupt RTC, CRC Analog, Crypto Cap Touch, LCD Timer/Cntr, PWM Communications And more

6 AVR XMEGA-A3BU Xplained Kit
Key Features Atmel® AVR® ATxmega256A3BU microcontroller FSTN LCD display with 128x32 pixels resolution Battery backup Analog sensors Ambient light sensor Temperature sensor Analog filter Digital I/O Three mechanical buttons Two user LEDs One power LED , One status LED Four expansion headers Touch One Atmel AVR QTouch® button • Memory Atmel AVR AT45DB642D DataFlash® serial flash Footprints for external memory Key Features STM32F303VCT6 microcontroller featuring 256 KB Flash, 48 KB RAM in an LQFP100 package On-board ST-LINK/V2 with selection mode switch to use the kit as a standaloneST-LINK/V2 (with SWD connector for programming and debugging) Board power supply: through USB bus or from an external 3 V or 5 V supply voltage External application power supply: 3 V and 5 V L3GD20, ST MEMS motion sensor, 3-axis digital output gyroscope LSM303DLHC, ST MEMS system-in-package featuring a 3D digital linear acceleration sensor and a 3D digital magnetic sensor Ten LEDs: LD1 (red) for 3.3 V power on LD2 (red/green) for USB communication Eight user LEDS, LD3/10 (red), LD4/9 (blue), LD5/8 (orange) and LD6/7 (green) Two pushbuttons (user and reset) USB USER with Mini-B connector Extension header for all LQFP100 I/Os for quick connection to prototyping board and easy probing

7 Download Atmel Studio Visit the Atmel Studio 6.2 Web Page
Download as Guest or Register Receive an link, click to download page Download and Install

8 Tools! Atmel Studio 6.2 IDP Atmel Software Framework QTouch Composer
Atmel Software Framework QTouch Composer Atmel® Studio 6 is the integrated development platform (IDP) for developing and debugging Atmel ARM® Cortex®-M and Atmel AVR® microcontroller (MCU) based applications. The Atmel Studio 6 IDP gives you a seamless and easy-to-use environment to write, build and debug your applications written in C/C++ or assembly code. Atmel Studio 6 is free of charge and is integrated with the Atmel Software Framework (ASF)—a large library of free source code with 1,600 ARM and AVR project examples. ASF strengthens the IDP by providing, in the same environment, access to ready-to-use code that minimizes much of the low-level design required for projects. Use the IDP for our wide variety of AVR and ARM Cortex-M processor-based MCUs, including our broadened portfolio of Atmel SAM3 ARM Cortex-M3 and M4 Flash devices. Atmel Studio 6.2 is now available, adding advanced debugging features such as Data and Interrupt Trace, improved RTOS integration, and better ability to debug code that has been optimized. With the introduction of Atmel Gallery and Atmel Spaces, Atmel Studio 6 further simplifies embedded MCU designs to reduce development time and cost. Atmel Gallery is an online apps store for development tools and embedded software. Atmel Spaces is a cloud-based collaborative development workspace allowing you to host software and hardware projects targeting Atmel MCUs. In summary, standard integrated development environments (IDEs) are suited for creating new software for an MCU project. By contrast, the Atmel Studio 6 IDP also: Facilitates reuse of existing software and, by doing so, enables design differentiation. Supports the product development process with easy access to integrated tools and software extensions through Atmel Gallery. Reduces time to market by providing advanced features, an extensible software eco-system, and powerful debug integration. The New Project Wizard in Atmel Studio 6 provides a step-by-step guide through the whole touch project setup, and automatically generates a touch project complete with initialization code and power management. QTouch Composer includes real-time data graphing and tracing. During debugging, this capability records all data from the target, storing it for later playback. This allows zooming and inspection on a recorded data set. The Validation Wizard provides an easy and intuitive way to test system performance. Your touch project can be automatically updated with recommended changes performed by this wizard. QTouch Composer also includes a power analyzer, which allows real-time monitoring of your microcontroller's power consumption. With the power analyzer, you can easily profile and visualize the amount of CPU time spent on the touch sensing code. This will support you in developing the lowest power touch

9 More Tools! GCC C/C++ Compiler Editor Atmel ICE Percepio Trace
Atmel ICE Percepio Trace From Percepio (percepio.com) Atmel® Studio 6 includes the GCC C and C++ Compiler, assembler and a simulator, and interfaces seamlessly with in-system debuggers and programmers to make code development easier. The Atmel AVR® and ARM® Cortex™-M processor-based microcontrollers are also supported by third-party compilers including IAR Embedded Workbench® and Keil™. Starting a new project is easy in Atmel Studio 6. The New Project Wizard sets up all the compiler and linker settings, letting you jump straight to writing code. Create a blank project, or select from nearly 1,600 project examples. The Atmel Studio 6 editor simplifies code editing and lets you code more efficiently. Type a few letters of a symbol, and Atmel Studio 6 will display a list of suggestions. Type a shortcut to expand frequently used snippets of code. Instantly view the context and definition of a symbol just by clicking on it. Hover over symbols while browsing code to see related information. Get the information you need without hunting for it. The Solution Explorer presents an organized view of all your projects and their files, and gives you simple access to the commands that apply to them. You can easily create applications containing multiple microcontrollers and develop the code for all of them within the same solution. Develop and Debug Atmel applications in a single, integrated environment with Atmel-ICE Studio 6.2 support for the new Atmel-ICE probe provides advanced programming and debugs connectivity for Atmel ARM- and AVR-based MCUs, including the ability to capture data trace information

10 Percepio Trace Control Flow Application Output Data Flow
Accelerate Your Time to Market with Percepio Trace™ Gain insight into the run-time of embedded software with trace visualization. Percepio Trace for Atmel Studio features Control-flow trace (tasks and interrupts) Custom data plots Application debug output Statistical code profiling Support for viewing MCU event counters Real-time operating system (RTOS) awareness

11 Even More Tools! Atmel Gallery (App Store) Atmel Spaces (Collaborate)
gallery.atmel.com Free and Pay apps Atmel Spaces (Collaborate) spaces.atmel.com Shared or Private Plug-in to Atmel Studio Software Libraries and Device Support The Atmel Software Framework is a collection of production-ready source code such as drivers, communication stacks, graphic services and touch functionality. Tap into 1,600 project examples with source code to accelerate development of new applications. Atmel Gallery You can now download and securely purchase both Atmel and third-party compilers, advanced debugging tools, real-time operating systems, communication systems and other extensions and plug-ins straight from the Atmel Studio 6 development platform and via gallery.atmel.com. The Atmel Gallery app store provides development tools and embedded software for MCU-based application design. When you encounter a need for a tool in the midst of your development process, or are seeking some basic source code, you won't have to leave your environment to search for your solution. From Atmel Gallery, you can also download a plug-in that will give you direct access to Atmel Spaces, our new collaborative workspace. Atmel Spaces Collaborative Workspace With embedded applications easily topping tens of thousands of lines of code—often written by designers dispersed around the globe—efficient collaboration is critical for a project's success. Atmel Spaces provides a cloud-based workspace where you can securely share and track open-source, community-developed embedded design projects with your peers. With access control, version control, bug and feature trackers, mailing lists and wikis, Atmel Spaces provides a secure and efficient place for sharing design tips, tricks and resources and for tracking progress of projects with your peers. You can access Atmel Spaces at spaces.atmel.com or directly from Atmel Studio with an extension available in Atmel Gallery.

12 Your First Project Create a New Project Select Device
Select Example Project

13 AFS Design- XMEGA-A3BU Xplained
Create Project Use AFS for Delay Add Delay Toggle GPIO Blink LED!

14 For Next Time Create a Project Try out ASF
Power up your board and try it out (If you have one)

15 Additional Resources Studio 6 Video Page: Atmel AVR XMEGA Details Web Page: Atmel AVR XMEGA-A3BU Xplained Web Page: Order your kit from Digi-Key to follow along in the class- Optional, not a class requirement:

16 This Week’s Agenda 9/22/14 An Intro to MCU Software Development 9/23/14 An Intro to the Atmel XMEGA Eval 9/24/14 Understanding Software Development 9/25/14 Digging Deeper into the Tools 9/26/14 An Example Design- in Detail


Download ppt "Class 3: Understanding Software Development"

Similar presentations


Ads by Google