Microcontrollers: From Assembly Language to C Using the PIC24 Family
Microcontrollers: From Assembly Language to C Using the PIC24 Family provides an introduction to microprocessors and microcontrollers for either the student or hobbyist. It begins by discussing simple microprocessor architecture concepts, moves to assembly language programming in a C language context, then covers fundamental hardware interfacing topics such as parallel IO, asynchronous serial IO, synchronous serial I/O (I2C and SPI), interrupt-driven IO, timers, analog-to-digital conversion, and digital-toanalog conversion. Programming topics are discussed using both assembly language and C, while hardware interfacing examples use C to keep code complexity low and improve clarity. This books C examples on hardware interfacing strive for code clarity first and optimization second, providing a gentle learning curve and ensuring understanding of the key concepts. The books numerous examples include complete schematics and working code to operate a number of useful peripherals, including temperature sensors, LCD displays, a robot, and a reflow oven, providing a good starting point for your designs. Numerous lab experiments are included in the appendices, while the companion CD-ROM includes complete source code for all book examples, which can be compiled using the freely available Microchip C compiler and development environment. Visit www.reesemicro.com to obtain supplementary information on the text, the latest version of the library and example code with accompanying documentation, and links to courses which use this text. In addition, an online discussion group promotes interaction with the authors and a forum to discuss PIC24-based projects.
a good RTOS for the PIC24
By Bandit Gangwere "mr_bandit" - June 11, 2009
I have read fairly major parts of the book, and looked at a fair amount of the code.
In general, the code is well-enough documented.
The kernel code is pretty simple too - which is as it should be. You want an RTOS to be simple and stripped down.
The book goes into a lot of detail that is useful to a beginner. You can learn a lot about embedded systems from this one book, but a knowledge of C and any assembly language would really help.
Having actual device driver code is useful, too, both because you have running code and as examples of device drivers. You can compare the code to the hardware registers and better understand why specific choices are made in register bit selections.
The only reason I have not yet used this RTOS is we are on a tight deadline on a PIC24 project and I do not have time until the project is done. I have over 34 years experience in the computer field, with the last 25 in embedded systems.
As a student of computer and control systems engineering, I am constantly looking for good books based on microcontrollers and electronics. Most of the books that I have seen, up to this point, have neglected to mention several important components regarding either the software or hardware portions of microcontrollers causing me to find another book to supplement the previous book. In all, I wind up having to use 5 or 6 different books to get a full understanding of the microcontroller theory and operation. However, I recently came across the "Microcontrollers From Assembly to C Using the PIC24 Family" by Professors Robert Reece, J.W. Bruce, and Bryan Jones. This book encompasses all of what 6 books did for me. I certainly wished that I had came across this book first! The one thing that really struck the home run for me on this book was that it has/uses excellent examples. It details what each instruction does and literally points out what its function is -- and it does... read more
Fantastic book! Exactly as advertized.
By Carl H. Schell "C. Schell" - November 25, 2011
This book is better than I had hoped. The reading goes very fast and all examples seem very clear. The authors have a great way of making the Assembly more understandable...they first write a small snippet of code in C then re-create it line for line in Assembly. They then follow this up with a line-for-line explanation of what they have done and why. It is a fantastic book.
Cedric Price was one of the most visionary architects of the late twentieth century, taking a playful, interactive approach to his projects that was wholly lateral and completely unconventional. He ...