Class 3: Understanding Software Development

Slides:



Advertisements
Similar presentations
With the Wi-Fi LaunchPad
Advertisements

ARM development environment Modified Content Philips LPC2106 ARM chip ARM target board PSPad customised development environment Troubleshooting.
MotoHawk Training Model-Based Design of Embedded Systems.
Introduction CS212 Dick Steflik. What is CS-212 Primarily an introduction to linear and non-linear data structures  arrays  stacks and queues  lists.
Getting Started with a Cortex-M3 Board
Asst. Prof. Dr. Alper ŞİŞMAN
Keil Products in a Single Slide
Introduction Purpose Objectives Content Learning Time
Programmable Logic- How do they do that? 1/16/2015 Warren Miller Class 5: Software Tools and More 1.
Introduction to the Orbit Edu Board Ahmad Rahmati Teaching Assistant, ELEC424 Rice Efficient Computing Group Sep 12, 2007.
Silicon Labs ToolStick Development Platform
The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP family.
Renesas Technology America Inc. 1 M16C/Tiny SKP Tutorial 2 Creating A New Project Using HEW4.
NetBurner MOD 5282 Network Development Kit MCF 5282 Integrated ColdFire 32 bit Microcontoller 2 DB-9 connectors for serial I/O supports: RS-232, RS-485,
Introduction Purpose This training course covers debugging an application on an SH target in the Renesas HEW (High-performance Embedded Workshop) development.
CCS APPS CODE COVERAGE. CCS APPS Code Coverage Definition: –The amount of code within a program that is exercised Uses: –Important for discovering code.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
Introduction Purpose This training course covers debugging an application on an SH target in the Renesas HEW (High-performance Embedded Workshop) development.
ARM 7 & ARM 9 MICROCONTROLLERS AT91 1 Development Tools & Partners.
Zero - G CONNECTING THE INTERNET OF THINGS. Introduction to Zero -G.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course explains how to use section setting and memory.
ChibiOS/RT Demo A free embedded RTOS
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course demonstrates the Project Generator function.
김민수 Cortex-M4 Processor - Getting Started with the GNU Compiler Collection(gcc)
1 © 2004 Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID Cisco Technical Support Seminar Using the Cisco Technical Support Website.
Programming and Debugging with the Dragon and JTAG Many thanks to Dr. James Hawthorne for evaluating the Dragon system and providing the core content for.
Lets Learn fundamentals !!
The data-logger for computers and CASIO Graphical calculators
Operating System Overview
Introduction to the ARM mbed Platform– A Hands-on Course
Microcontrollers, Basics Tips and Tricks with PIC MCUs
Programming and Debugging with the Dragon and JTAG
Lab 1: Using NIOS II processor for code execution on FPGA
Microcontrollers, Basics How Do I Choose the Right MCU?
Hands On SoC FPGA Design
Hands On SoC FPGA Design
Computer System Laboratory
Class 1: An Introduction to MCU Software Development
Atoll Solutions PVT LTD
Implementation of Embedded OS
Microcontroller Applications
AUTOMATED security system
PC Mouse operated Electrical Load Control Using VB Application
Introduction Purpose Objectives Content Learning Time
CP220x The Industry’s Smallest Ethernet Controller
ENG3050 Embedded Reconfigurable Computing Systems
Getting Started with Programmable Logic
Introduction to the Orbit Edu Board
Arduino and Design of Embedded Applications
Microcomputer Systems 1
RX111 Promotion Board (RPB) hands on
Using FPGAs with Processors in YOUR Designs
Future Designs, Inc. Your Development Partner
Programmable Logic- How do they do that?
ریز پردازنده. ریز پردازنده مراجع درس میکروکنترلرهای AVR برنامه نویسی اسمبلی و C محمدعلی مزیدی، سپهر نعیمی و سرمد نعیمی مرجع کامل میکروکنترلرهای AVR.
MCU Software Development- A Step by Step Guide (Using a Real Eval Board) Class 2: An Introduction to the Atmel AVR XMEGA and Explained Eval Board 9/23/2014.
Getting Started with Programmable Logic
Journey: Introduction to Embedded Systems
Controlling Sensors Efficiently with MCUs
Designing with ARM Cortex-M4 (and a Real Dev Board)
Controlling Sensors Efficiently with MCUs
A technical look at new capabilities and features
Software Setup & Validation
CHAPTER 1 THE 8051 MICROCONTROLLERS
Computer System Laboratory
Microsoft Office Illustrated Fundamentals
Embedded Development Tools
STM32duino Workshop Carlo Parata 24 November 2017.
Presentation transcript:

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

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

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.

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.

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

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

Download Atmel Studio Visit the Atmel Studio 6.2 Web Page http://www.atmel.com/tools/atmelstudio.aspx Download as Guest or Register Receive an email link, click to download page Download and Install http://www.youtube.com/watch?feature=player_embedded&v=qbwmlZgaLGI

Tools! Atmel Studio 6.2 IDP Atmel Software Framework QTouch Composer http://www.atmel.com/Microsite/atmel_studio6/ Atmel Software Framework http://www.atmel.com/Images/WP_Studio6_July2012_FINAL.pdf QTouch Composer http://www.atmel.com/Microsite/atmel_studio6/qtouch_tools.aspx 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

More Tools! GCC C/C++ Compiler Editor Atmel ICE Percepio Trace http://www.atmel.com/microsite/atmel_studio6/compiler_editor.aspx Atmel ICE http://www.atmel.com/tools/atatmel-ice.aspx Percepio Trace From Percepio (percepio.com) http://www.youtube.com/watch?v=iioeeViKrsc 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

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

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.

Your First Project Create a New Project Select Device Select Example Project http://www.youtube.com/watch?feature=player_embedded&v=eab4TLP15Sc

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

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

Additional Resources Studio 6 Video Page:http://www.atmel.com/Microsite/atmel_studio6/videos.aspx#studio_6 Atmel AVR XMEGA Details Web Page: http://www.atmel.com/products/microcontrollers/avr/xmega_technical_details.aspx Atmel AVR XMEGA-A3BU Xplained Web Page: http://www.atmel.com/tools/XMEGA-A3BUXPLAINED.aspx Order your kit from Digi-Key to follow along in the class- Optional, not a class requirement: http://www.digikey.com/product-detail/en/ATXMEGAA3BU-XPLD/ATXMEGAA3BU-XPLD-ND/2770519

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