CS212 - PowerPoint PPT Presentation

About This Presentation
Title:

CS212

Description:

download into AVR Butterfly board. all code submitted for grading must be demonstrated running on the Butterfly. AVR Butterfly ... – PowerPoint PPT presentation

Number of Views:40
Avg rating:3.0/5.0
Slides: 9
Provided by: dickst
Category:
Tags: cs212

less

Transcript and Presenter's Notes

Title: CS212


1
Introduction
  • CS212
  • Dick Steflik

2
What is CS-212
  • Primarily an introduction to linear and
    non-linear data structures
  • arrays
  • stacks and queues
  • lists
  • trees
  • hash tables
  • graphs
  • An a brief introduction to C classes

3
Assumptions
  • You have a good working familiarity with the C
    programming language (CS-211)?
  • if there are things that are unclear to you
    please make sure that you ask
  • we will use the first week of class as review
    before we venture off into new and uncharted
    territory

4
Software Development
  • We will be doing a mixed bag of things this
    semester using Linux, Windows and an 8-bit MCU
    from Atmel Corp
  • Linux, gcc, g and gdb for general development
  • Windows AVR Studio Studio and WINAVR for
    development and software simulation
  • Arduino , MCU demonstration and development board
    for real target system

5
gcc, g and gdb
  • gcc and g are C and C compilers generally
    used on Intel based platforms
  • open source supported by GNU
  • widely used for Unix and Linux development
  • C and C are also widely used for Windows
    software development mainly using Microsoft's
    Visual Studio development suite
  • gdb is a command line debugger for gcc and g
  • it allows more in-depth insight into a program
    than adding printf statements

6
MCU Software Development
  • We will be developing on Windows using
  • AVR Studio 4 (or 5)(free download)?
  • GUI based development tool
  • shell for WINAVR
  • WINAVR (free download)?
  • version of gcc for AVR 8-bit MCUs
  • Methodology
  • develop code on AVR Studio
  • download into Arduino board
  • all code submitted for grading must be
    demonstrated running on the Arduino

7
Arduino
The Arduino, for this course is used as a
breakout board for the ATmega328 MCU. The
ATmega328 has many more capabilities than the
Arduino provides. It (Arduino)has
Atmel ATmega328 MCU 32K bytes flash program
memory 1 K byte EEPROM 2K bytes RAM (data
memory) 14 digital I/O pins 6 Analog Inputs USB
Connection 16 Mhz xtal Power USB or External
ICSP header Reset button 10 bit A/D
8
AVR Studio
  • Windows based GUI for developing software for
    Atmel 8-bit MCU product line
  • gcc based cross compiler
  • Built-in simulator for pre-build software testing
  • Built-in debugger
  • step-in, step-out, step-over
  • view all registers, memories (flash, sram)?
  • breakpoints, tracing, watching variables
Write a Comment
User Comments (0)
About PowerShow.com