

The chapter is well written and provides all of the necessary information for a student or an engineer to grasp the general idea, not to mention some intricacies, of a microcontroller.Ĭhapter 3, on standard I/O and preprocessor functions, would work as a section in the chapter on C, since it contains nothing but a brief discussion of additional C programming constructs.
#Codevisionavr practical programing functions serial#
Chapter 2 includes a discussion of the processor’s architecture, a detailed description of its memory, I/O ports, timers/counters, various options for serial communication, and analog interfaces. I’d rather have a chapter on C included in the book as reference material, perhaps in the appendix.ĭescriptions of the microcontroller, given in chapter 2, are essential. This is unnecessary, since this book shouldn’t be used in a course where students do not already know C. The chapter on C includes basic information on essential language constructs, as well as some more advanced material on memory operations and real-time methods. So, what does the book contain? It is divided logically into five chapters, which cover the C language, the architecture and organization of an Atmel processor, input/output (I/O) functions, the use of the CodeVisionAVR compiler (included on the CD), and project development. This being said, with no regard to the technical difficulties I experienced, the book’s contents met my expectations. Nevertheless, despite some difficulty, help from one of the authors and technical support enabled me to successfully translate and run a C program in CodeVisionAVR, as well as C and assembly programs in AVR Studio 4. STK500 is a relatively sophisticated piece of equipment, so its complete setup, even though it looks uncomplicated, requires a significant amount of time. So, even though the operation of the board and its setup are explained in several appendices, this is still rather peripheral knowledge, when compared to what seems to be the book’s real focus-the use of the C language.


Rather than programming the microcontroller. One reason is that the book focuses on teaching C programming skills first, That is, I obtained an STK500 board from Atmel, with two versions of a microcontroller for it, but making it work smoothly was quite a challenge. This turned out to be an unexpected difficulty. The authors suggest the MegaAVR development board, from Progressive Resources LLC, or any other development board with an Atmel microcontroller. The essential and necessary condition for using this book is access to the AVR evaluation board, equipped with a respective controller chip. However, unlike other textbooks, this book can’t be read cover to cover and reviewed. Since Atmel microcontrollers are so popular in embedded systems, I wanted to see if I could use them as a vehicle to conduct laboratories in an embedded systems programming course. The reason I looked into this book is quite straightforward. Computing Reviews, the leading online review service for computing literature.īarnett R., Cox S., O’Cull L., Thomson Delmar Learning, 2007. 560 pp.
