I've not read it, but here is one such book:
Embedded C Programming and the Atmel AVR
http://www.prllc.com/prllc_homemainECAVR_Book.htm
On 8 Apr 2004 15:25:07 -0700, lee_t@bigfoot.com (Lee Thalblum) wrote:
>Hi. I'm teaching an intro class to embedded processor applications.
>The first part of the class used the Parallax Basic stamp, which is
>based on the PIC. I'm planning on using one of the Atmel ATMega's
>(8535, 16, or 32. What I'm looking for is any intro to AVR books that
>cover the ATMega line. I'm going to have the students use a processor
>in a breadboard, no pre-made boards, so I'm only looking at processors
>that come in 40 pin DIPS and have analog inputs. If anyone knows of a
>book that covers any of these processors I'd appreciate it. Thanks.
>Lee Thalblum
Reply by Rich Webb●April 8, 20042004-04-08
On 8 Apr 2004 15:25:07 -0700, lee_t@bigfoot.com (Lee Thalblum) wrote:
>Hi. I'm teaching an intro class to embedded processor applications.
>The first part of the class used the Parallax Basic stamp, which is
>based on the PIC. I'm planning on using one of the Atmel ATMega's
>(8535, 16, or 32. What I'm looking for is any intro to AVR books that
>cover the ATMega line. I'm going to have the students use a processor
>in a breadboard, no pre-made boards, so I'm only looking at processors
>that come in 40 pin DIPS and have analog inputs. If anyone knows of a
>book that covers any of these processors I'd appreciate it. Thanks.
Everything they should need is in the Atmel datasheets, especially if
they've already exercised a Stamp and understand that there are
"peripherals" in the chips like timers, A/Ds, UARTs, etc.
The datasheets each do include a "recommended" preamble that lists the
entries in the interrupt table and setting up the stack pointer. After
that, it's mostly a matter of getting the peripherals initialized.
Perhaps if you give them some example code that tickles an LED based on
a timer compare interrupt? That touches on most of the issues involved
in getting a typical peripheral up and running, such as discovering that
the some of the bits that need to be touched are in different places in
the datasheet and not all in the timer section.
--
Rich Webb Norfolk, VA
Reply by Lee Thalblum●April 8, 20042004-04-08
Hi. I'm teaching an intro class to embedded processor applications.
The first part of the class used the Parallax Basic stamp, which is
based on the PIC. I'm planning on using one of the Atmel ATMega's
(8535, 16, or 32. What I'm looking for is any intro to AVR books that
cover the ATMega line. I'm going to have the students use a processor
in a breadboard, no pre-made boards, so I'm only looking at processors
that come in 40 pin DIPS and have analog inputs. If anyone knows of a
book that covers any of these processors I'd appreciate it. Thanks.
Lee Thalblum