Home > Programming > C Programming Language



Programming the AVR Microcontroller with GCC

Sort Desciption:

... output lines, timers, UART for RS 232 communication and many other things. The best is however that a complete programming environment is available under Linux: You can program this Microcontroller in C ...



Content Inside:

LinuxFocus article number 231 http://linuxfocus.org by Guido Socher (homepage) About the author: Guido loves Linux not only because it is fun to discover the great possibilities of this systems but also because of the people involved in its design. Programming the AVR Microcontroller with GCC Abstract : Note: An updated version of this article is now available at: ./November2004/article352 The AVR 8-Bit RISC Microcontroller from Atmel is a very common Microcontroller Its a single integrated circuit with EEPROM, Ram, Analog to Digital converter, a lot of digital input and output lines, timers, UART for RS 232 communication and many other things. The best is however that a complete programming environment is available under Linux: You can program this Microcontroller in C using GCC. In this article I will explain how to install and use GCC. I will as well explain how to load the software into the Microcontroller.  All you need for this are an AT90S4433 Microcontroller,  a 4Mhz crystal, some cable and a few other very cheap parts. This article shall be only an introduction.  In a later article we will build a LCD display with a few push buttons, analog and digital inputs, hardware watchdog and LEDs. The idea is that this will be a general purpose control panel for a Linux Server but first we will learn how to setup the programming environment and that is what this article is about. _________________ _________________ _________________ Software installation: What you need To use the GNU C development environment you need the following software: binutils-2.11.2. tar.bz2 Available from: ftp://ftp.informatik.rwth-aachen.de/pub/gn u/binutils/ or ftp://gatekeeper.dec.com/pub/GNU/binutils/ gcc-core-3.0.3.tar.gz Available from: ftp://ftp.informatik.rwth-aachen.de/pub/gn u/gcc/ or ftp://gatekeeper.dec.com/pub/GNU/gcc/ avr-libc-20020106 .tar.gz The AVR C-library is available f ...

Source: www.tldp.org


add to Google Reader add to Google Bookmark add to bloglines add to newsgator add to FURL add to digg add to webnews add to Netscape add to Yahoo MyWeb add to spurl.net add to diigo Bookmark newsvine Bookmark del.icio.us Bookmark @ SIMPIFY Bookmark MISTER WONG Bookmark Linkarena Bookmark icio.de Bookmark oneview Bookmark folkd.com Bookmark yigg.de Bookmark reddit Bookmark StumbleUpon Bookmark Slashdot Bookmark blinklist Bookmark technorati add to blogmarks add to blinkbits add to ma.gnolia add to smarking.com add to netvouz add to co.mments add to Connotea add to de.lirio.us

 

Related Files

Programming in C C++ Java

Filed under: Programming and C Programming Language
Programming in C C++ Java. Course Overview. Object oriented programming languages are widely used for the development of complex software systems. ...

C Programming

Filed under: Programming and C Programming Language
The C Programming Language ANSI C. By Brian W. C. Kernighan & Dennis M. Ritchie. K and R. "Practical C programming". By Steve ...

An Overview of the C++ Programming Language

Filed under: Programming and C Programming Language
The C++ programming language provides a model of memory and computation that ... 3 The C Programming Model presents the C subset of C++ and other C++ ...

C Programming Fundamentals

Filed under: Programming and C Programming Language
1 C Programming Fundamentals C is a compiled language. The user creates source code (often ... exe extension). Below is typical C program called LED.C that illustrates some fundamental C ...

Essential C

Filed under: Programming and C Programming Language
C Programming Language (below) as part of their research at AT&T. Unix and C++ ... The C Programming Language 2nd ed. by Kernighan and Ritchie. ...